I have suddenly inherited a PHP project. What VSCode extension or server is best for developing it locally? I’m down with any other suggestions too!

20 points · 9 comments · view on lemmy.world

9 Comments

rikudou@lemmings.world · 12 pts · 2y (2 replies)

I recommend using PhpStorm - nothing else even approaches it in terms of features and code analysis.

JDubbleu@programming.dev · 2 pts · 2y (1 reply)

I've become the primary maintainer of a jumbled mess of a PHP/Laravel project we use as our"mission control" at work and I've been dying due to lack of dev tools. Might have to take a look at this (pester my manager for a license) assuming it has Laravel support.

rikudou@lemmings.world · 2 pts · 2y

Not sure if natively, but there will definitely be a plugin for Laravel if not.

You can try it for 30 days for free and see for yourself. Or you can always use the early access builds for free.

lemmy_in@lemm.ee · 10 pts · 2y (1 reply)

Jetbrains Phpstorm is probably best in class, but you'll have to pay for it.

sjpwarren@programming.dev · 3 pts · 2y

I don't do PHP. But I used other JetBrains tools for Go, Python and Java and they are very helpful. The AI Assistant is pretty good for explaining code. I am not in anyway paid by them. Good Luck

shnizmuffin@lemmy.inbutts.lol · 7 pts · 2y

Here's hoping you have Docker installed, because Laradock rules. (It's not just for Laravel.)

If the project is a Laravel project, Laravel Herd just came out. If you're on a Mac, there's also Valet. If you prefer a VM, there's Homestead - a PHP Vagrant config.

tsonfeir@lemm.ee · 6 pts · 2y (1 reply)

A lot depends on how the PHP site was set up. Does it have requirements? Apache? What version? MySQL? Is it using a framework? Composer, hopefully?

Theoretically all you need is PHP installed. You can run it from the command line with -S… maybe.

More information would be helpful.

gofsckyourself@lemmy.world · 4 pts · 2y

Seconded.

Also, what OS are you on?

For Windows, Laragon is super easy and convenient.

Or Devpod might be a good choice, too.

monomon@programming.dev · 1 pts · 2y

ddev saved my life when I inherited a drupal project.