Composer (software)

Composer
Developer(s)Nils Adermann,
Jordi Boggiano
Initial releaseMarch 1, 2012; 12 years ago (2012-03-01)[1]
Stable release
2.8.1[2] Edit this on Wikidata / 4 October 2024; 42 days ago (4 October 2024)
Repository
Written inPHP
Operating systemCross-platform
TypePackage manager
LicenseMIT License
Websitegetcomposer.org

Composer is an application-level dependency manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries. It was developed by Nils Adermann and Jordi Boggiano, who continue to manage the project. They began development in April 2011 and first released it on March 1, 2012.[1] Composer is strongly inspired by Node.js's "npm" and Ruby's "bundler".[3] The project's dependency solving algorithm started out as a PHP-based port of openSUSE's libzypp SAT solver.[4]

Composer runs from the command line and installs dependencies (e.g. libraries) for an application. It also allows users to install PHP applications that are available on "Packagist"[5] which is its main repository containing available packages. It also provides autoload capabilities for libraries that specify autoload information to ease usage of third-party code.

  1. ^ a b Software release, github.com, Retrieved April 24, 2016.
  2. ^ "Release 2.8.1". 4 October 2024. Retrieved 21 October 2024.
  3. ^ Getting Started/Dependency management, getcomposer.org, Retrieved November 28, 2013.
  4. ^ "composer/composer". Jun 23, 2020. Retrieved Jun 24, 2020 – via GitHub.
  5. ^ See packagist.org