public function activate(Composer $composer, IOInterface $io)
{
static::$io = $io;
if (static::$io->isVerbose()) {
static::$io->write(_('Activating PHP Composter plugin'), true);
}
$installer = new Installer(static::$io, $composer);
$composer->getInstallationManager()->addInstaller($installer);
$filesystem = new Filesystem();
$this->cleanUp($filesystem);
$this->linkBootstrapFiles($filesystem);
$this->createGitHooks($filesystem);
}