Composer is the dependency manager for PHP. The composer.json file declares the required packages, composer install downloads them into vendor/ and composer.lock pins the exact versions so that the whole team gets the same result. It also generates the autoloader.
Example
composer require monolog/monolog