From 4f28bd2e2a8709aeb561eadf023264b42856778c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20HULARD?= Date: Wed, 30 Aug 2017 18:43:44 +0200 Subject: [PATCH] Add documentation details about package discovery. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 663db5b..07eaa35 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,14 @@ composer require chstudio/laravel-transclude After updating composer, add the `ServiceProvider` to the providers array in `config/app.php`. -### Laravel 5.x: +### Laravel 5.5+ + +This library is compatible with the package auto-discovery feature so you have nothing to do... +If you prefer adding yourself your providers, please follow the [official documentation guidelines](https://laravel.com/docs/5.5/packages#package-discovery). + +### Laravel <5.5: + +Add this in the `providers` section of the `config/app.php` file : ```php CHStudio\LaravelTransclude\TranscludeServiceProvider::class,