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

Commit

Permalink
Add documentation details about package discovery.
Browse files Browse the repository at this point in the history
  • Loading branch information
shulard committed Aug 30, 2017
1 parent e9d4c75 commit 4f28bd2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -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,
Expand Down

0 comments on commit 4f28bd2

Please sign in to comment.