Skip to content

Commit 3dc8e28

Browse files
committed
Merge branch 'auto-discover' into 'master'
update readme See merge request components/laravel-entity-generator!76
2 parents b342a3d + ebf8895 commit 3dc8e28

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

ReadMe.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@ Laravel-Entity-Generator - This generator is used to create a standard class sta
88
composer require ronasit/laravel-entity-generator: 1.*
99
```
1010

11-
Add `RonasIT\Support\EntityGeneratorServiceProvider::class` to `app/config/app.php`,
12-
into 'providers' variable. And publish.
11+
If you're on Laravel 5.5 or later the package will be auto-discovered.
12+
Otherwise you will need to manually configure it in your config/app.php.
13+
14+
```php
15+
'providers' => [
16+
// ...
17+
RonasIT\Support\EntityGeneratorServiceProvider::class,
18+
],
19+
```
20+
21+
And publish.
1322

1423
```bash
1524
php artisan vendor:publish

0 commit comments

Comments
 (0)