Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to best select a PHP framework - Laravel, Symfony, Zend, Etc [closed]

My company wants to adopt a PHP framework and I am being asked to decide which one to use going forward.

Our requirements are simple

  1. It must be part of the php-fig
  2. Must look like it will be around & active for at least another 10 years
  3. Must have a healthy community
  4. Must have libraries/bundles/modules/packages/etc or whatever they are called that we can draw on to speed up development.

Using the above criteria I have found frameworks that I like

  • Symfony -> Seems to be an industry leader / feels a little over engineered
  • Laravel -> very popular at the moment and easy to use/understand
  • Zend -> Zend 1 hurt my feelings and I have never really forgiven it, I am just not comfortable with Zend

I would like to use Laravel but point 2 above concerns me as its really driven by one person, even though there is s strong community, that one person still has too strong an influence its not like Drupal where if Dries goes away the community will not crumble, I feel that if Tyler goes then Laravel will fall. And as much as I like it I don't want to tie my company to that wagon.

This question is NOT about which framework is better BUT how to best decide on selecting a framework for your Company

like image 783
user3408844 Avatar asked Mar 26 '14 23:03

user3408844


People also ask

Which is better Zend or Laravel?

Laravel has poor performance and speed compared to Zend, whereas Zend improves application performance and provides a good response for the server request. Laravel has a Symfony framework that can be used to create Symfony Components where as Zend is also a framework that is a counterpart to the Symfony framework.

Which is best Symfony or Laravel?

On the popularity front, Laravel is definitely the winner these days. And by GitHub stats: Symfony has 25.5k stars and Laravel has 65.8k stars. Another number to have in mind is regarding the community behind the frameworks: Symfony has 2394 contributors while Laravel has 2576.

Is Laravel faster than Symfony?

Laravel vs Symfony: Speed Compared to Laravel, Symfony is slower when it comes to complex web projects. It promotes adaptability as well as peak performance. It's simple to extend, and PHP Symfony comes with various alternatives.

Is Symfony harder than Laravel?

The two frameworks have much in common. Moreover, Laravel uses most of its third-party libraries from Symfony components, therefore, about 30% of Laravel code is Symfony. Meanwhile, unlike Laravel, Symfony represents a more complex framework that is harder to learn, though it is better suited for big-scale projects.


1 Answers

We can't tell you what is the best framework for you - only you can decide that. But you've mostly answered your question in your description of your options - it seems like Laravel is what you're leaning towards. Plus, it's an open source project, if the creator were to throw in the towel I'm sure there would be enough momentum for others to pick it up.

One additional point I'd make: 10 years is a long time in web development - none of the frameworks in your list existed 10 years ago. It's good to try and choose something with some longevity, but I wouldn't try and plan too far ahead.

like image 51
Tim Fountain Avatar answered Oct 05 '22 01:10

Tim Fountain