diff --git a/README.md b/README.md index 0370d0e..a0ae9c0 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ![StyleCI](https://img.shields.io/badge/StyleCI-pass-green.svg?style=flat-square) -This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in **Bootstrap** for your development of your applications with single command. +This Laravel Generator package provides and generates Controller, Model (with eloquent relations), and Views in **Bootstrap** for your development of your applications with a single command. - Will create **Model** with Eloquent relations - Will create **Controller** with all resources @@ -21,7 +21,7 @@ This Laravel Generator package provides and generate Controller, Model (with elo ``` composer require ibex/crud-generator --dev ``` -2- Publish the default package's config +2- Publish the default package's config (optional) ``` php artisan vendor:publish --tag=crud ``` @@ -35,7 +35,7 @@ php artisan make:crud banks Add a route in `web.php` ``` -Route::resource('banks', 'BankController'); +Route::resource('banks', BankController::class); ``` Route name in plural slug case. @@ -48,11 +48,11 @@ php artisan make:crud {table_name} --route={route_name} ## Example *Model* -![Model](https://i.imgur.com/zTSoYvJ.png) +image *Controller* -![Controller](https://i.imgur.com/G1ytmcL.png) +image *Listing*