PHPackages                             ibrows/be-simple-deployment-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. ibrows/be-simple-deployment-bundle

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

ibrows/be-simple-deployment-bundle
==================================

Symfony2 applications deployment made easy

1.1.5(12y ago)033.1kMITPHPPHP &gt;=5.3.0

Since Feb 20Pushed 5y agoCompare

[ Source](https://github.com/ibrows/BeSimpleDeploymentBundle)[ Packagist](https://packagist.org/packages/ibrows/be-simple-deployment-bundle)[ RSS](/packages/ibrows-be-simple-deployment-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

Symfony2 applications deployment made easy
==========================================

[](#symfony2-applications-deployment-made-easy)

*Up to date thanks to jonaswouters*

A few words
-----------

[](#a-few-words)

\###Description

- Deploy your project usinc rsync (must be installed) in ssh mode.
- Setup deployment on many servers.
- Easily create rules for rsync (ignore / force files).
- Schedule commands to run on ditant server via ssh (SSH2 PHP extension required).

\###Links

- Stable releases :
- Nightly builds :
- Rest documentation : *will come later*

\###Requirements

- Rsync package :
- SSH2 extension :

How to install
--------------

[](#how-to-install)

1. Get the sources via GIT

    - Use clone method if not using GIT for your project

        git clone git://github.com/besimple/DeploymentBundle.git vendor/BeSimple/DeploymentBundle
    - Use submodule method if this is the case

        git submodule add git://github.com/besimple/DeploymentBundle.git vendor/BeSimple/DeploymentBundle
2. Register bundle in `AppKernel` class

    ```
    // app/AppKernel.php

    $bundles = array(
        // ...
        new BeSimple\DeploymentBundle\BeSimpleDeploymentBundle(),
        // ...
    );

    ```
3. Add `besimple_deployment` entry to your config file

    ```
    # app/config.yml

    be_simple_deployment:
        rsync:    ~
        ssh:      ~
        rules:    ~
        commands: ~
        servers:  ~

    ```
4. Add `BeSimple` namespace to autoload

    ```
    // app/autoload.php

    $loader->registerNamespaces(array(
        // ...
        'BeSimple' => __DIR__.'/../vendor',
        // ...
    ));

    ```

How to configure
----------------

[](#how-to-configure)

\###An example

```
be_simple_deployment:
  rsync:
    delete:     true
  rules:
    eclipse:
      ignore:   [.settings, .buildpath, .project]
    netbeans:
      ignore:   [nbproject]
    phpstorm:
      ignore:   [.idea]
    git:
      ignore:   [.git, .git*]
    svn:
      ignore:   [.svn]
    symfony:
      ignore:   [/app/cache/*, /app/logs/*, /app/config/parameters.yml, /web/bundles/*, /web/uploads/*, /web/js/*, /web/css/*]
    hosting:
      ignore:   [/.htaccess, /.htpasswd, /web/.htaccess, /web/.user.ini, /web/manage.php, /web/phpinfo.php, /web/ntunnel_mysql.php]
    system:
      ignore:   [._*, .DS_Store]
  commands:
    cache_clear:
      type:     symfony
      command:  cache:clear
    assetic_dump:
      type:     symfony
      command:  assetic:dump
    assets_install:
      type:     symfony
      command:  assets:install
  ssh:
    connect_methods:
      server_to_client:
         crypt: rijndael-cbc@lysator.liu.se, aes256-cbc, aes192-cbc, aes128-cbc, 3des-cbc, blowfish-cbc, cast128-cbc, arcfour
      client_to_server:
         crypt: rijndael-cbc@lysator.liu.se, aes256-cbc, aes192-cbc, aes128-cbc, 3des-cbc, blowfish-cbc, cast128-cbc, arcfour
  servers:
    dev:
      host:         dev.server.ch
      username:     username

      pubkey_file:  %deploy_dev_pubkey_file%
      privkey_file: %deploy_dev_privkey_file%
      passphrase:   %deploy_dev_passphrase%

      path:         /home/user/www/dev.project.com/
      rules:        [eclipse, netbeans, phpstorm, git, svn, symfony, hosting, system]
      commands:     [cache_clear, assetic_dump, assets_install]

      symfony_command: php -c web/.user.ini app/console --env=dev
    prod:
      host:         prod.server.ch
      username:     username

      pubkey_file:  %deploy_prod_pubkey_file%
      privkey_file: %deploy_prod_privkey_file%
      passphrase:   %deploy_prod_passphrase%

      path:         /home/user/www/prod.project.com/
      rules:        [eclipse, netbeans, phpstorm, git, svn, symfony, hosting, system]
      commands:     [cache_clear_dev, assetic_dump, assets_install]

      symfony_command: php -c web/.user.ini app/console --env=prod

```

How to use
----------

[](#how-to-use)

\###Using the commands

The simpliest way to deploy your application is to use the command line, go into your project root folder and type the following commands :

```
# Test your deployment :
./app/console deployment:test [server]

# Launch your deployment :
./app/console deployment:launch [server]

```

You can use the verbose option (`-v`) to get all feedback from rsync and remote ssh commands.

\###Using the service

You can also use the deployment feature within your controller by invoking the 'deployment' service :

```
// Test your deployment :
$this->get('besimple_deployment')->test([$server]);

// Launch your deployment :
$this->get('besimple_deployment')->launch([$server]);

```

You can connect many events to know what's happening.

\###Deployer events

- **onDeploymentStart** : fired on deployment start.
- **onDeploymentSuccess** : fired on deployment success.

\###Rsync events

- **onDeploymentRsyncStart** : fired when rsync is started.
- **onDeploymentRsyncFeedback** : fired on each rsync `stdout` or `stderr` line.
- **onDeploymentRsyncSuccess** : fired on rsync success.

\###SSH events

- **onDeploymentSshStart** : fired when SSH command run.
- **onDeploymentSshFeedback** : fired on each SSH `stdout` or `stderr` line.
- **onDeploymentSshSuccess** : fired on SSH command success.

###  Health Score

32

—

LowBetter than 70% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 56.4% 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 ~67 days

Recently: every ~114 days

Total

8

Last Release

4389d ago

Major Versions

0.9.0 → 1.0.02013-02-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/31dcaa71007628affe5a759a757d17182e05ab88f2b018a46d74c62bc10d8249?d=identicon)[ibrows](/maintainers/ibrows)

---

Top Contributors

[![jfsimon](https://avatars.githubusercontent.com/u/119407?v=4)](https://github.com/jfsimon "jfsimon (22 commits)")[![stephpy](https://avatars.githubusercontent.com/u/232744?v=4)](https://github.com/stephpy "stephpy (10 commits)")[![mikemeier](https://avatars.githubusercontent.com/u/776406?v=4)](https://github.com/mikemeier "mikemeier (6 commits)")[![EmmanuelVella](https://avatars.githubusercontent.com/u/663607?v=4)](https://github.com/EmmanuelVella "EmmanuelVella (1 commits)")

---

Tags

deployibrowsdeployment

### Embed Badge

![Health badge](/badges/ibrows-be-simple-deployment-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ibrows-be-simple-deployment-bundle/health.svg)](https://phpackages.com/packages/ibrows-be-simple-deployment-bundle)
```

###  Alternatives

[easycorp/easy-deploy-bundle

The easiest way to deploy Symfony applications

469312.2k](/packages/easycorp-easy-deploy-bundle)[jalogut/magento2-deployer-plus

Magento 2 deployment tool based on deployer.org

201439.0k](/packages/jalogut-magento2-deployer-plus)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[rafaelstz/deployer-magento2

Magento 2 deployment tool based on deployer.org

5223.8k](/packages/rafaelstz-deployer-magento2)[ngmy/webloyer

Webloyer is a Web UI for managing Deployer deployments

2191.1k](/packages/ngmy-webloyer)

PHPackages © 2026

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