How To Clone Laravel

  • 16-03-2022
  • 953
  • Laravel 6
  • Haresh Chauhan

Watch Youtube Video (HINDI) :
Before doing this task required PHP version 7.2 minimum required.
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_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: <>

So Finally open your browser and type in url localhost:8000

you can't understand follwing step properly can also download code from GitHub

Youtube video

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


We Are Also Recommending You :