Watch Youtube Video (HINDI) :
now you can follow the below steps
Step 1 : You can copy this command and put into your command prompt.
composer create-project --prefer-dist laravel/laravel blog
Step 2 : Go to the folder where the file is installed.
cd blog
Step 3 : Install the composer.
Now, In this step install composer of your project directory.
composer install
Step 4 : Copy .env.example file and rename to .env
copy .env.example .env
Step 5 : In this step generate key of your project.
Following this command.
php artisan key:generate
Step 6 : Now create database into phpmyadmin and set your database into the .env file
DB_DATABASE='Your DB Name' DB_USERNAME='root' DB_PASSWORD='Your DB Password'
Step 7 : Migrate your database follow the command.
php artisan migrate
Step 8 : Now Setup is done follow with the command.
php artisan serve
After fire this command showing message in command promt.
Laravel development server started: <http://127.0.0.1:8000>
So Finally open your browser and type in url localhost:8000
you can't understand follwing step properly can also download code from GitHub
We always thanks to you for reading our blogs.
Dharmesh Chauhan
(Swapinfoway Founder)Hello Sir, We are brothers origin from Gujarat India, Fullstack developers working together since 2016. We have lots of skills in web development in different technologies here I mention PHP, Laravel, Javascript, Vuejs, Ajax, API, Payment Gateway Integration, Database, HTML5, CSS3, and Server Administration. So you need our service Please Contact Us
Haresh Chauhan
(Co-Founder)We Are Also Recommending You :
- How to Send Mail using PHPMailer in Laravel?
- Error : The MAC is invalid Question's And Solutions [Solved]
- How To Insert Big Data In The Database Laravel?
- How To Convert HTML To Image/PDF Using Snappy In Laravel 9
- How To Add After Validation Hook In Laravel Example
- How To Add Google reCAPTCHA v3 In HTML Form Based PHP/Laravel Website
- resize image and upload example laravel intervention
- intervention/image change image format laravel tutorial
- Laravel 12 React Authentication Tutorial (Login & Register with Sanctum 2026)
- Laravel Pagination Not Working While Using Map Method [solved]