PHP Namespace Resolver installs statistics
By Mehedi Hassan (2 listings) · VS Code Marketplace · Programming Languages
Import and expand php namespaces
PHP Namespace Resolver has 2,279,114 recorded installs on VS Code Marketplace.
It ranks #316 of 2,500 tracked VS Code Marketplace listings by installs.
It is rated 4.8 out of 5 from 32 ratings.
PluginStats has 3 daily observations since Oct 16, 2026; the latest is from Oct 18, 2026.
Rating: 4.84 / 5 from 32 ratings
About PHP Namespace Resolver
PHP Namespace Resolver
Import, expand, sort, and manage PHP namespaces with full PHP 8+ support. Detects unimported and unused classes, offers quick fixes, and keeps your imports clean.
Features
• Import Class — resolve and add use statements for any class • Import All Classes — detect and import every unresolved class in one go • Expand Class — replace a short class name with its fully qualified name inline • Sort Imports — sort use statements by length, alphabetically, or with natural ordering • Remove Unused Imports — strip all unused use statements with one command • Generate Namespace — generate a PSR-4/PSR-0 namespace from the file path and composer.json • Diagnostics — unimported classes appear as warnings and unused imports as hints in the Problems panel • Quick Fixes — lightbulb actions to import, expand, or remove directly from diagnostics • Namespace Caching — persistent index with file watcher for fast resolution • Multi-Root Workspace — file searching scoped to the correct workspace folder
PHP 8+ Support
Union types, intersection types, return types, typed properties, constructor promotion, nullable types, attributes, catch block types, and enum declarations are all detected and resolved.
Demo
Commands
Search these commands by the title on command palette.
| Command | Title |
| phpNamespaceResolver.import | Import Class | | phpNamespaceResolver.importAll | Import All Classes | | phpNamespaceResolver.expand | Expand Class | | phpNamespaceResolver.sort | Sort Imports | | phpNamespaceResolver.removeUnused | Remove Unused Imports | | phpNamespaceResolver.generateNamespace | Generate Namespace | | phpNamespaceResolver.rebuildIndex | Rebuild Namespace Index |
Keybindings
You can override these defaults in your keybindings.json.
| Command | Windows / Linux | Mac |
| Import Class | Ctrl+Alt+I | ⌃⌥I | | Import All Classes | Ctrl+Alt+A | ⌃⌥A | | Expand Class | Ctrl+Alt+E | ⌃⌥E | | Sort Imports | Ctrl+Alt+S | ⌃⌥S | | Remove Unused Imports | Ctrl+Alt+R | ⌃⌥R | | Generate Namespace | Ctrl+Alt+G | ⌃⌥G |
Settings
You can override these defaults in your VS Code settings.
Author
• @MehediDracula
License
MIT License.
Copyright (c) 2017 Mehedi Hasan
Description from the VS Code Marketplace listing.
- autoload
- class
- expand
- import
- keybindings
- namespace
- php
- php8
- psr-4
Where PHP Namespace Resolver sits in the listing
Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (3)Similar VS Code Marketplace Programming Languages plugins
Data source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=MehediDracula.php-namespace-resolver. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.