Install laravel 5 on window 7
Posted on 2015-04-10 09:06:09
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 4. After composer installed successfully we need to install laravel installer via composer so open windows command prompt and run below command to install.
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
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: “C:\Users\\AppData\Roaming\Composer\vendor\bin” so in above command added “%USERPROFILE%” so this will auto get your computer name
Test with laravel. You can typing with laravel, if you install successful you can see result. 6. Create new application with laravel. Go to folder which you want to create folder demo at there.
laravel new demo_project