Composer PHP Packages (Packagist)
Browse, search, and install Packagist packages directly from the VS Code sidebar — without leaving your editor.


Features
- Installed packages — See all packages from your project's
composer.json at a glance, with dev badge for dev dependencies
- Browse popular packages — Opens with a curated list of the most downloaded Packagist packages, with infinite scroll
- Search — Find any package by name or keyword; results load incrementally as you scroll
- Sort results — Sort search results by relevance, install count, rating, or name
- Package details — Click any package to open a detail panel with version, download stats, and rendered README
- Install via Composer — Run
composer require for any package directly from the extension
- Open on Packagist — Jump to the package's Packagist page in your browser with one click
Installation
From VS Code Marketplace
- Open the Extensions view (
Ctrl+Shift+X)
- Search for Composer PHP Packages
- Click Install
Usage
- Click the Composer icon in the Activity Bar
- The Installed Packages accordion shows packages from your project's
composer.json
- The sidebar loads popular packages automatically below
- Use the search box to find a specific package
- Click a package card to view its README and details
- Click + Install to run
composer require <package> in your workspace terminal
- Click the link icon (↗) on any card to open the Packagist page in your browser
Requirements
- VS Code
1.85 or later
- Composer installed and available in your
PATH (required for the install feature)
Author
Made by Aftandil MMD
License
MIT
| |