forked from maurobonfietti/rest-api-slim-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
67 lines (67 loc) · 1.91 KB
/
Copy pathcomposer.json
File metadata and controls
67 lines (67 loc) · 1.91 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
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": "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": "mauro.bonfietti@gmail.com",
"homepage": "https://github.com/maurobonfietti"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.3",
"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": "^1.14",
"pestphp/pest": "^0.1.5",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^9.0",
"rector/rector": "^0.7.26"
},
"config": {
"sort-packages": true,
"process-timeout": 0,
"platform": {
"php": "7.3.20"
}
},
"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=6",
"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"
}
}