Hi, I'm Liam

I talk about code and stuff

Let your PHP papercuts be healed

Introducing TemPHPest for VSCode

Published on

“Why does any self-respecting PHP developer use VSCode?! It’s just not as good as PHPStorm.”

This is a sentiment we hear a lot in the PHP community, and it’s extremely unfortunate that the gatekeeping is so loud when PHP has had to stave off the gatekeeping that comes from other circles in the wider programming community. PHPStorm is a wonderful piece of software, but so is VSCode (and Vim, and any other editor/IDE out there).

In the Laracon US 2024 Keynote, the Laravel team announced a new first-party package for Laravel in VSCode. This extension has a lot of features that make working with Laravel in VSCode a lot easier, and it’s a great step forward for the PHP community.

But what about the other little papercuts that PHP developers face when working in VSCode?

Let’s try to fix that, bit by bit. If VSCode does one thing not just well - but knocks it out of the park - it’s extensibility. So, I’m writing an extension to improve the PHP experience in VSCode.

In comes TemPHPest

TemPHPest is an extension for VSCode that I’ve been working on to bring nice little tweaks and features to improve working with PHP. Each feature could probably be a separate extension, but being bundled in one is easier for me to maintain and you to install.

I’d recommend checking out the VSCode Extension Marketplace page, as it will always have the most up-to-date information on what the extension can do.

Some of my favourite highlights:

New PHP files are filled out with stubs as you would expect. There’s also rich Laravel support!

Code actions and quick fixes let you quickly whip your code into shape!

The REPL runs your code and shows you the results inline

Trying to interpolate a value within single quotes will fix it to double quotes automatically

Heredoc strings finally can render Laravel Blade syntax highlighting

What are you waiting for? Check it out now!

Photo of Liam Hammett
written by
Liam Hammett
Found a typo? Suggest a fix here!
Hit me up on Twitter / GitHub / LinkedIn / email me
Copyright © 2024 Liam Hammett and all that kind of stuff