How can I use Zend Libraries inside symfony 2.0

What is the best way to access the Zend Autoloader inside my Symfony package so that I can use the Zend libraries?

+4
source share
1 answer

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.

+9
source

Source: https://habr.com/ru/post/1385871/


All Articles