Either from the console:
composer require ptlis/conneg-bundle:"~4.0.0"
Or by Editing composer.json:
{
"require": {
"ptlis/conneg-bundle": "~4.0.0"
}
}
Followed by a composer update:
composer update
After installation you need to include Composer’s autoloader:
require 'vendor/autoload.php';