Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.
Think npm install
but then for PHP
{
"require": {
"monolog/monolog": "1.2.*"
}
}
$ composer install
Plays nice with packages that support PSR-0 autoloading. Packages can be found on packagist.org