Skip to content

tutorial#

Run and Debug Pest and PHPUnit Tests in VS Code

Test Explorer in Visual Studio Code opens the door to all your PHPUnit and Pest PHP tests. You can browse and filter test suites, test classes, test cases, and data sets. Run, debug, profile, or navigate to any test. You can enable automatic testing on changes, browse test history, and see detailed diffs of actual and expected results. Let me show you how.

test explorer

Vibe Coding getting smarter with PHP diagnostics

PHP Extension works seamlessly with Cursor—the popular AI-powered code editor. With the PHP extension, you get a full suite of features, including code completion, intelligent code actions, an integrated debugger, advanced syntax highlighting, and effortless navigation. But that’s not all! It also offers workspace-wide code analysis and detailed diagnostics. Plus, these features are fully compatible with the AI chat agent, creating a powerful coding experience.

Profile Laravel in Visual Studio Code

Cover Image

Performance always matters. Your Laravel application might be beautifully designed and written, but there's always the possibility of hidden bottlenecks. Is it unnecessarily slow? Can it be optimized further? Sometimes, a single function can consume most of your CPU time. In this tutorial, you'll learn how to profile your Laravel application in Visual Studio Code to uncover and address these issues.

PHP Language Level in VS Code

Cover Image

PHP is an old language, powering majority of the Internet. It's evolving, it's getting new features, better performance, and old features are being depreciated and sometimes even removed.