forked from maurobonfietti/slim4-api-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
63 lines (63 loc) · 1.75 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
{
"name": "maurobonfietti/slim4-api-skeleton",
"description": "Useful skeleton for RESTful API development, using PHP and Slim 4.",
"keywords": [
"php",
"slim-micro-framework",
"rest-api",
"mysql",
"slim4",
"slim",
"rest",
"api"
],
"homepage": "https://github.com/maurobonfietti/slim4-api-skeleton",
"license": "MIT",
"authors": [
{
"name": "Mauro Bonfietti",
"email": "[email protected]",
"homepage": "https://github.com/maurobonfietti"
}
],
"require": {
"php": "^7.3",
"pimple/pimple": "^3.2",
"slim/psr7": "^0.5.0",
"slim/slim": "^4.5",
"vlucas/phpdotenv": "^5.1"
},
"require-dev": {
"maurobonfietti/skel-api-slim-php-crud-generator": "dev-master",
"nunomaduro/phpinsights": "^1.14",
"phpunit/phpunit": "^9.0",
"symfony/console": "^4.4"
},
"config": {
"platform": {
"php": "7.3.20"
},
"sort-packages": true,
"process-timeout": 0
},
"autoload": {
"psr-4": {
"App\\": "src/",
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php post-create-project-command.php"
],
"coverage": "phpunit --coverage-text --coverage-html coverage",
"crud": "php console api:generate:endpoints",
"down": "docker-compose down",
"start": "php -S localhost:8080 -t public public/index.php",
"test": "phpunit",
"up": "docker-compose up -d --build"
}
}