EasyDeploy is distributed as a bundle that must be installed in each Symfony application that you want to deploy.
$ cd your-symfony-project/
$ composer require --dev easycorp/easy-deploy-bundle
And that's it! You can skip the rest of this article.
Step 1. Download the bundle:
$ cd your-symfony-project/
$ composer require --dev easycorp/easy-deploy-bundle
Step 2. Enable the bundle:
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
// ...
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
// ...
$bundles[] = new EasyCorp\Bundle\EasyDeployBundle\EasyDeployBundle();
}
return $bundles;
}
// ...
}