Genuinely curious: who here thinks PHP is a good choice for a new project and also has experience with other languages such as Scala, Kotlin, Python, or JavaScript and their respective web frameworks?
Honestly laravel is one of the best dev experiences. Having used Django, fastapi, and built a custom server with golang, its still my go to for off the shelf fullstack crud apps.
Indeed. A lot of the criticism is from people who never used the language (which seems to be true for any language/framework). This is why I'm very cautious when making assumptions about PHP's suitability - I haven't used it in the longest time and, when I did, I used it the same way one would use ASP or JSP - as a template engine that can do some logic before or after rendering a page.
If it is what you/your team are most confident in and it is suitable to solve the problem (i.e a typical MVC web application), then yes, it is a very sensible choice. If your confidence lies elsewhere, then no, choose that instead. End of the day you’re just solving a problem using code.
And that’s when you become a master of your tools and can wield immense power with them! But in all seriousness, PHP is a good language, and coupled with a modern framework like Laravel, it’s great to use.
I’ve used it since 2002, and have recently got back into it properly after a decade in architecture roles, and it feels very welcoming and love using it. And I _have_ tried the whole JavaScript thing, but simply find it’s ever changing build tools, package managers, etc a pain. Just my opinion though.
> And that’s when you become a master of your tools and can wield immense power with them!
That still doesn't change the fact that, when you master hammers, you still have no idea of how to correctly use a screw.
Every language comes with some blind spots. Learning different languages is often enlightening because it forces one to see the solution space with a different kind of glasses.
I am working with Kotlin for the last 2 years and have js / typescript / php experience.
PHP is still a great choice to start new projects in for many web applications.