Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

PHP Composer Tools

Package Overview
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry
This package was compromised as part of the ongoing "GlassWorm v2" supply chain attack.

Affected versions:

1.63.18156
View campaign page

PHP Composer Tools

All-in-One composer integration, quick actions, commands, automatic installation, tasks, code lenses, diagnostics, and composer.json IntelliSense.

unpublished
Open VSX
Version
1.63.18156
Version published
Maintainers
0
Created
Source
PHP Composer Tools
PHP Composer Tools
Composer Integration for Visual Studio Code
Composer "All-in-One" seamlessly integrates Composer and Packagist into Visual Studio Code.
Instantly run composer commands, leverage smart IntelliSense for composer.json,
code lenses, quick actions, schema validation,
browse and search packages, outdated dependency diagnostics, script running,
and full composer task integration — all with almost zero setup.

Only PHP is required. Composer is downloaded automatically.

Composer for Visual Studio Code

Composer "All-in-One" provides seamless Composer and Packagist integration in Visual Studio Code. Run Composer commands, leverage advanced IntelliSense for composer.json, access code lenses and quick actions, use schema validation, search packages, get abandoned package warnings, run/manage Composer scripts and much more.

Only PHP needs to be installed. Composer is downloaded and managed automatically for you.

Features

composer.json Editor & IntelliSense

  • Package Name Completion
    Get autocomplete for package names directly from Packagist.

    composer completion

  • Package Version Completion
    Receive intelligent version constraint suggestions.

    complete package version

  • Detailed Tooltips
    Hover over packages or versions for rich information.

    composer package tooltip

  • Context Actions
    Quickly update or remove dependencies with a click.

    composer code actions

  • Installed Version Inlay
    See installed package versions directly in your composer.json.

    composer installed versions

  • Run-Script CodeLens
    Execute custom Composer scripts from your editor.

    composer run-script codelens

  • Abandoned Package Diagnostics
    Receive warnings about abandoned composer packages.

    composer abandoned diagnostic

Key Commands

  • composer: install — Run composer install
  • composer: update — Run composer update
  • composer: require — Add dependencies (with search and add)
    composer require
  • composer: require-dev — Add development dependencies
  • composer: remove — Remove dependencies
    composer remove
  • composer: create-project — Start a project from any Composer package
    composer create-project
  • composer: search — Search packages on packagist.org
    composer search
  • composer: run-script — Run custom Composer scripts
    composer run-script
  • composer: check-platform-reqs — Validate platform requirements
  • composer: update internal composer.phar — Update the built-in composer.phar
  • Other actionsabout, archive, clear-cache, fund, licenses, outdated, reinstall, and more

VS Code Tasks

Run any Composer command as a VS Code Task. No need for a global Composer install—this extension handles everything!

Example task:

"tasks": [
  {
    "label": "check",
    "type": "composer",
    "command": "check-platform-reqs",
    "args": []
  }
]

Schema Validation

Your composer.json is automatically validated against the official JSON schema.

  • Ensures file correctness
  • Enables accurate tooltips and completions for every setting

Configuration

Composer will be downloaded and managed automatically, stored at the default location.
Override this with COMPOSER_HOME environment variable.
Set your PHP path via php.executablePath in VS Code settings.

SettingDescription
php.executablePathPath to the PHP executable. Defaults to php if unset. If you are using PHP Tools, its selected PHP version will be used automatically.

Acknowledgments

  • Based on the work of Composer and Packagist, including portions of the JSON schema and extension icon.

Keywords

autocomplete

FAQs

Package last updated on 17 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts