Lecture 6
Quiz 1
1. What is the command to install Laravel via Composer.
2. After creating a new Laravel project, what is the default
directory structure created
3. Which command starts the Laravel development server.
4. What is the default port number used by the Laravel
development server.
5. To create a new controller in Laravel, which command would
you use.
Quiz 1
1. composer create-project --prefer-dist laravel/laravel
2. app,public,resources,routes.
3. php artisan serve.
4. 8000.
5. php artisan make:controller
Setting up Laravel Environment
Setting up Laravel Environment
Setting up Laravel Environment
Database Migration
1. Generating Database
Database Migration
2. Squashing Database
Migration structure
Up and down
Migration structure
Migration structure