Four simple steps to install laravel on windows machine:
- After installing xampp, just download composer from https://getcomposer.org/download/ and install it.
- goto path C:/xampp/htdocs and create a folder as laravel, redirect to laravel using cmd prompt as cd c:\xampp\htdocs\laravel.
- then simply type this command to create a first project composer create-project laravel/laravel first-project –prefer-dist Replace first-project with your project name (it takes a few minutes to install)
- then redirect to localhost/laravel/first-project/public/ and now you can see the Laravel logo along with a quick message saying “You have arrived.” ( always use a public folder to access project )
More info: https://stackoverflow.com/questions/23881891/laravel-4-1-installation-with-composer-in-xampp
Be First to Comment