This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
55 lines (55 loc) · 1.84 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
{
"name": "the-code-genin/cradle",
"version": "2.0.0",
"description": "A PHP MVC API boiler plate built on Slim and open source components.",
"type": "project",
"license": "MIT",
"require": {
"php": "^7.2",
"twig/twig": "^2.11",
"vlucas/phpdotenv": "^4.1",
"slim/slim": "4.*",
"usmanhalalit/pixie": "2.*@dev",
"phpmailer/phpmailer": "~6.1",
"nesbot/carbon": "^2.30",
"robmorgan/phinx": "^0.11.4",
"vlucas/valitron": "^1.4",
"guzzlehttp/guzzle": "^6.5",
"nyholm/psr7": "^1.2",
"nyholm/psr7-server": "^0.4.1",
"lcobucci/jwt": "^4.1"
},
"autoload": {
"psr-4": {
"Controllers\\": "Controllers/",
"Database\\": "Database/",
"Lib\\": "Lib/",
"Middleware\\": "Middleware/",
"Validators\\": "Validators/"
}
},
"scripts": {
"migrate": "@migrate:run",
"migrate:run": "php vendor/bin/phinx migrate",
"migrate:create": "php vendor/bin/phinx create",
"migrate:rollback": "php vendor/bin/phinx rollback",
"migrate:clear": "php vendor/bin/phinx rollback -d 2000",
"migrate:refresh": [
"@migrate:clear",
"@migrate:run"
],
"migrate:status": "php vendor/bin/phinx status"
},
"scripts-descriptions": {
"migrate": "Run all your migrations.",
"migrate:run": "Run all your migrations.",
"migrate:create": "Create a migration.",
"migrate:rollback": "Rollback recent migration.",
"migrate:clear": "Rollback all your migrations.",
"migrate:refresh": "Rollback and remigrate.",
"migrate:status": "Show your migration status."
},
"config": {
"process-timeout": 0
}
}