Skip to content

Commit 624f550

Browse files
Create composer.json
1 parent c49ccce commit 624f550

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

composer.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "laravel/laravel",
3+
"description": "The Laravel Framework.",
4+
"keywords": ["framework", "laravel"],
5+
"license": "MIT",
6+
"type": "project",
7+
"require": {
8+
"php": ">=5.6.4",
9+
"laravel/framework": "5.4.*",
10+
"laravel/tinker": "~1.0"
11+
},
12+
"require-dev": {
13+
"fzaninotto/faker": "~1.4",
14+
"mockery/mockery": "0.9.*",
15+
"phpunit/phpunit": "~5.7"
16+
},
17+
"autoload": {
18+
"classmap": [
19+
"database"
20+
],
21+
"psr-4": {
22+
"App\\": "app/"
23+
}
24+
},
25+
"autoload-dev": {
26+
"psr-4": {
27+
"Tests\\": "tests/"
28+
}
29+
},
30+
"scripts": {
31+
"post-root-package-install": [
32+
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
33+
],
34+
"post-create-project-cmd": [
35+
"php artisan key:generate"
36+
],
37+
"post-install-cmd": [
38+
"Illuminate\\Foundation\\ComposerScripts::postInstall",
39+
"php artisan optimize"
40+
],
41+
"post-update-cmd": [
42+
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
43+
"php artisan optimize"
44+
]
45+
},
46+
"config": {
47+
"preferred-install": "dist",
48+
"sort-packages": true
49+
}
50+
}

0 commit comments

Comments
 (0)