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!

3 years ago by shootwhatsmyname to c/php

rikudou 12 points 3 years ago

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

path: 0 9123314, hotness: undefined, score: 12, children: 2
JDubbleu 2 points 3 years ago

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.

path: 0 9123314 9158615, hotness: undefined, score: 2, children: 1
rikudou 2 points 3 years ago

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.

path: 0 9123314 9158615 9164399, hotness: undefined, score: 2, children: 0
lemmy_in 10 points 3 years ago

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

path: 0 9123313, hotness: undefined, score: 10, children: 1
sjpwarren 3 points 3 years ago

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

path: 0 9123313 9151081, hotness: undefined, score: 3, children: 0
shnizmuffin 7 points 3 years ago

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.

path: 0 9122896, hotness: undefined, score: 7, children: 0
tsonfeir 6 points 3 years ago

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.

path: 0 9123205, hotness: undefined, score: 6, children: 1
gofsckyourself 4 points 3 years ago

Seconded.

Also, what OS are you on?

For Windows, Laragon is super easy and convenient.

Or Devpod might be a good choice, too.

path: 0 9123205 9143371, hotness: undefined, score: 4, children: 0
monomon 1 point 3 years ago

ddev saved my life when I inherited a drupal project.

path: 0 9147664, hotness: undefined, score: 1, children: 0
php
php

@programming.dev

login for more options
823
152
10

Welcome to /c/php! This is a community for PHP developers and enthusiasts to share and discuss anything related to PHP. From the latest updates and tutorials, to your burning questions and amazing personal projects, we welcome all contributions.

Let's foster an environment of respect, learning, and mutual growth. Whether you're an experienced PHP developer, a beginner, or just interested in learning more about PHP, we're glad to have you here!

Let's code, learn, and grow together!

go to feed...