DEV Community

Cover image for Which PHP Framework Should You Use in 2023?

Which PHP Framework Should You Use in 2023?

The Dev Drawer on December 09, 2022

If you're looking to start a new project or update an existing one, then be sure to check out this explainer and the accompanying video! We'll give...
Collapse
 
bobbyiliev profile image
Bobby Iliev

Laravel 🤘

Collapse
 
thedevdrawer profile image
The Dev Drawer

🤘(><)🤘

Collapse
 
veroandi12 profile image
veroandi

One aspect to take into account might also be: choose the one where there are more job offers where you are. I chose Symfony because in France and Germany, Symfony is king. If the dev is in the US or Brazil, Laravel would be better. If the dev is in Eastern Europe, it might be an advantage to learn Nette (not listed in the article). Or it could be also interesting to learn a niche framework. There will be fewer job offers, but fewer competitors. :)

Collapse
 
bartosz profile image
Bartosz Wójcik

Yii2 is the best, from installation to live website, try to do that in Laravel you will cry a lot!

Collapse
 
ricky01 profile image
Ricky

Good morning. Nicotine Framework is a new, modern, fast and flexible framework for PHP & MySQL. With the concept of "Map" surpasses any architecture that uses models (e.g. one class for each MySQL table).

Collapse
 
fabpico profile image
Info Comment hidden by post author - thread only accessible via permalink
fabpico

Slower execution: Did you measure it? Is it really a problem? And a custom code may become more complex then a simple usage of a framework.
General Solutions for specific problems: You usually should not install the full stack of the framework, only the packages you need.
Learning curve: You don’t need to master the entire framework, just to correctly use the specific packages you need.
Limited control: The dependency is not a problem when you correctly decouple your code from the framework.

I’ve read enough.

Collapse
 
gbhorwood profile image
grant horwood

there’s a lot to be said for laravel’s popularity: if you need to hire devs there are a lot, and the online help available is much greater than, say, for cake or fuel.

Collapse
 
thedevdrawer profile image
The Dev Drawer

It is one of my favs, I was just making sure I remained impartial.

Collapse
 
pcmagas profile image
Dimitrios Desyllas

IMHO there's not such a "must use" framework but a "have to use" framework, the one that the future client/boss or existing one will use.

Collapse
 
thedevdrawer profile image
The Dev Drawer

While I somewhat agree, you can only use the future client/boss framework if you know how to develop with it. So, I listed frameworks you "should" use based on their popularity in order to get to that level. If you don't know how to develop with a framework that is commonly used, then you most likely won't get the job to "have to use" it.

I rarely use frameworks but I know how to just in case I ever need one. This video and explainer article will hopefully give enough information about popular PHP frameworks that it will push somone with no MVC experience to experiment and learn them so they can get that job or be able to create something with it.

Some comments have been hidden by the post's author - find out more