Amal Raghav

Design. Develop. Destroy.

Symfony2 Bundles - A Quick Tour

In Symfony2 world a bundle is the equivalent of a plugin. If you have been developing with Symfony2 you should have seen a plethora of bundles for various mundane or repetitive tasks. Here, I will talk about the bundles that I use and recommend for Symfony2 projects.

FOSUserBundle

This bundle helps you manage users in your project. It has support for Doctrine2 ORM, ODM (MongoDB and CouchDB). It also has experimental support for Propel, if you prefer to use it instead of Doctrine.

SonataAdminBundle

Unlike the first version, Symfony2 doesn't come with it's own admin generator. This can be mitigated by SonataAdminBundle.

WhiteOctoberPagerfantaBundle

Pagination is a very mundane task and this bundle with the pagerfanta library helps you get it done.

FOSFacebookBundle

These days a website without Facebook login is quite rare. This bundle helps you add facebook authentication to your Symfony2 project.

StofDoctrineExtensionsBundle

This bundle integrates DoctrineExtensions library with Symfony2 to help you easily add Sluggable, Timestampable and many other behaviors that are not directly provided by Doctrine2.


Copyright © 2013 Amal Raghav