LARAVEL BASIC COMMANDS

PHOTO EMBED

Thu Jul 28 2022 15:12:12 GMT+0000 (Coordinated Universal Time)

Saved by @patdevwork

sail artisan make:controller --help
sail artisan make:controller WelcomeController // follow the naming convention

sail artisan make:migration create_students_table // creates a new table in laravel and to enforce it to mysql
sail artisan migrate // creates all table in the migration folder

sail artisan make:model Student // models should be singular

// install breeze for login and registration
sail composer require laravel/breeze --dev
// to add the route, views etc
sail artisan breeze:install

sail artisan make:controller NoteController --resource // creates a resource controller so you can make a resource route automatically
content_copyCOPY