Hi,
I start switching all ZF packages from zend-loader to fedora/autoloader
(using a classmap) in rawhide.
As I drop dependency on zend-loader, this mean if you rely on
/usr/share/php/Zend/autoload.php you have to explicitly requires
zend-loader (which provide it).
When all packages will be ready, you should be able to only use the
needed components autoloaders (thus reducing to minimal needed autoloader)
As this will be a quite long process, I recommend you keep the main
autoloader as a fallback.
Example:
\Fedora\Autoloader\Dependencies::required([
[
'/usr/share/php/Zend/Cache/autoload.php',
'/usr/share/php/Zend/autoload.php',
], [
'/usr/share/php/Zend/I18n/autoload.php',
'/usr/share/php/Zend/autoload.php',
], [
'/usr/share/php/Zend/Serializer/autoload.php',
'/usr/share/php/Zend/autoload.php',
],
]);
Remi