Where is the autoload.php? #63
codemasher
announced in
README
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Where is the autoload.php?
The
autoload.php
is auto generated by composer when dependencies are installed or updated. After runningcomposer install
in the root directory of the project you'll find avendor/
directory which contains the dependencies and the autoloader. So in your code you would just need toinclude '/path/to/library/vendor/autoload.php'
and you're good to go.If you plan to use this library along with others in your own project, you just need to create a
composer.json
in whatever folder that should contain the vendor files and include theautoload.php
from there. Like so:Beta Was this translation helpful? Give feedback.
All reactions