-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
76 lines (76 loc) · 2.06 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "dbout/wp-orm",
"description": "WordPress ORM with Eloquent and Phinx.",
"type": "package",
"license": "MIT",
"authors": [
{
"name": "Dimitri BOUTEILLE",
"email": "[email protected]",
"homepage": "https://github.com/dimitriBouteille",
"role": "Developer"
}
],
"keywords": ["wordpress", "wp", "orm", "database", "eloquent", "db", "sql", "migration", "phinx"],
"homepage": "https://github.com/dimitriBouteille/wp-orm",
"support": {
"issues": "https://github.com/dimitriBouteille/wp-orm/issues",
"source": "https://github.com/dimitriBouteille/wp-orm/"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.1",
"robmorgan/phinx": "^0.12.5",
"illuminate/database": "^10.0"
},
"suggest": {
"illuminate/events": "Add events to your models"
},
"autoload": {
"files": [
"src/includes/migrations.php"
],
"psr-4": {
"Dbout\\WpOrm\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Dbout\\WpOrm\\Tests\\": "tests/"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.28",
"phpstan/phpstan": ">=1.10.59",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/extension-installer": "^1.3",
"rector/rector": "^1.0",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpunit/phpunit": "^9.6",
"yoast/phpunit-polyfills": "^2.0",
"roots/wordpress": "^6.5"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true,
"roots/wordpress-core-installer": true
}
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
},
"wordpress-install-dir": "web/wordpress"
},
"scripts": {
"rector": "vendor/bin/rector process src --dry-run",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon",
"test:unit": "vendor/bin/phpunit --no-coverage",
"test:wordPress": "vendor/bin/phpunit -c phpunit-wp.xml --no-coverage",
"csFixer": "vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
"fix:csFixer": "vendor/bin/php-cs-fixer fix"
}
}