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

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


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!




Could not open input file composer.phar Error

After you have installed composer on different directory(not in C: drive),

Step 1: change directory to location where composer.json exist.

eg: D:\xampp\phpMyadmin\composer.json then change to D:\xampp\phpMyadmin

Step 2: command=>php composer.phar install

Here you are!