lundi 21 août 2017

How to add /import sample Laravel Project?

After familiar with Codeigniter, I stared to learn Laravel.

I able to install Laravel using following command.

composer create-project --prefer-dist laravel/laravel blog

It works fine. :-)


Next I tried to setup sample Laraval project. I found a sample project from here (http://ift.tt/2x5ffgQ).

What I did is I just download it and copied all folders to Xampp htdocs folder.

Then I visit the "http://localhost/sample-project-master/public/".

It gives following error.

Warning: require(D:\xampp\htdocs\sample-project-master\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp\htdocs\sample-project-master\bootstrap\autoload.php on line 17

Fatal error: require(): Failed opening required 'D:\xampp\htdocs\sample-project-master\bootstrap/../vendor/autoload.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\sample-project-master\bootstrap\autoload.php on line 17

Have I done mistake when setting up already available Laravel project? How I correct following errors or what is the way to import Laravel project?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2wgfh8h
via IFTTT

Aucun commentaire:

Enregistrer un commentaire