How to install Laravel

To install Laravel we need composer dependency tools.
First, you have to install composer(if not installed) https://getcomposer.org/ .To check the composer is installed or not open the terminal and execute the composer command.


To install Laravel execute the following command in terminal.


The above command install all dependency of laravel.It will take some time. After complete the execution of above command you can create laravel project using following command.


Alternatively we can use composer to install laravel project using following command.


Use php artisan serve command in your project root directory to use PHP's build-in development server to serve your application.

2 comments:

Powered by Blogger.