PHP Tools for Visual Studio v1.89.18917
Released: May 27, 2026
Updates in v1.89.18917
Features
- Smarter Code Completion:
- Starred Suggestions: The editor now highlights the most likely completion candidates with a star and automatically prioritizes them at the top of the list. This lets you find the right symbol faster with less typing, provides smarter IntelliSense based on context and probability, and it adapts to your workflow without changing it.
- Deeper Code Intelligence and Accuracy:
- This release significantly improves how the editor understands your code, especially in complex and modern PHP patterns.
- Highlights include:
- Better handling of closures, lambdas, and indirect function calls.
- Improved generic templates, even in nested contexts.
- Smarter attribute-aware completion (only valid attribute classes suggested).
- More precise PHPDoc interpretation, including optional parameters.
- Detection of subtle issues like argument conflicts with spread operators.
- This provides fewer false positives, earlier detection of real issues, and better suggestions in advanced codebases.
- More Powerful Code Actions and Fixes:
- Introduced new and improved code actions that help you write cleaner, more modern PHP with less effort.
- New capabilities:
- Add missing parameter type hints instantly.
- Automatically simplify spread operators.
- Modernize code with transformations like
clone → clone with.
- Improved fixes for tricky override and signature issues.
- This reduces boilerplate and manual edits, keeps your codebase clean and consistent, and allows you to refactor faster with confidence.
- Smarter Navigation - Even Inside Strings:
- Navigation and symbol resolution have been enhanced in places where most tools struggle - like string-based references.
- This allows you to navigate seamlessly across dynamic patterns, provides better support for reflection-heavy and framework-driven code, and allows the faster understanding of unfamiliar codebases.
- New Auto-Import Option:
- In Visual Studio
Options - Text Editor - PHP - IntelliSense, pick Auto-import "use" with grouping.
- The editor will create use groups whenever it makes sense.
- Improved Validation for Dynamic Code:
- Added parameter validation for closures and indirect calls, catching mistakes earlier.
- This grants immediate feedback on incorrect arguments, better reliability in dynamic and functional patterns, and more confidence when working with advanced constructs.
- Laravel and Ecosystem Enhancements:
- Smarter IntelliSense for controllers, Livewire, and storage APIs.
- Better type inference in testing (Pest, Laravel helpers).
- More accurate framework-specific completions and navigation.
- This provides a framework-aware coding experience, less guesswork, more flow, and higher productivity in real-world projects.
- A More Resilient Editing Experience:
- A major step forward: the better implementation of an error-tolerant parser.
- The editor can continue providing IntelliSense and analysis even when your code is incomplete or temporarily broken.
- This means fewer interruptions while typing, better support during refactoring or drafting, and IntelliSense that doesn't "give up" on invalid code.
- Polished, Consistent, and Reliable:
- Beyond the major features, this release includes a broad set of improvements that make everything feel tighter:
- More consistent diagnostics aligned with real-world tooling.
- Cleaner formatting behavior across edge cases.
- Numerous fixes in Laravel, Blade, traits, lambdas, and more.
- Improved handling of modern PHP features like PHP 8.5 additions.