From e592a11b459d0c043e7b301fffefbf7dffed4b53 Mon Sep 17 00:00:00 2001 From: gwleuverink Date: Wed, 21 Jun 2017 09:27:05 +0200 Subject: [PATCH 1/2] added package auto discovery for L5.5 and up --- composer.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9ff16f50..58854a30 100644 --- a/composer.json +++ b/composer.json @@ -42,5 +42,16 @@ "Unisharp\\Laravelfilemanager\\": "src/" } }, - "bin": ["bin/debug"] + "bin": ["bin/debug"], + "extra": { + "laravel": { + "providers": [ + "Unisharp\\Laravelfilemanager\\LaravelFilemanagerServiceProvider", + "Intervention\\Image\\ImageServiceProvider" + ], + "aliases": { + "Image": "Intervention\\Image\\Facades\\Image" + } + } + } } From 5745fa9e4519d0eb3c3e679e13df712f6adb29d3 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Wed, 21 Jun 2017 09:54:22 +0200 Subject: [PATCH 2/2] Update installation.md Added package auto discovery note --- docs/installation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index b895ba23..cec162f6 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -14,6 +14,8 @@ 1. Edit `config/app.php` : + \* *For Laravel 5.5 and up, skip to step 3. All service providers and facades are automatically discovered.* + Add service providers ```php