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.
You'll solve your problem with running in the terminal inside your project
composer update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With