-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
54 lines (54 loc) · 1.56 KB
/
composer.json
File metadata and controls
54 lines (54 loc) · 1.56 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
{
"name": "codedev/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",
"php-di",
"skeleton"
],
"license": "MIT",
"require": {
"coderlrv/nquery": "dev-master",
"illuminate/database": "^6.15",
"monolog/monolog": "^2.0",
"php-di/slim-bridge": "dev-master",
"robmorgan/phinx": "^0.11.4",
"selective/config": "^0.1.1",
"slim/psr7": "^0.5.0",
"slim/slim": "^4.4",
"tuupola/slim-jwt-auth": "^3.4",
"vlucas/phpdotenv": "^2.4"
},
"require-dev": {
"maurobonfietti/skel-api-slim-php-crud-generator": "^0.5",
"phpunit/phpunit": "^8.0",
"symfony/console": "^3.3"
},
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/",
"Database\\":"database/",
"Tests\\": "tests/"
}
},
"scripts": {
"create-migration": "phinx create -c ./src/config/phinx.php --ansi",
"migrate": "phinx migrate -c ./src/config/phinx.php --ansi",
"coverage": "phpunit --coverage-text --coverage-html coverage",
"crud": "php console api:generate:endpoints",
"down": "docker-compose down",
"start": "php -S 0.0.0.0:8080 -t public public/index.php",
"test": "phpunit",
"up": "docker-compose up -d --build"
}
}