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" + } + } + } } 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