How can I use the Symfony2 ClassLoader to autoload classes that dont follow PEAR naming conventions and don’t use namespaces?
It seems from the symfony2 docs that this isn’t possible. How does one include API helper libraries or other files that don’t follow these types of conventions (i.e. they instead follow Zend conventions or no naming conventions at all)?
You should register autoloading functions for those classes using
spl_autoload_register(). This will let you have several autoloaders rune one after another, until one manages to load requied class.