Skip to content
PluginStats

PHP Namespace Resolver installs statistics

By Mehedi Hassan (2 listings) · VS Code Marketplace · Programming Languages

Import and expand php namespaces

View on VS Code Marketplace Fresh · Oct 20, 2026

PHP Namespace Resolver has 2,279,787 recorded installs on VS Code Marketplace, ranking #316 of 2,501 tracked listings.

Installs
2,279,787
Official API · Oct 20, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#316
Among tracked VS Code Marketplace listings

Rating: 4.84 / 5 from 32 ratings

About PHP Namespace Resolver

<p align="center"> <img src="https://github.com/MehediDracula/PHP-Namespace-Resolver/raw/HEAD/images/banner.png" alt="PHP Namespace Resolver" /> </p>

PHP Namespace Resolver

Version Installs Rating

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.

CommandTitle
phpNamespaceResolver.importImport Class
phpNamespaceResolver.importAllImport All Classes
phpNamespaceResolver.expandExpand Class
phpNamespaceResolver.sortSort Imports
phpNamespaceResolver.removeUnusedRemove Unused Imports
phpNamespaceResolver.generateNamespaceGenerate Namespace
phpNamespaceResolver.rebuildIndexRebuild Namespace Index

Keybindings

You can override these defaults in your keybindings.json.

CommandWindows / LinuxMac
Import ClassCtrl+Alt+I⌃⌥I
Import All ClassesCtrl+Alt+A⌃⌥A
Expand ClassCtrl+Alt+E⌃⌥E
Sort ImportsCtrl+Alt+S⌃⌥S
Remove Unused ImportsCtrl+Alt+R⌃⌥R
Generate NamespaceCtrl+Alt+G⌃⌥G

Settings

You can override these defaults in your VS Code settings.

{
    "phpNamespaceResolver.exclude": "**/node_modules/**",  // Glob pattern to exclude when searching files
    "phpNamespaceResolver.autoSort": true,                 // Auto sort after importing a class
    "phpNamespaceResolver.sortOnSave": false,              // Sort imports when a file is saved
    "phpNamespaceResolver.sortMode": "natural",            // Sort mode: "natural", "length", or "alphabetical"
    "phpNamespaceResolver.leadingSeparator": true,         // Prepend leading backslash when expanding
    "phpNamespaceResolver.removeOnSave": false,            // Remove unused imports on save
    "phpNamespaceResolver.autoImportOnSave": false,        // Auto import all detected classes on save
    "phpNamespaceResolver.ignoreList": [],                 // Class names to exclude from diagnostics (e.g. ["Yii"])
    "phpNamespaceResolver.highlightNotImported": true,     // Show warnings for unimported classes
    "phpNamespaceResolver.highlightNotUsed": true          // Show hints for unused imports
}

Author

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

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

PHP Namespace Resolver installs on VS Code Marketplace, last 90 days: 2,279,787 installs as of Oct 20, 2026.PHP Namespace ResolverInstalls on VS Code Marketplace · Last 90 days2,279,787installs2.3M2.3M2.3M2.3M2.3M2.3M2.3MJul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
PHP Namespace Resolver installs on VS Code Marketplace, last 90 days: 2,279,787 installs as of Oct 20, 2026.

7/30/90-day growth

PHP Namespace Resolver installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.PHP Namespace ResolverInstalls growth on VS Code Marketplace2,279,787installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 20, 2026pluginstats.com
PHP Namespace Resolver installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

PHP Namespace Resolver VS Code Marketplace ranking history: currently #316 (by installs).PHP Namespace ResolverVS Code Marketplace ranking · by installs · Last 90 days#316current rank#313#314#315#316#317#318Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct 20, 2026pluginstats.com
PHP Namespace Resolver VS Code Marketplace ranking history: currently #316 (by installs).

Ratings over time

PHP Namespace Resolver ratings on VS Code Marketplace, last 90 days: 32 ratings as of Oct 20, 2026.PHP Namespace ResolverRatings on VS Code Marketplace · Last 90 days32ratings282930313233343536Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
PHP Namespace Resolver ratings on VS Code Marketplace, last 90 days: 32 ratings as of Oct 20, 2026.

Listing placement

All VS Code Marketplace2,501 listings · 126 pages · 1,252 shown · page 16, #16 (overall #316)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages792 listings · 40 pages · page 7, #3 (overall #123)
Programming Languages: every listing in installs order

Listing placement

Linters252 listings · 13 pages · page 3, #9 (overall #49)
Linters: every listing in installs order

Listing placement

Formatters286 listings · 15 pages · page 3, #6 (overall #46)
Formatters: every listing in installs order

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.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (5)
Recent installs observations for PHP Namespace Resolver
Date (UTC)InstallsChange vs. previous
2,279,787+463
2,279,324+210
2,279,114+200
2,278,914+233
2,278,681—

Similar VS Code Marketplace Programming Languages plugins

All 20 PHP Namespace Resolver alternatives

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 20, 2026. See the methodology.