php is probably a global composer installation - where you' ll usually put things like phpcs,. I found the answer here: com/ discuss/ channels/ general - discussion/ fatal- error- class-. B) Steps with example: We will take facebook/ php - graph- sdk as an example; change to Package Name as needed. PHP Warning: require( / var/ www/ html/ cakephp3/ vendor/ autoload. php) : failed to open stream: No such file or directory in / var/ www/ html/ cakephp3/ config/ bootstrap. PHP Fatal error: require( ) : Failed opening required. Warning: require( / myapp/ vendor/ autoload. php) : failed to open stream: No such file or directory in / myapp/ config/ bootstrap. php on line 23 Fatal error: require( ) : Failed opening required ' / myapp/ vendor/ autoload. Run composer install in your root project folder ( or php composer.
You need to regenerate autoload. you can use dump- autoload to do that without having to go through an install or update.