Skip to content

Commit c95760b

Browse files
authored
remove notice on how to load the service provider because old versions of Laravel are no longer supported
1 parent c52decf commit c95760b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,6 @@ Via Composer
2121
composer require backpack/generators --dev
2222
```
2323

24-
For Laravel 7, 6 or 5.5+ - you're done.
25-
26-
For Laravel 5.4 or 5.3 you'll only want to use these generators for ```local``` development, so you don't want to update the ```production``` providers array in ```config/app.php```. Instead, add the provider in ```app/Providers/AppServiceProvider.php```, like so:
27-
28-
```php
29-
public function register()
30-
{
31-
if ($this->app->environment() == 'local') {
32-
// $this->app->register('Laracasts\Generators\GeneratorsServiceProvider'); // you're using Jeffrey way's generators, too, right?
33-
$this->app->register('Backpack\Generators\GeneratorsServiceProvider');
34-
}
35-
}
36-
```
37-
3824
## Usage
3925

4026
Open the console and enter one of the commands:

0 commit comments

Comments
 (0)