How to configure and install XAMPP,  Composer, Laravel Github

We can follow this documentation in order to run Laravel Project. 

XAMPP is a free and open-source cross-platform web server solution stack package, XAMPP is an abbreviation for cross-platform, Apache, MySQL, PHP and Perl, and it allows you to build WordPress site offline, on a local web server on your computer. This simple and lightweight solution works on Windows, Linux, and Mac.


Composer is a tool for dependency management in PHP. It allows you to declare the libraries of your project. Composer is NOT a package manager as Yum or Apt are. It basically deals with "packages" or libraries; it helps you to manage them on project basis.

Laravel is a free,open-source PHP web framework, created by "Taylor Otwell" for the development of web applications.

GitHub is a web-based hosting service for version control using git. It is mostly used for computer code. It offers all of the distributed version control and source code management functionality of Git as well as adding its own features.

Step to run your Laravel Project.

1.     Download or clone your project from Github

2. Go to the folder application using cd command

3. Run composer install command on your cmd or terminal

4. Copy .env.example file to .env on root folder.

   You can type copy .env.example .env if using command prompt Windows

   or cp .env.example .env if using terminal Ubuntu

5. Open your .env file and specify the database name (DB_DATABASE), username name, and password.

6. Run php artisan key:generate

Add the key in your .env file


7. Run php artisan migrate

8. Run php artisan serve

Previous Post
Next Post
Related Posts