PHPackages                             ibrows/deploy-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/deploy-bundle

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

ibrows/deploy-bundle
====================

Bundle for executing commands after deployment or composer install based on current server and/or environment

4.0.7(8y ago)0397proprietaryPHPCI failing

Since Jun 6Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (8)Versions (34)Used By (0)

IbrowsDeployBundle
==================

[](#ibrowsdeploybundle)

```
composer install # --> local installation and cache:clear, schema:update, etc.
php bin/console ibrows:deploy test # --> Tag current version in GIT with test_X (X is calculated automatically)
php bin/console ibrows:deploy test --immediate="atrila" # --> Same as above, but connects afterwards over ssh to atrila and execute "ibrows_deploy" so you dont have to wait
```

Configuration

```
ibrows_deploy:
    server: %deploy_server%
    environment: %deploy_environment%
    basic_auth_users:
        - { user: ibrows, pass: 4EmbOAwVyiOSFFLI }
        - { user: projectname, pass: projectpass }
    immediate_process_strategies:
        atrila:
            serviceid: ibrows_deploy.server.immediateprocessstrategy.atrila
            options:
                user: __SSH_USER__
                passphrase: %deploy_atrila_ssh_passphrase%
                publicKeyFile: %deploy_atrila_ssh_publickeyfile%
                privateKeyFile: %deploy_atrila_ssh_publickeyfile%
                config: %deploy_atrila_ssh_config%
    server_environments:
        localhost_dev:
            cacheclear:
                - {priority: 1, args: { symfonyEnv: dev }}
            assetsinstall:
                - {priority: 2, args: { symlink: true }}
            asseticdump:
                - {priority: 3, args: { symfonyEnv: dev }}
            doctrineschemaupdate:
                - {priority: 4, args: { symfonyEnv: dev, force: true, complete: true, dumpSql: false }}
        atrila_dev:
            cacheclear:
                - {priority: 1, args: { symfonyEnv: dev }}
                - {priority: 2, args: { symfonyEnv: prod }}
            assetsinstall:
                - {priority: 3}
            asseticdump:
                - {priority: 4, args: { symfonyEnv: dev }}
                - {priority: 5, args: { symfonyEnv: prod }}
            doctrineschemaupdate:
                - {priority: 6, args: { symfonyEnv: dev, force: true, complete: true, dumpSql: false }}
        atrila_test:
            mysqldump:
                - {priority: 1, args: { path: ~/backup/database }}
            cacheclear:
                - {priority: 2, args: { symfonyEnv: dev }}
                - {priority: 3, args: { symfonyEnv: prod }}
            assetsinstall:
                - {priority: 4}
            asseticdump:
                - {priority: 5, args: { symfonyEnv: dev }}
                - {priority: 6, args: { symfonyEnv: prod }}
            doctrineschemaupdate:
                - {priority: 7, args: { symfonyEnv: dev, force: true, complete: true, dumpSql: false }}
        atrila_production:
            mysqldump:
                - {priority: 1, args: { path: ~/backup/database }}
            #opcachereset: # - not needed on atrila server because switch_env command on shell will also clear opcache
                #- {priority: 2, args: { host: 'integration.projectname.atri.ibrows.ch', user: ibrows, pass: 4EmbOAwVyiOSFFLI }}
            cacheclear:
                - {priority: 3, args: { symfonyEnv: dev }}
                - {priority: 4, args: { symfonyEnv: prod }}
            assetsinstall:
                - {priority: 5}
            asseticdump:
                - {priority: 6, args: { symfonyEnv: dev }}
                - {priority: 7, args: { symfonyEnv: prod }}
        atrila_*:
            writebasicauthusersfile:
                - {priority: 0}
```

Routing (for OpCache Reset) - not needed on atrila server because switch\_env command on shell will also clear opcache

```
# IbrowsDeployBundle (for OpCache Reset)
ibrows_deploy:
    resource: "@IbrowsDeployBundle/Controller/"
    type:     annotation
    prefix:   /
```

Security (for OpCache Reset) - not needed on atrila server because switch\_env command on shell will also clear opcache

```
security:
    access_control:
        - { path: ^/ibrows/deploy/opcache/reset, role: IS_AUTHENTICATED_ANONYMOUSLY }
```

parameters.yml.dist (DO NOT SET DEFAULT VALUES ON deploy\_server OR deploy\_environment!) If you set default server to 'localhost' and environment to 'dev' it's verly likely that a production server will get those parameters as well and start to schema update with --force --complete for example

```
deploy_server: ~
deploy_environment: ~
deploy_atrila_ssh_passphrase: ASK
deploy_atrila_ssh_publickeyfile: ~
deploy_atrila_ssh_privatekeyfile: ~
deploy_atrila_ssh_config: ~
```

composer.json

```
"require": {
    "ibrows/deploy-bundle": "2.*"
},
"scripts": {
    "post-install-cmd": [
        "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
        "Ibrows\\DeployBundle\\Composer\\ScriptHandler::deploy"
    ],
    "post-update-cmd": [
        "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
        "Ibrows\\DeployBundle\\Composer\\ScriptHandler::deploy"
    ]
},
"repositories": [
    {
        "type": "vcs",
        "url": "git@codebasehq.com:ibrows/ibrowsch/ibrowsdeploybundle.git"
    }
]
```

AppKernel

```
new Ibrows\DeployBundle\IbrowsDeployBundle()
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~42 days

Recently: every ~79 days

Total

33

Last Release

3019d ago

Major Versions

1.0.4 → 2.0.02014-06-13

2.5.1 → 3.0.02016-01-13

2.6.x-dev → 4.0.02017-03-17

### Community

Maintainers

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

---

Top Contributors

[![igoooor](https://avatars.githubusercontent.com/u/1036285?v=4)](https://github.com/igoooor "igoooor (6 commits)")[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (4 commits)")

---

Tags

deployibrowsdeployment

### Embed Badge

![Health badge](/badges/ibrows-deploy-bundle/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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