psr-0
Composer/PSR – How to autoload functions?
You can autoload specific files by editing your composer.json file like this: “autoload”: { “files”: [“src/helpers.php”] } (thanks Kint)
What Are the Differences Between PSR-0 and PSR-4?
They are very similar so it is not surprising that it’s a bit confusing. The summary is that PSR-0 had some backwards compatibility features for PEAR-style classnames that PSR-4 dropped, as such it only supports namespaced code. On top of that PSR-4 does not force you to have the whole namespace as a directory structure, … Read more