-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
42 lines (42 loc) · 1.12 KB
/
composer.json
File metadata and controls
42 lines (42 loc) · 1.12 KB
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
{
"name": "schentrup-software/php-api",
"description": "A basic api framework for PHP. It uses classes for request and responses to make a self documenting API.",
"keywords": [
"API",
"Framewaork",
"REST"
],
"license": "MIT",
"authors": [
{
"name": "joeySchentrup",
"email": "joey@schentrupsoftware.com"
}
],
"type": "library",
"require": {
"php": ">=8.1",
"pmjones/auto-route": "^2.0",
"sapien/sapien": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "8.*",
"phan/phan": "^5.4",
"friendsofphp/php-cs-fixer": "^3.9"
},
"autoload": {
"psr-4": {
"PhpApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpApi\\Test\\": "tests/"
}
},
"scripts": {
"analyse": "((PHAN_DISABLE_XDEBUG_WARN=1 PHAN_ALLOW_XDEBUG=0 vendor/bin/phan) && echo 'Phan found no errors!') 2> /dev/null",
"lint": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix src",
"test": "vendor/bin/phpunit --testdox tests"
}
}