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 · Dec 6, 2026

PHP Namespace Resolver has 2,297,778 recorded installs on VS Code Marketplace, an increase of 0.5% over the past 30 days, ranking #319 of 2,515 tracked listings.

Installs
2,297,778
Official API · Dec 6, 2026
7-day growth
+0.1%
+2.3K installs
30-day growth
+0.5%
+11.1K installs
90-day growth
—
Insufficient history
Rank
#319
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,297,778 installs as of Dec 6, 2026.PHP Namespace ResolverInstalls on VS Code Marketplace · Last 90 days2,297,778installs2.3M2.3M2.3M2.3M2.3M2.3MSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
PHP Namespace Resolver installs on VS Code Marketplace, last 90 days: 2,297,778 installs as of Dec 6, 2026.

7/30/90-day growth

PHP Namespace Resolver installs growth on VS Code Marketplace: +0.1% over 7 days, +0.5% over 30 days, 90-day growth unavailable.PHP Namespace ResolverInstalls growth on VS Code Marketplace2,297,778installs now7-day growth+2,328 installs+0.1%30-day growth+11,102 installs+0.5%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
PHP Namespace Resolver installs growth on VS Code Marketplace: +0.1% over 7 days, +0.5% over 30 days, 90-day growth unavailable.

Ranking history

PHP Namespace Resolver VS Code Marketplace ranking history: currently #319 (by installs).PHP Namespace ResolverVS Code Marketplace ranking · by installs · Last 90 days#319current rank#312#314#316#318#320#322Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
PHP Namespace Resolver VS Code Marketplace ranking history: currently #319 (by installs).

Ratings over time

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

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,258 shown · page 16, #19 (overall #319)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages795 listings · 40 pages · page 7, #4 (overall #124)
Programming Languages: every listing in installs order

Listing placement

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

Listing placement

Formatters284 listings · 15 pages · page 3, #7 (overall #47)
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 (50)
Recent installs observations for PHP Namespace Resolver
Date (UTC)InstallsChange vs. previous
2,297,778+431
2,297,347+302
2,297,045+299
2,296,746+422
2,296,324+302
2,296,022+414
2,295,608+158
2,295,450+186
2,295,264+617
2,294,647+236
2,294,411+422
2,293,989+532
2,293,457+350
2,293,107—

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