-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
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
Added alternative to composer autoloader #388
Conversation
Co-authored-by: Jérémy Benoist <[email protected]>
…er into pr/provide-alt-autoloader
this is weird, because it works on my local machine which also runs PHP 7.4
Running it together with Composer made no sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me
Non-Composer-plain-old-manual-include user here... looks good to me. :-) Go for it! |
Thank you for the feedback. If problems related to this PR occur, please open a new issue. |
I pulled the latest master branch, which included this merge, and tested it on my local machine using the non-Composer (alt_autoload.php-dist) method. It worked great! Thank you @k00ni for your effort on this. |
This PR provides a new file which acts as an alternative autoloader to Composer. It should make manual work obsolete in case Composer is not available. I named the autoloader file
alt_autoload.php-dist
so people can rename it to e.g.alt_autoload.php
and adapt it as they see fit. This way they can make adaptions without to worry to override them on an update. Also extendedREADME.md
with a basic installation section.Also added a basic test which checks if this works.
Fixes #117
I would love to hear feedback on this, especially from people who don't use Composer. If this PR is being accepted, we may close #117 and add a reference to the README.md.
CC @apmuthu