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
PSR-4 is something like 'relative path', PSR-0, 'absolute path'.
psr-0
Looking at vendor/composer/autoload_namespaces.php file you can see the namespaces and the directories that they are mapped to.
vendor/composer/autoload_namespaces.php
composer.json
"autoload": { "psr-0": { "Liquid\\": "src/" } }
psr-4
Looking at vendor/composer/autoload_psr4.php file you can see the namespaces and the directories that they are mapped to.
vendor/composer/autoload_psr4.php
"autoload": { "psr-4": { "Liquid\\": "src/" } }
"autoload": { "psr-4": { "Liquid\\": "src/Liquid/" } }
Either
The text was updated successfully, but these errors were encountered:
Looking for Liquid\Template in src/Liquid/Template.php
Liquid\Template
src/Liquid/Template.php
Isn't this is what we have in actuality?
Sorry, something went wrong.
So, there is no bug, really, but an issue with not following the spec exactly.
No branches or pull requests
Difference between psr-0 and psr-4
PSR-4 is something like 'relative path', PSR-0, 'absolute path'.
psr-0
Looking at
vendor/composer/autoload_namespaces.php
file you can see the namespaces and the directories that they are mapped to.composer.json
psr-4
Looking at
vendor/composer/autoload_psr4.php
file you can see the namespaces and the directories that they are mapped to.composer.json
composer.json
How to fix
Either
The text was updated successfully, but these errors were encountered: