-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
67 lines (67 loc) · 1.86 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
{
"name": "dbout/wp-module-rest-api",
"description": "Quickly add routes to the WordPress Rest API.",
"type": "package",
"license": "MIT",
"authors": [
{
"name": "Dimitri BOUTEILLE",
"email": "[email protected]",
"homepage": "https://github.com/dimitriBouteille",
"role": "Developer"
}
],
"keywords": ["wordpress", "wp", "wordpress-starter", "api", "rest", "rest-api", "wordpress-rest-api", "wordpress-development"],
"homepage": "https://github.com/dimitriBouteille/wp-module-rest-api",
"support": {
"issues": "https://github.com/dimitriBouteille/wp-module-rest-api/issues",
"source": "https://github.com/dimitriBouteille/wp-module-rest-api"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.1",
"psr/cache": "^1.0|^2.0|^3.0"
},
"autoload": {
"psr-4": {
"Dbout\\WpRestApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Dbout\\WpRestApi\\Tests\\": "tests/"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.57",
"phpstan/phpstan": "^1.11",
"rector/rector": "^1.1",
"phpunit/phpunit": "^10.5",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/extension-installer": "^1.3",
"szepeviktor/phpstan-wordpress": "^1.3",
"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",
"phpunit": "vendor/bin/phpunit",
"csFixer": "vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
"fix:csFixer": "vendor/bin/php-cs-fixer fix"
}
}