Skip to content

Commit 5f1a255

Browse files
committed
let create-project of composer work
1 parent 741b2b4 commit 5f1a255

File tree

1 file changed

+27
-12
lines changed

1 file changed

+27
-12
lines changed

composer.json

+27-12
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
11
{
2-
"name": "laravel/laravel",
3-
"description": "The Laravel Framework.",
4-
"keywords": ["framework", "laravel"],
2+
"name": "unisharp/laravel-filemanager-example-5.3",
3+
"description": "A file upload/editor intended for use with Laravel 5 and CKEditor / TinyMCE",
4+
"keywords": [
5+
"filemanager",
6+
"laravel",
7+
"ckeditor",
8+
"tinymce",
9+
"upload",
10+
"file",
11+
"manager",
12+
"image"
13+
],
14+
"authors": [
15+
{
16+
"name": "Trevor Sawler",
17+
"email": "trevor.sawler@gmail.com"
18+
},
19+
{
20+
"name": "UniSharp Ltd.",
21+
"email": "unisharp-service@unisharp.com"
22+
}
23+
],
524
"license": "MIT",
6-
"type": "project",
725
"require": {
826
"php": ">=5.6.4",
927
"laravel/framework": "5.3.*",
@@ -17,6 +35,10 @@
1735
"symfony/css-selector": "3.1.*",
1836
"symfony/dom-crawler": "3.1.*"
1937
},
38+
"suggest": {
39+
"ext-gd": "to use GD library based image processing.",
40+
"ext-imagick": "to use Imagick based image processing."
41+
},
2042
"autoload": {
2143
"classmap": [
2244
"database"
@@ -31,15 +53,8 @@
3153
]
3254
},
3355
"scripts": {
34-
"post-root-package-install": [
35-
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
36-
],
37-
"post-create-project-cmd": [
38-
"php artisan key:generate"
39-
],
4056
"post-install-cmd": [
41-
"Illuminate\\Foundation\\ComposerScripts::postInstall",
42-
"php artisan optimize"
57+
"make init"
4358
],
4459
"post-update-cmd": [
4560
"Illuminate\\Foundation\\ComposerScripts::postUpdate",

0 commit comments

Comments
 (0)