Wednesday, October 17, 2018

Solution To: Laravel 5 Failed opening required bootstrap/../vendor/autoload.php


PROBLEM:
Laravel 5 Failed opening required bootstrap/../vendor/autoload.php

SOLUTION:
...

When the new project created the laravel require to load vendors to autoload the libraries , We need to tell composer to update via command:

composer update

Composer is a dependency manager allows you to delegate responsibility for managing your dependencies to a third party.

In some cases, you need to tell composer to install first via ommand:

composer install 

If this does not solve the problem, make sure the following php modules are installed php-mbstring php-dom

To install this extensions run the following in terminal

sudo apt-get install php-mbstring php-dom

once the installation is complete

try running the command in your project root folder

composer install 

REFERENCE:
https://stackoverflow.com/questions/28468625/laravel-5-failed-opening-required-bootstrap-vendor-autoload-php


No comments:

Post a Comment

Labels