Skip to content

Instantly share code, notes, and snippets.

@nosajhpled
Last active May 28, 2019 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nosajhpled/102a34cd6390d20fec28a7222d592d66 to your computer and use it in GitHub Desktop.
Save nosajhpled/102a34cd6390d20fec28a7222d592d66 to your computer and use it in GitHub Desktop.
Controller with all resources:
php artisan make:controller {ControllerName} --resource
Controller / Model / Migration
php artisan make:model {ModelName} -crm
Seed
php artisan make:seeder {ModelName}Seeder
Run Seed:
php artisan db:seed --class={ModelName}Seeder;
Create Deafult Authorization
php artisan make:auth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment