Install laravel via laravel installer windows xampp or wamp
Laravel 5 has new method to install via laravel installer on all operating systems like windows, ubuntu, mac etc and for xampp or wamp. installing laravel via laravel installer method on windows is much faster then composer. you will get a quickly installed laravel in few hands. there is only require few commands to install and will be instant install so it’s a quick method. Below i am sharing how to install laravel via laravel installer windows xampp and wamp. so why not give a hand to install A robust, secure, fast performance php framework and many more features you will get and more coming soon. This is the new version and you are getting a new installation feature so guess how fast work is going on updation.
Install laravel via laravel installer windows xampp/wamp steps :-
1. It’s requires Composer to manage its dependencies. so first need to download composer
2. After download composer, install composer on your system.
3. Run below command to check composer has installed successfully
# check composer working composer
4. After composer installed successfully we need to install laravel installer via composer so open windows command prompt and run below command to install.
# installing installer composer global require "laravel/installer=~1.1"
5. After install it’s installer we need to set PATH environment variable for setup PATH run below command
# setting up env path set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\Composer\vendor\bin
PATH :- path is a location where composer installed ” ~/.composer/vendor/bin” on Windows path should be used:
For test run command laravel to check you have path setuped correctly
# testing command laravel
Laravel command not found windows :-
This is an optional part if your above testing command not running correct. sometimes if you not setup the PATH correctly you will get Laravel command not found error on windows. for resolve laravel command not found error you need to setup your path environment variable correctly. many times we stuck this error so i am adding this part also. if you have setuped path variable right run command and you will get output success then keep continue with next step to successful installation.
6. Now We need to change directory where we want to install laravel so first change and go to your preferred location to install then run below command to install.
# installing laravel new laranew
Now you have done with Install laravel via laravel installer windows (xampp/wamp). and open url on http://localhost/laranew and bam.