A quick introduction to PHP development in 2024, with useful links and resources.
Intro
I was recently asked to do an interview code ch...
For further actions, you may consider blocking this person and/or reporting abuse
I would like to shout out php.net as a great resource for news, changelogs, upgrade documentation and general documentation for PHP. And as for the frameworks out there I would also recommend a look at Symfony, a very well developed framework with a pretty long history behind it.
I find it great to see a javascript developer that is willing to learn a general purpose language. And it is my comfort language 😄
Php or any other script language, python/ruby, is a good way to ease into general purpose languages. Because they don't require compiling or force typing.
To keep you computer as clean as possible, I would not recommend to install php. Use a virtual machine setup, like xampp or wampp, or docker front-ends, like ddev or lando.
While Paul M. Jones is a great asset for the PHP community, I would not use the skeleton. If you are not creating a framework based project, just follow the composer package basics.
It might be a little scary not having a more defined structure. But you know you project best, so you are best equipped how to structure the code.
Laravel could be a big change if you come from javascript. If you want a framework that has less restrictions use the slim framework. It will require a little more setup because it has no template engine or ORM out of the box. So only use it in production once you know what you are doing to prevent attacks like XSS, sql injection, and so on. Framework like Laravel have counter measures build in.
Good, but to develop in PHP you have to use PHPStorm: nothing is better.