|Stable release||1.0.0-alpha9 / December 7, 2014|
Composer is an application-level package 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. Composer is strongly inspired by Node.js's "npm" and Ruby's "bundler".
Composer runs through 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" 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.
The following example shows how to install a version of Semantic MediaWiki greater than 220.127.116.11:
$ php composer.phar require mediawiki/semantic-media-wiki "1.9.*,>=18.104.22.168"
- Software CHANGELOG, github.com, Retrieved November 28, 2013.
- Getting Started/Dependency management, getcomposer.org, Retrieved November 28, 2013.
- See packagist.org
- Maks Surguy (July 27, 2013). "History of Laravel PHP framework, Eloquence emerging". maxoffsky.com. Retrieved May 10, 2015.
|Wikimedia Commons has media related to Composer (software).|
- Official website
- Composer on GitHub
- Composer documentation
- Packagist - the main Composer repository
- Composer at Open Hub