-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
34 lines (34 loc) 路 856 Bytes
/
Copy pathcomposer.json
File metadata and controls
34 lines (34 loc) 路 856 Bytes
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
{
"name": "farrelad/basic-php-restful-api",
"description": "Basic RESTful API in PHP",
"type": "project",
"license": "MIT",
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"dev": "php -S localhost:8000 -t public",
"test": "phpunit",
"lint": "phpcs",
"format": "php-cs-fixer fix --dry-run --diff --verbose",
"format:fix": "php-cs-fixer fix",
"analyse": "phpstan analyse"
},
"require": {
"php": ">=8.3",
"vlucas/phpdotenv": "^5.6"
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"squizlabs/php_codesniffer": "^3.10",
"friendsofphp/php-cs-fixer": "^3.60",
"phpstan/phpstan": "^2.0"
}
}