Tech Verse Logo
Enable dark mode
PestPHP Intellisense in Laravel VS Code Extension v1.7.0

PestPHP Intellisense in Laravel VS Code Extension v1.7.0

Tech Verse Daily

Tech Verse Daily

4 min read

PestPHP Intellisense in Laravel VS Code Extension v1.7.0

Laravel VS Code Extension v1.7.0 brings PestPHP intellisense with autocomplete for custom expectations and test configurations, a new "Go to route" command, common Artisan commands with terminal execution, and support for new Laravel 13 attributes.

  • PestPHP intellisense with docblock generation

  • "Go to route" command palette action

  • Common Artisan commands with terminal execution

  • Laravel 13 attribute support

  • Bug fixes and consistency improvements

#What's New

#PestPHP Intellisense

The extension now inspects your project's Pest configuration and generates helper docblocks that preserve the correct $this type inside Pest hooks and tests. It also exposes custom expectation methods, giving you autocomplete for pest()->extend(...), pest()->use(...), and custom expectations.

The generated docblocks are stored in storage/framework/testing/_pest.php and ignored by git.

PR: #632

#"Go to Route" Command

A new command palette action, Laravel: Go to route, opens a picker listing all application routes and navigates directly to the selected route handler. Routes can be searched by path or name.

PR: #633

#Common Artisan Commands With Terminal Execution

This release adds a curated set of common Artisan commands to the command palette with terminal-based execution. Commands run in a dedicated "Laravel Artisan" terminal so you can see output directly in VS Code. The list includes commands for migrations, database tools, queue management, caching, tinker, route listing, and more.

PR: #629

#Laravel 13 Attribute Support

The extension now provides autocompletion, linking, hovering, and diagnostics for new Laravel 13 attributes, including:

  • Routing attributes: Authorize, Middleware, and RedirectToRoute

  • Eloquent model attributes: Fillable, Guarded, Hidden, Visible, and Appends

PR: #626, contributed by @N1ebieski

    Latest Posts

    View All

    Handling Large Datasets with Pagination and Cursors in Laravel MongoDB: Offset vs Cursor Pagination

    Handling Large Datasets with Pagination and Cursors in Laravel MongoDB: Offset vs Cursor Pagination

    A Complete Guide: Detecting and Fixing Race Conditions in Laravel Applications

    A Complete Guide: Detecting and Fixing Race Conditions in Laravel Applications

    PestPHP Intellisense in Laravel VS Code Extension v1.7.0

    PestPHP Intellisense in Laravel VS Code Extension v1.7.0

    Laravel Starter Kits Now Come with Built-in Toast Notifications

    Laravel Starter Kits Now Come with Built-in Toast Notifications

    Implement Laravel Search in a Right Way

    Implement Laravel Search in a Right Way

    Installing FreeSWITCH 1.10.X on Ubuntu 18.04 | 20.04 | 22.04 LTS

    Installing FreeSWITCH 1.10.X on Ubuntu 18.04 | 20.04 | 22.04 LTS

    Introducing the Laravel AI SDK — Build Smarter Apps with AI

    Introducing the Laravel AI SDK — Build Smarter Apps with AI

    Laravel AI SDK: Building AI-Powered Applications the Laravel Way

    Laravel AI SDK: Building AI-Powered Applications the Laravel Way

    Getting Started with Mago – The Fastest PHP Tooling Chain

    Getting Started with Mago – The Fastest PHP Tooling Chain

    Best Stack Recommendations for Laravel Projects (Battle-Tested in Production)

    Best Stack Recommendations for Laravel Projects (Battle-Tested in Production)