-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
composer.json
69 lines (69 loc) · 1.89 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
{
"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": "mauro.bonfietti@gmail.com",
"homepage": "https://github.com/maurobonfietti"
}
],
"require": {
"php": "^8.1",
"ext-pdo": "*",
"ext-json": "*",
"pimple/pimple": "^3.2",
"slim/psr7": "^1.4.0",
"slim/slim": "^4.5",
"vlucas/phpdotenv": "^5.1"
},
"require-dev": {
"maurobonfietti/skel-api-slim-php-crud-generator": "dev-master",
"nunomaduro/phpinsights": "^2.0",
"phpunit/phpunit": "^9.0",
"symfony/console": "^4.4"
},
"config": {
"sort-packages": true,
"process-timeout": 0,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"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"
}
}