Just type in terminal `$ php artisan make:crud ModelName` command, it will create simple Laravel CRUD files of given **model name** completed with tests.
Just type in terminal `$ php artisan make:crud ModelName` command, it will create simple Laravel CRUD files of given **model name** completed with tests.
For example we want to create CRUD for '**App\Vehicle**' model.
For example we want to create CRUD for '**App\Models\Vehicle**' model.
```bash
```bash
$ php artisan make:crud-simple Vehicle
$ php artisan make:crud-simple Vehicle
@ -106,27 +111,34 @@ Then visit our application url: `http://localhost:8000/vehicles`.
<br>
<br>
#### Usage on Fresh Install Laravel 7.x
#### Usage on Fresh Install Laravel 8.x
In this example, we are using the [laravel installer](https://packagist.org/packages/laravel/installer) package to install new laravel project.
In this example, we are using the [laravel installer](https://packagist.org/packages/laravel/installer) package to install new laravel project.
```bash
```bash
# This is example commands for Ubuntu users.
# This is example commands for Ubuntu users.
$ laravel new --auth project-directory
$ laravel new project-directory
$ cd project-directory
$ cd project-directory
$ composer require laravel/ui
$ php artisan ui bootstrap --auth
$ npm install && npm run dev # Might need to run twice, minimum requirement: NodeJS v12.x
$ vim .env # Edit your .env file to update database configuration
$ vim .env # Edit your .env file to update database configuration