PHPackages                             rrb/deployer-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. rrb/deployer-bundle

AbandonedArchivedSymfony-bundle[DevOps &amp; Deployment](/categories/devops)

rrb/deployer-bundle
===================

A deployer for Symfony framework using Python fabric

0.0.3(9y ago)3701MITPHPPHP &gt;=5.4

Since Jun 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rubenrubiob/deployer-bundle)[ Packagist](https://packagist.org/packages/rrb/deployer-bundle)[ RSS](/packages/rrb-deployer-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (5)Used By (0)

Deployer Bundle
===============

[](#deployer-bundle)

This is a Symfony bundle to deploy to multiple hosts at once using the git strategy. It provides commands to do it easily.

Each host may have independent configuration, i.e., you may want to checkout a development branch in your staging server, whereas you may want the master branch in your production server.

By default, the bundle only checkouts a specific version (either a tag or no) and clears the cache, but there are optional tasks that may also be executed. The order of execution is:

1. checkout version
2. composer update (if set)
3. assets install (if set)
4. database migrations (if set)
5. cache clear

Installation
============

[](#installation)

Step 0: Install fabric
----------------------

[](#step-0-install-fabric)

This bundle uses [Fabric](http://www.fabfile.org) to connect to hosts and execute tasks on them. You usually install it via [pip](http://pip-installer.org):

```
$ pip install fabric
```

Check fabric [installation chapter](http://www.fabfile.org/installing.html)for further information about installation.

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require rrb/deployer-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
