Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
awais-vteams authored Mar 17, 2024
1 parent 6e5841f commit 928a8cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
Expand All @@ -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.

Expand All @@ -48,11 +48,11 @@ php artisan make:crud {table_name} --route={route_name}
## Example

*Model*
![Model](https://i.imgur.com/zTSoYvJ.png)
<img width="100%" alt="image" src="https://github.com/awais-vteams/laravel-crud-generator/assets/10154558/6b3c3dc1-a983-4893-a45c-94dbb8da50fc">


*Controller*
![Controller](https://i.imgur.com/G1ytmcL.png)
<img width="100%" alt="image" src="https://github.com/awais-vteams/laravel-crud-generator/assets/10154558/6a7948ed-90b7-46f9-a8b3-abb56fe0fb71">


*Listing*
Expand Down

0 comments on commit 928a8cd

Please sign in to comment.