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_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

Youtube video


We always thanks to you for reading our blogs.


dharmesh-image

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-image

Haresh Chauhan

(Co-Founder)


We Are Also Recommending You :