Clone Laravel Git Project

If you are new to laravel, you all would have read Laravel Doc. But it was hard for me to find how to run cloned laravel git project. When I run, I got this error;

Warning: require(/Applications/XAMPP/xamppfiles/htdocs/laravel-master/bootstrap/../vendor/autoload.php) [function.require]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/laravel-master/bootstrap/autoload.php on line 17

Fatal error: require() [function.require]: Failed opening required ‘/Applications/XAMPP/xamppfiles/htdocs/laravel-master/bootstrap/../vendor/autoload.php’ (include_path=’.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear’) in /Applications/XAMPP/xamppfiles/htdocs/laravel-master/bootstrap/autoload.php on line 17

Actually it is so simple, here is steps;

Step 1Install Composer(same from laravel site)

Step 2: Clone git to your running environment(eg. if you use xampp, htdos>your_app)

git clone https://github.com/laravel/laravel

Step 3: In your_app folder, right click anywhere then you will see ‘Composer Install’

Done!!

Step 4:

For xampp user, go to http://localhost/your_app/public/

For laravel artisan user, in Step3 command prompt, type “php artisan serve”, then you will see url to run your project default is http://localhost:8000/

 

Hope it helps!