I'm a beginner in laravel, so when I start creating my project using composer create-project laravel/laravel my-project-name 5.4.*
then i run it on my browser http://localhost:8080/test/public/ and it shows me this error:
Warning: require(C:\xampp\htdocs\test\public/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\test\public\index.php on line 24
and
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\test\public/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\test\public\index.php on line 24
I've tried using composer install, update etc.. but nothing seems to happen.
public\index.php
? – Andriy Lozynskiyrequire __DIR__.'/../bootstrap/autoload.php';
please check if this line is in yourindex.php
? – Andriy Lozynskiy