-
Notifications
You must be signed in to change notification settings - Fork 3.6k
README example should show PSR-4 autoloader instead of PSR-0 #1657
Comments
Your request is not quite clear. Could you elaborate? |
Its too old, I've almost forgotten PHP since then lol! But from what I remember, there are different PSR standards for importing the auto-loader classes (PSR-0 & PSR-4 are most common). I think the one standard you are actually using in code differs from what you've provided in the example in But as I said, I may have mistaken. I've moved on to Python since then, so don't quite recall about this bug. |
The readme now states:
So I think this issue is no longer valid. Could be closed @fzaninotto @webr. |
Lets review the docs since it should explain both. Its recommended overall to load the composer autoloader but both should be possible |
I've observed that in
composer.json
you have configured auto-loader toPSR-4
standard, yet the comment in README.md example suggests usingPSR-0
compliant autoloader:Perhaps, the require should read something like this in case of PSR-4?
require_once 'vendor/autoload.php';
The text was updated successfully, but these errors were encountered: