The PSR0 is, obviously, not supported by the symfony 1.4 framework, which was released far before PHP 5.3 was ready, but it’s not that difficult to integrate PSR0-compliant projects in Sf1.4.
If you want, for example, to use the Zend Framework 2 in symfony you just need a few quick steps: first of all, copy the standard SplClassLoader in your symfony project ( lib/autoload? ), then require it in your
1 2 3 4 5
then, put the Zend Framework wherever you want (
lib/vendor/ZF2? ) and re-edit the
1 2 3 4 5 6
and you’re done!
You can start using the Zend Framework 2 using namespaces inside your existing symfony code, without breaking anything:
1 2 3 4 5 6 7 8