-
-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathcomposer.json
73 lines (73 loc) · 2.2 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
{
"name": "maurobonfietti/rest-api-slim-php",
"description": "Example of REST API with Slim PHP Framework.",
"keywords": [
"php",
"slim-micro-framework",
"rest-api",
"mysql",
"slim3",
"slim",
"rest",
"api"
],
"homepage": "https://github.com/maurobonfietti/rest-api-slim-php",
"license": "MIT",
"authors": [
{
"name": "Mauro Bonfietti",
"email": "[email protected]",
"homepage": "https://github.com/maurobonfietti"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.0",
"composer/composer": "^2.0",
"firebase/php-jwt": "^5.0",
"palanik/corsslim": "dev-slim3",
"predis/predis": "^1.1",
"respect/validation": "^1.1",
"slim/slim": "^3.12.3",
"vlucas/phpdotenv": "^5.1"
},
"require-dev": {
"nunomaduro/phpinsights": "^2.0",
"pestphp/pest": "^1.7",
"phpstan/phpstan": "^1.2",
"phpunit/phpunit": "^9.0",
"rector/rector": "^0.12.4",
"vimeo/psalm": "^5.14"
},
"config": {
"sort-packages": true,
"process-timeout": 0,
"allow-plugins": {
"pestphp/pest-plugin": true,
"composer/package-versions-deprecated": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"symfony/thanks": true
}
},
"autoload": {
"psr-4": {
"App\\": "src/",
"Tests\\": "tests/"
}
},
"scripts": {
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php extras/bin/post-create-project-command.php"
],
"coverage": "phpunit --coverage-html=coverage --coverage-text",
"database": "php extras/bin/restart-db.php",
"phpstan": "./vendor/bin/phpstan analyse src tests --level=max",
"phpinsights": "./vendor/bin/phpinsights -v",
"restart": "php extras/bin/restart-db.php",
"restart-db": "php extras/bin/restart-db.php",
"start": "php -S localhost:8080 -t public public/index.php",
"test": "phpunit"
}
}