News Archive
Related Articles
PhpRiot Newsletter
Your Email Address:

More information

Christian Schaefer's Blog: Using Zend Framework components in a Symfony2 project

Note: This article was originally published at PHPDeveloper on 1 March 2011.

On his blog Christian Schaefer has a new post looking at how you can use Zend Framework components in a Symfony2 application.

Recently I wanted to use a part of the Zend Framework (v1) in my Symfony2 project. After struggeling with the autoloading for a while and a little help from fellow developers on Twitter I found it actually to be quite easy.

He illustrates, showing a method for pulling down the source from github, registering a prefix with Symfony2 for the Zend Framework components and how to remove a lot of the issues with notices and warnings (and fatal errors) by removing the require_onces that aren't needed.