Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create Controller With Method
- php artisan make:controller Backend/DashboardController --resource --model=Dashboard
- Create Model
- php artisan make:model User
- Create DataTable ( if Laravel Yajra Package Installed )
- php artisan datatables:make UserDataTable
- Create Validation File
- php artisan make:request User/StoreUserRequest
- Create a custom validation rule
- make:rule RuleName
- Create Mail Template
- php artisan make:mail User/ResetPasswordEmail
- Create Observer ( in Model Action Reaction )
- php artisan make:observer UserObserver --model=User
- Create Notification
- php artisan notifications:table
- Create
- php artisan make:model MobileUser -a
- | Option | Description |
- | ---------------------- | --------------------------------------------------- |
- | `-m` or `--migration` | Create a migration file |
- | `-c` or `--controller` | Create a controller |
- | `-r` or `--resource` | Create a resource controller |
- | `-f` or `--factory` | Create a factory |
- | `-s` or `--seed` | Create a seeder |
- | `-a` or `--all` | Generate migration, factory, seeder, and controller |
- Check Route File list
- php artisan route:list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement