-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
72 lines (72 loc) · 2.14 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
{
"name": "fernandocalmet/php-slim-rest-api",
"description": "Rest API with Slim PHP Framework",
"keywords": [
"php",
"slim-micro-framework",
"rest-api",
"mysql",
"slim3",
"slim",
"rest",
"api"
],
"homepage": "https://github.com/fernandocalmet/php-slim-rest-api",
"license": "MIT",
"authors": [
{
"name": "Fernando Calmet",
"email": "[email protected]",
"homepage": "https://github.com/fernandocalmet"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.0",
"composer/composer": "^2.0",
"firebase/php-jwt": "^6.0",
"monolog/monolog": "^2.0@dev",
"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": "^4.18"
},
"config": {
"sort-packages": true,
"process-timeout" : 0,
"allow-plugins": {
"pestphp/pest-plugin": true,
"composer/package-versions-deprecated": true,
"dealerdirect/phpcodesniffer-composer-installer": 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",
"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"
}
}