ZF2-325: Zend/Loader is not included in the zend-loader bundle

Issue Type: Bug Created: 2012-05-28T10:28:59.000+0000 Last Updated: 2012-05-29T15:38:09.000+0000 Status: Resolved Fix version(s): Reporter: Calum Brodie (brooodie) Assignee: Maks 3w (maks3w) Tags: - Zend\Loader

  • Loader
  • autoloader
  • dependency

Related issues: Attachments:


I'm trying to use the Barcode bundle (standalone) and am managing my requirements using Composer.

While the loader bundle HAS been installed locally. I'm getting an exception telling my the the Zend/Loader file is missing.

I can see here..…

That this file is actually outwith the scope of the individual bundles (in the root of the libraries folder). How would one load this file using composer? Is the only way to use this file to install the entire framework? Can't this file be moved into the loader bundle?

Exception is

Fatal error: Class 'Zend\Loader' not found in /vendor/zendframework/zend-validator/Zend/Validator/Barcode.php on line 106


Posted by Maks 3w (maks3w) on 2012-05-29T15:38:09.000+0000

With the following PR the dependency with Zend\Loader will be suppressed

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.