Skip to content

Commit 0bc1316

Browse files
committed
Revert "let create-project of composer work"
This reverts commit 5f1a255.
1 parent 5f1a255 commit 0bc1316

File tree

1 file changed

+12
-27
lines changed

1 file changed

+12
-27
lines changed

composer.json

+12-27
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,9 @@
11
{
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-
],
2+
"name": "laravel/laravel",
3+
"description": "The Laravel Framework.",
4+
"keywords": ["framework", "laravel"],
245
"license": "MIT",
6+
"type": "project",
257
"require": {
268
"php": ">=5.6.4",
279
"laravel/framework": "5.3.*",
@@ -35,10 +17,6 @@
3517
"symfony/css-selector": "3.1.*",
3618
"symfony/dom-crawler": "3.1.*"
3719
},
38-
"suggest": {
39-
"ext-gd": "to use GD library based image processing.",
40-
"ext-imagick": "to use Imagick based image processing."
41-
},
4220
"autoload": {
4321
"classmap": [
4422
"database"
@@ -53,8 +31,15 @@
5331
]
5432
},
5533
"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+
],
5640
"post-install-cmd": [
57-
"make init"
41+
"Illuminate\\Foundation\\ComposerScripts::postInstall",
42+
"php artisan optimize"
5843
],
5944
"post-update-cmd": [
6045
"Illuminate\\Foundation\\ComposerScripts::postUpdate",

0 commit comments

Comments
 (0)