Skip to content

Commit d43f549

Browse files
author
Admin
committed
Update README.md for lumen usage
1 parent a92838b commit d43f549

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
@@ -13,10 +13,17 @@ Library for [laravel-crud-wizard-free](https://github.com/macropay-solutions/lar
1313
``` composer require macropay-solutions/laravel-crud-wizard-generator --dev ```
1414

1515

16-
2\. Publish the provider:
16+
2\. Publish the provider in laravel:
1717

1818
``` php artisan vendor:publish --provider="MacropaySolutions\LaravelCrudWizardGenerator\LaravelCrudWizardGeneratorServiceProvider" ```
1919

20+
or in lumen add in bootstrap/app.php
21+
22+
```php
23+
if (\env('APP_ENV') === 'local') {
24+
$app->register(\MacropaySolutions\LaravelCrudWizardGenerator\LaravelCrudWizardGeneratorServiceProvider::class);
25+
}
26+
```
2027

2128
## Usage
2229

0 commit comments

Comments
 (0)