Command-line tool
composer
brew/composer
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Dependency Manager for PHP
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install composer
macOS
brew install composer
Linux
brew install composer
Interactively create a `composer.json` file
composer init
Add a package as a dependency for this project, adding an entry to `composer.json`
composer require user/package
Install all the dependencies in this project's `composer.json` and create `composer.lock`
composer install
Related command-line tools
- ivy
Agile dependency manager - corral
Dependency manager for the Pony language - pyflow
A modern Python installation and dependency manager - swift-outdated
Check for outdated Swift package manager dependencies - pdm
Modern Python package and dependency manager supporting the latest PEP standards - carton
Perl module dependency manager (aka Bundler for Perl) proxy desktop network sing-box - pnpm
Fast, disk space efficient package manager npm javascript package-manager nodejs node install dependency-manager modules - mint
Dependency manager that installs and runs Swift command-line tool packages mintlify mint cli
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents