CodeIgniter Laravel PHP Example HTML Javascript jQuery MORE Videos New

How to install Laravel

To install Laravel we need composer dependency tools.

First you have to install composer(if not installed) .To check composre is installed or not open terminal and execute the below command .


To install Laravel execute following command in terminal.

composer global require laravel/installer.

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. laravel new

Ex. laravel new myFstProject

Alternatively we can use composer to install laravel project using following command composer create-project --prefer-dist laravel/laravel ex. composer create-project --prefer-dist laravel/laravel myFstProject you can run you project using following command php artisan serve


php artisan

This command shows the list of all laravel relatated command laravel uses blade templating engine for view Blade is laravel templating engine