Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Commit 4f28bd2

Browse files
committed
Add documentation details about package discovery.
1 parent e9d4c75 commit 4f28bd2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ composer require chstudio/laravel-transclude
2929

3030
After updating composer, add the `ServiceProvider` to the providers array in `config/app.php`.
3131

32-
### Laravel 5.x:
32+
### Laravel 5.5+
33+
34+
This library is compatible with the package auto-discovery feature so you have nothing to do...
35+
If you prefer adding yourself your providers, please follow the [official documentation guidelines](https://laravel.com/docs/5.5/packages#package-discovery).
36+
37+
### Laravel <5.5:
38+
39+
Add this in the `providers` section of the `config/app.php` file :
3340

3441
```php
3542
CHStudio\LaravelTransclude\TranscludeServiceProvider::class,

0 commit comments

Comments
 (0)