pkg.sopackage field notes

brew / rank 315

Install composer with Homebrew

Dependency Manager for PHP. Version 2.10.2 via Homebrew; verified 2026-07-01.

agent safety

Agent safety answer

composer manages PHP dependencies and package publishing workflows.

Credential access

Reads auth.json, repository tokens, environment variables, and project config.

Remote mutation

Can install packages and run scripts that affect remote systems.

Publish/artifact risk

Can publish packages or build deployable PHP artifacts.

Recommended control

Gate scripts, publish operations, and credentialed repository access.

Agent-use guidance

Allow dependency inspection; require approval for scripts, publishes, and private-repo credentials.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install composer

provider-native install command

overview

Package summary

Dependency Manager for PHP

Commands and aliases

  • composer

history

Project history and usage

Composer is the standard dependency manager for PHP projects. It lets projects declare library dependencies, resolves installable versions, and installs packages into the project rather than acting like a system package manager.

Project history

Composer was created by Nils Adermann and Jordi Boggiano and released under the MIT license. Official documentation describes it as inspired by npm and Bundler, bringing per-project dependency resolution and installation to PHP. Packagist serves as the public package index for Composer packages.

Adoption history

Packagist records `composer/composer` package versions starting with 1.0.0-alpha1 in 2012, and GitHub releases include 1.0.0-alpha1 in 2013. The official README points users to Packagist for public packages and to Private Packagist for private hosting, showing how Composer became both a CLI and a package ecosystem.

How it is used

Normal Composer usage starts with a project `composer.json`, produces a lock file for reproducible installs, and installs dependencies into `vendor`. It can be installed locally as a PHAR, globally on PATH, through Docker, or through OS package managers such as Homebrew.

Why package nerds care

Composer is package-manager infrastructure, not just a CLI. Its resolver, lock file, Packagist integration, authentication model, and VCS support made PHP packages installable with dependency constraints in a way familiar to users of npm, Bundler, and other language package managers.

Timeline

  • 2012: Packagist records `composer/composer` 1.0.0-alpha1.
  • 2013: GitHub releases include Composer 1.0.0-alpha1.
  • 2016: Composer 1.0.0 was released.
  • 2020: Composer 2.0.0 was released.
  • 2026: Packagist continues to track active Composer 2.x development.

Related projects

  • Composer is closely tied to Packagist, Private Packagist, PHP's PHAR distribution model, and language package managers such as npm and Bundler that influenced its design.

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:dependency manager

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
~/Library/Application Support/Composer/auth.json
Unix
$XDG_CONFIG_HOME/composer/auth.json~/.composer/auth.json

executables

Installed executables

CommandKindExposureNote
composerexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version2.10.2
manager updated2026-07-01
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:composer
Version2.10.2
Package managerHomebrew
Homepagehttps://getcomposer.org/
Last updated2026-07-01T13:09:12Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation