Simply install composer
curl -sS https://getcomposer.org/installer | php
Run a composer init
to set up a new composer file. Then go and find your package you wish to install, so for example mine looks something like this
{
"require": {
"phpunit/phpunit": "3.7.24",
"phing/phing": "dev-master",
"mailgun/mailgun-php": "dev-master",
"modulargaming/kostache": "dev-master",
"codeception/codeception": "dev-master",
"erusev/parsedown": "dev-master",
"aws/aws-sdk-php": "2.3.*"
}
}
Then just run composer install
or composer update
You can then just comment out the modules in bootstrap.php
That is a very simple composer.json file, but gives you a basic idea.