HubBox Error: Failed to open stream /sample/../../vendor/autoload.php

Problem Statement

While using the library provided by HubBox, there is an error occurring-

require(C:\wamp64\www\HubBox\sample\src\public/../../vendor/autoload.php): failed to open stream: No such file or directory in C:\wamp64\www\HubBox\sample\src\public\index.php on line 14


This error occurred because of dependencies on files that are missed. You need to solve this issue by using below steps:

Step1: Delete the file sample/composer.lock from the library.

Step2: Make a folder with the name “vendor” under /sample/

Step3: Run the command “composer install” in command prompt at /sample/


HubBox Error

It will download all the dependency files which are required.

After successfully downloading all the dependencies, you will able to use the HubBox library.

Akash Roshan

Akash is a PHP developer and wants to share his knowledge through Blogs. He is currently growing in the IT industry while fulfilling his own goals.

Leave a Reply

Your email address will not be published. Required fields are marked *