News for hackers. Stuff that matters.
Re:PHP 8.1.25 by kayson on Saturday October 28, 2023 @09:14PM (#38055008)
Does anyone have recommendations for dev environments (linting, formatting, type checking), frameworks, etc for modern php development?

I used it a lot a decade ago and want to get back into it. My project is essentially styling/rendering the contents of a database to the page. I'd like to make it SPA-ish, so I'm not sure if php still makes sense. Do people use react or any other component based front end framework on top of a pho backend?

Re:PHP 8.1.25 by villedespommes on Saturday October 28, 2023 @09:25PM (#38055058)
I'd look into AppSmith, Budibase or any other low-code tools. IMO, they hit a sweet spot for me.
Re:PHP 8.1.25 by tacker2000 on Sunday October 29, 2023 @09:03AM (#38058206)
Im currently using Symfony backends with Vue as frontend, works pretty well.

As IDE i used VSCode but now I switched to IntelliJ Idea 2 months ago in order to try out a more “serious” IDE. The code completion and code navigation are much better but some things like quick search are slower but overall it feels more solid.

Re:PHP 8.1.25 by phatskat on Sunday October 29, 2023 @12:04PM (#38059847)
I’m on (neo)vim forever - Mason makes installing LSP, linting, etc very easy. Most devs I’ve worked with have been VSCode these days.

As for frameworks, I’ve found that Laravel+Inertia works really well for a PHP web app with a dynamic frontend. My experience was with Vue, and I really enjoyed it. Laravel is a solid backend framework and Intertia does a great job of gluing it to Vue