Hi,
In PHP Guidelines[3], we have:
Composer registered libraries, which are reusable components written in PHP, usually PSR-O compliant classes, registered on a package registry, most often on Packagist.
=> change to "PSR-0 or PSR-4"
A PSR-0 [1] compliant library would put its PHP files in /usr/share/php/<Vendor Name>
=> Add
A PSR-4 [2] compliant library would put its PHP files in /usr/share/php/<Vendor Name> in a PSR-0 compliant tree.
Comment about this proposal, before I submit it to FPC ? (it is already applied in some packaged libraries)
Remi
P.S @adam, I don't know if you have subscribed to php-devel (which is a quite low traffic ML)
[1] https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md [2] https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoload... [3] https://fedoraproject.org/wiki/Packaging:PHP
php-devel@lists.fedoraproject.org