We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In each example, we are going straight to the autoloader this way.
require_once __DIR__ . '/../vendor/autoload.php';
This is not working when things are installed via composer.
Add a check and try to find the real autoloader. If needed (since this is common, put this helper into a dedicated component.).
require_once __DIR__ . '/../../../autoload.php';
The text was updated successfully, but these errors were encountered:
Will be fixed by using php_component_composer_autoload_loader.
Sorry, something went wrong.
I think it's not the main issue. It can set the current path assumption before every sample code.
@stevleibelt , I think it can also some tutorials/docs to explain how to use the example code in example folder.
example
This issue will solved by our docs or tutorials :).
docs
tutorials
No branches or pull requests
In each example, we are going straight to the autoloader this way.
This is not working when things are installed via composer.
Add a check and try to find the real autoloader. If needed (since this is common, put this helper into a dedicated component.).
The text was updated successfully, but these errors were encountered: