Using Zend components or any other third-party libraries inside a Symfony2 project is very simple.
1.) Download Zend and extract it to the "vendor" folder.
2.) Register Zend by adding the following to the $ loader-> registerPrefixes parameters
'Zend_' => __DIR__.'/../vendor/Zend/library',
Please keep in mind add the correct path here ...
3.) You can go and now you can use the Zend classes in your Symyfony2 project.
source share