Skip to main content

Deployer

A deployment tool written in PHP with support for popular frameworks out of the box.

Deployer used by hundreds thousands of projects around the world, performing more than a million of deploys each month. Deployer comes with more than 50 ready to use recipes for frameworks and third-party services.

Features

  • Simple setup process and a minimal learning curve.
  • Ready to use recipes for most frameworks.
  • Parallel execution without extensions.
  • Something went wrong? Rollback to the previous release.
  • Agentless, it’s just SSH.
  • Zero downtime deployments.

Main concept of Deployer is a recipe, a php file containing tasks definitions. A recipe can require other recipes and extend/override functionality.

Example
host('deployer.org');

task('uptime', function () {
$result = run('uptime');
writeln("{{hostname}} uptime: $result");
});
Output
$ dep uptime
deployer.org uptime: up for 3024 days

Installation

Globally
curl -LO https://deployer.org/deployer.phar
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep
In project
composer require deployer/dist --dev

And other installation methods.