Quick facts
What is CodeIgniter ? CodeIgniter also php frameworkWhat is Laravel ? Ans Laravel is a high performance php frameworkWhat is php ? php is a hypertext pre processor

How to Install Laravel

How to Install Laravel

Steps for Installing Laravel

Three simple steps can be followed to install Laravel:

  1. install XAMPP to get PHP and MySQL.
  2. Download and install Composer.
  3. Install Laravel with Composer.  

How to Install Laravel

1. Open the Terminal

Installing PHP and Composer makes it easy to get started with a Laravel project.


2. Create a Laravel Project

To create a new project under the my-app folder (or any other project name you choose), run the command below.

1
composer create-project laravel/laravel my-app

This will download all the necessary Laravel files for this project.

3. Start the Development Server

Following the creation of the application, use the following commands to launch your development server while coding into my-app:

1
cd my-app
2
php artisan serve

4.  Browse to Your New Laravel App

We are done setting up the environment. Your Laravel development server should be reachable at https://localhost:8000.



Next Steps

You've now successfully installed Laravel and launched your first application. But this is just the beginning! You can now learn how to create websites and applications using this robust and user-friendly framework.

Alamin

Web developer. I write down the bugs I hit and how I fixed them.

Comments

Did this work for you, or did you hit something different? Leave a note.

Keep reading

Related notes