PHPackages                             rch/capistrano-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. rch/capistrano-bundle

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

rch/capistrano-bundle
=====================

Continuous deployment for Symfony2+

v2.1.0(10y ago)112592[1 issues](https://github.com/chalasr/rchcapistranobundle/issues)GPL-3.0PHPPHP &gt;=5.5.9

Since Mar 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/chalasr/rchcapistranobundle)[ Packagist](https://packagist.org/packages/rch/capistrano-bundle)[ RSS](/packages/rch-capistrano-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (6)Versions (7)Used By (0)

RCH/CapistranoBundle
====================

[](#rchcapistranobundle)

[![Build Status](https://camo.githubusercontent.com/5e7937c0d9dc5f84b0c03173c739b1b12ee860fda42b549479bf35546ab1ce24/68747470733a2f2f7472617669732d63692e6f72672f6368616c6173722f52434843617069737472616e6f42756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/chalasr/RCHCapistranoBundle)[![SensioLabsInsight](https://camo.githubusercontent.com/566ebbebbcd1223eea4bc4bf7fae4b019d30d499f04ec18db7c17bd68b8876a4/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f65383134616338622d346131632d343938642d623965612d3665316564643266623236662f6d696e692e706e67)](https://insight.sensiolabs.com/projects/e814ac8b-4a1c-498d-b9ea-6e1edd2fb26f)

[![](Resources/doc/SCREENCAST.gif)](Resources/doc/SCREENCAST.gif)

Integrates deployment as part of your development environment.

- *Sets up a fast and automated deployment workflow*
- *Creates stagings in configuration format (YAML, PHP, XML)*
- *Controls tasks execution order through namespaces*
- *Generates custom tasks and environment variables*.

Prerequisites
=============

[](#prerequisites)

- Ruby &gt;= 2.0

This version of the bundle requires **Symfony 3+**.
For a Symfony version between *2.4.x* and the last LTS release, [**please use the 1.0 branch**](https://github.com/chalasr/rchcapistranobundle/tree/1.0).

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

[](#installation)

Download the bundle
-------------------

[](#download-the-bundle)

```
$ composer require rch/capistrano-bundle:~2.0
```

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.

Enable the Bundle
-----------------

[](#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:

```
// app/AppKernel.php

$bundles = array(
    // ...
    new RCH\CapistranoBundle\RCHCapistranoBundle(),
);
```

Install &amp; Configure Capistrano
----------------------------------

[](#install--configure-capistrano)

Build installation files for capistrano

```
$ app/console rch:deploy:install
```

Install dependencies

```
$ bundle install
```

Usage
=====

[](#usage)

Setup deployment configuration in interactive mode

```
$ app/console rch:deploy:setup
```

Build Stagings
--------------

[](#build-stagings)

```
# app/config/rch/stagings/[staging].yml

# Remote host
domain: 'ssh_host'
# Remote user
user: 'ssh_user'
# Remote key
keys: '/home/ssh_user/.ssh/id_rsa'
# Forward Agent
forward_agent: 'false'
# Authentication mode
auth_methods: 'publickey password'
# Deployment path
deploy_to: '/path/to/deploy'
```

Run deployment
--------------

[](#run-deployment)

```
$ app/console rch:deploy:run --staging-name=[STAGING-NAME]
```

Advanced usage
==============

[](#advanced-usage)

Look at [the capistrano documentation](https://github.com/capistrano/capistrano#usage).

Contributing
============

[](#contributing)

This bundle needs help! For the contribution guidelines, see the [CONTRIBUTING.md](CONTRIBUTING.md) distributed file.

Todo
----

[](#todo)

- Command\\Generate\\GenerateStagingCommand, takes an yaml file as optional argument (even look for an existing if the argument is not set) and generates a staging for capistrano in interactive mode (optional).
- Make the path of config files (staging, task) configurable using a bundle Extension.
- Handle XML/PHP in GenerateStagingCommand.

License
=======

[](#license)

[![License](https://camo.githubusercontent.com/470834c82b0dca8e164bec7caaa76c07e85bc2bc992051d0e683ca8d31706886/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d67706c332d626c75652e737667)](http://www.gnu.org/licenses/gpl-3.0.html)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 99.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

6

Last Release

3688d ago

Major Versions

v1.2.0 → v2.0.02016-03-19

PHP version history (2 changes)v1.2.0PHP &gt;=5.3.9

v2.0.0PHP &gt;=5.5.9

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/80840?v=4)[Ryan C. Hill](/maintainers/rch)[@rch](https://github.com/rch)

---

Top Contributors

[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (111 commits)")[![Veve2](https://avatars.githubusercontent.com/u/9213728?v=4)](https://github.com/Veve2 "Veve2 (1 commits)")

---

Tags

bundleSymfony2workflowdeployproductioncapistranocapifony

### Embed Badge

![Health badge](/badges/rch-capistrano-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/rch-capistrano-bundle/health.svg)](https://phpackages.com/packages/rch-capistrano-bundle)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54642.4k4](/packages/jolicode-castor)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
