Chapter 8. Extending Symfony
So far we have seen one way to extend the Symfony framework, that is, by downloading and installing third-party plugins that have aided us by adding whole components without the need to recode. Also, we have added email functionality by using the Swift Mailer, which is a third-party library. In this chapter, we are going to extend this further by bridging another framework to Symfony.
In this chapter you will learn how to:
Integrate components from other frameworks into Symfony
Create and extend core framework classes
Bridging to other frameworks
There are many standalone components and frameworks that incorporate vast units of functionality, and using them in your project will save you time. But using Symfony requires you to develop in a certain way. Of course, it makes no sense in re-coding the components just to make them fit in with Symfony. Therefore, the Symfony framework provides autoloading, which allows you to plug in and play.