LARAVEL TUTORIAL

Laravel installation

Written by admin

Today we will read about Laravel installation in this tutorial. How to install Laravel in your computer.
First of all, we installed Composer in our computer. You can download composer download from here (https://getcomposer.org/download/) After downloading, you can install step by step.
When the composer is installed. Then you open the cmd command. And check that our composer is not installed. The command to check (C:\Users\shiv>composer -v).

the following command there to install Laravel.
composer create-project laravel/laravel test

After the composer is installed, then we will open cmd. And set the path of the local server. inside xampp inside htdocs.
(C: \ xampp \ htdocs) and the Laravel command composer create-project laravel / laravel test (test mean is the name of the project)

C:\xampp\htdocs>composer create-project laravel/laravel test
start project command
php artisan serve

You see Laravel is installed. And to start it, open the cmd command and go to the path of the project you created. And run this command (php artisan serve)

C:\xampp\htdocs\test>php artisan serve

Copy this URL (http://127.0.0.1:8000) and hit it in the browser.

About the author

admin

Hi there! I'm Shiv Gupta. I specialized in building Websites. I write blogs in my free time. I really like to find out and share my knowledge with others.I founded ThePhpConcept in March 2020. I started this blog in order that I can interact with some like-minded people and also help people learning PHP, Mysql, jQuery, Html, and PHP Projects and related technologies.
Support-thephpconcept@gmail.com

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.