Laravel 6 CRUD
1 min readNov 14, 2019
Step 1: Install Laravel 6
first of all, we need to get fresh Laravel 6 version application using bellow command, So open your terminal OR command prompt and run bellow command:
laravel new laravel_blog
Step 2: Database Configuration
Open laravel_blog and set hostname, username, password and database name in .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_blog
DB_USERNAME=root
DB_PASSWORD=root
Step 3: Create Migration
Now we are going to create a blog. so we have to create a migration for “blogs” table in laravel 6 php artisan command.
php artisan make:migration create_blogs_table --create=blogs
Read More: https://realprogrammer.in/laravel-6-crud/