-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
58 lines (58 loc) · 1.43 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
{
"name": "mvc-example",
"description": "Test project to create MVC application.",
"keywords": ["php", "mvc"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.2",
"ext-pdo": "*",
"ext-curl": "*",
"ext-json": "*",
"symfony/routing": "^4.3",
"symfony/http-foundation": "^4.3",
"symfony/yaml": "^4.3",
"vlucas/phpdotenv": "^3.4"
},
"authors": [
{
"name": "Constantine Kovalev",
"email": "zilich08@gmail.com",
"homepage": "https://kovalevcon.github.io/",
"role": "Web Developer"
}
],
"autoload": {
"psr-4": {
"App\\": "app/"
},
"files": [
"app/Core/global_functions.php"
]
},
"scripts": {
"copy-config": [
"php -r \"copy('.env.example', '.env');\""
],
"start-migrations": [
"php -f \"database/migrations/create_mvc_example_database.php\"",
"php -f \"database/change_name_of_database.php\"",
"php -f \"database/migrations/create_products_table.php\"",
"php -f \"database/migrations/create_orders_table.php\"",
"php -f \"database/migrations/create_order_products_table.php\""
],
"server-start": [
"php -S 127.0.0.1:8888 -t public"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"friendsofphp/php-cs-fixer": "^2.15",
"phpmd/phpmd": "^2.6"
}
}