Thursday, October 26, 2017

Install Laravel

1st : we have to chick composer is available on my PC  yes or not.

How to install a composer: 
1st composer is a Dependency Manager for PHP.
go to getcomposer.org > click on download > download Composer-Setup.exe  file. 

Installation process: 
Run this exe file and select a proper path
path will be php.exe file what you can find it on your homeserver php folder> php.exe.
no another configuration is required. only next next next.

How to check Composer is available on your PC or not:
open terminal and write composer 
You can see composer configuration all documents then you can sure that composer is running on your pc. 

Install laravel:
go to htdocs and open terminal and write composer create-project laravel/laravel your-project-name
(please don't create a folder on htdocs) you have install laravel only htdocs folder 
check this one and go to your project name folder you can see public folder run on your browser through localhost you can see laravel page 


That's it.

Thank You.

0 comments:

Post a Comment