TrustRadius: an HG Insights company

Symfony

Score10 out of 10

28 Reviews and Ratings

What is Symfony?

Symfony is a PHP framework from French company SensioLabs.

Categories & Use Cases

Best in class framework for PHP applications

Use Cases and Deployment Scope

Symfony powers our main product which is a web application for conversion rate optimization. It powers both the frontend's API, the business logic and the tracking capabilities.

Its various bundles help offset the boilerplates like auth, rest api, security, etc., so we can focus on our business needs.

Symfony is serving us well and gives us a powerful foundation to serve our customers in the best way possible.

Pros

  • API
  • Security
  • Auth
  • Queues
  • Application architecture

Cons

  • More powerful ecosystem of apps (paid and free)
  • Doctrine (which is the goto ORM) needs more work
  • Queue manager UI
  • Deployment options

Return on Investment

  • The product is basically free for us, but drives our product
  • Easiness to run - easy to onboard developers
  • Powerful support community
  • Bundles and plugins

Usability

Alternatives Considered

Nuxt.js, Laravel PHP Framework, Vue.js and React

Other Software Used

Vue.js, Sentry, Amazon Simple Email Service (SES), MySQL, SingleStore, Redis Software

Symfony is a flexible and well supported php framework but I consider Laravel better at everything.

Pros

  • Symfony bundles are libraries that are very easy to download and start using in minutes.
  • The default directory structure is very abstracted and decoupled and ready for large projects that require a lot of flexibility.
  • The support from the community is very thorough and the documentation is well written if you remember to view the correct version.

Cons

  • There are so many ways to do things that FAQs around the internet may not work for the way you did it.
  • The default database ORM doctrine is not well documented and has a large learning curve when optimizing for high traffic.
  • Matching the Symfony version with your selection of bundles makes it difficult to upgrade bundles because many things change between updates.

Return on Investment

  • It has caused a lot of time wasted and frustration with bundle updates.
  • It has led to very bad database performance with doctrine and it's lazy loading one to many relationships inside loops without the correct loading settings.
  • The default directory structure, when used correctly is well decoupled and supports good practices that have saved us time and reusability that other frameworks may not enforce.

Alternatives Considered

Laravel PHP Framework, CodeIgniter and WordPress

Other Software Used

Laravel PHP Framework, AWS Lambda, Amazon Aurora

Symfony

Pros

  • Good documentation
  • Well built component system
  • Choose what you want to use, not all-inclusive. Helps keep things small and more easily understood.

Cons

  • Config.yml definitions are fairly complex to write and understand.

Return on Investment

  • Fairly quick to pick up and learn.
  • Can be used for multiple types of apps.

The new standard in PHP libraries

Pros

  • Symfony covers all of the bases that one might expect from a PHP framework, it can essentially be a one-stop-shop for the lower-level components you might need when developing a PHP application.
  • Symfony is a fully modular library, allowing you to easily use only the parts you want, easily plug it into other systems, and easily augment or replace parts of it with other libraries.
  • Symfony plays nicely with other code. We've never had an issue using it with any other PHP library or framework we've come across.

Cons

  • It's hard to fault Symfony for much of anything today. There are occasional security issues, but they are typically handled professionally and patched quickly.
  • Symfony can be a heavyweight solution if you don't really need a framework. This isn't really a fault with Symfony, since it does allow you to only use the components you need.

Return on Investment

  • Using Symfony (or certain components of the Symfony framework) has allowed us to more rapidly and securely build custom PHP scripts and applications that would have taken us more time or had more bugs otherwise.
  • Spending less time coding and re-coding the basics that Symfony covers helps to free up our time to get more client work done.
  • Drupal 8's use of Symfony has helped to make its developer experience far better than ever before, keeping our developers happy and working at maximum effectiveness.

Alternatives Considered

Laravel PHP Framework, CakePHP, Drupal, WordPress, CodeIgniter and Zend Framework

Other Software Used

Drupal, WordPress, Laravel PHP Framework, GitHub, CircleCI

Symfony: For Complex Enterprise Scalable Products

Pros

  • Sonata Admin for Symfony is very versatile and we've used it for both the admin part of our website (even created a landing page constructor using it) and for the ERP system we've developed for inside use.
  • It is easy to learn if you know PHP and the community is quite large so you can easily find experts to help you with issues.
  • It's good for high-load projects. We have used it for the back-end of a custom affiliate marketing system that currently processes over 180 million requests per day.

Cons

  • For less complex projects, Laravel or Silex (or even WordPress) can be used. Symfony is better for enterprise products than just for the fun of it.
  • There are always debates regarding Sonata Admin for Symfony, but while there are people who dislike it, we use it and heavily rely on it.

Return on Investment

  • Considering it is one of the main frameworks we rely upon at the APP Solutions / Grossum, it had a wonderful impact on our overall business objectives :) Being an open-sourced product yet well-maintained, it is a great instrument for web and mobile development.

Alternatives Considered

Laravel PHP Framework, Zend Framework and Drupal

Other Software Used

Google Drive, Dropbox, Vidyo, Zoom Video Webinar