PHPackages                             trilobit-gmbh/contao-refresh-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. trilobit-gmbh/contao-refresh-bundle

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

trilobit-gmbh/contao-refresh-bundle
===================================

Contao 4 / Contao 5 refresh bundle (e.g. dev -&gt; stage, stage -&gt; live, ...)

3.0.0(1mo ago)11.1k1LGPL-3.0-or-laterPHPPHP ^8.0

Since Mar 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/trilobit-gmbh/contao-refresh-bundle)[ Packagist](https://packagist.org/packages/trilobit-gmbh/contao-refresh-bundle)[ RSS](/packages/trilobit-gmbh-contao-refresh-bundle/feed)WikiDiscussions main Synced 3d ago

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

Refresh Bundle
==============

[](#refresh-bundle)

This is a bundle for \[Contao CMS\] (version 4.13.x, 5.3.x).

Dies ist ein Bundle für \[Contao CMS\] (Version 4.13.x, 5.3.x).

Installation
------------

[](#installation)

Install the extension via composer: [trilobit-gmbh/contao-refresh-bundle](https://packagist.org/packages/trilobit-gmbh/contao-refresh-bundle).

Kompatibilität / Getestet / Compatibility / Tested
--------------------------------------------------

[](#kompatibilität--getestet--compatibility--tested)

- Contao version ~4.13
- Contao version ~5.3

Configuration
-------------

[](#configuration)

You can define the following configuration parameters via your `config.yml` file:

```
# example
trilobit_refresh:
  config:
    php: "php8.2 -d memory_limit=3G"
    symfony: "##php## ./vendor/bin/contao-console"
    contao-manager: "contao-manager.phar.php"
    composer: "##contao-manager## composer"

    environments:
      dev2stage:
        name: "EXAMPLE - dev 2 stage"
        dumps_path: "%kernel.project_dir%/system/tmp"

        exclude:
          database:
            tables:
              - "tl_crawl_queue"
              - "tl_cron_job"
              - "tl_log"
              - "tl_opt_in"
              - "tl_opt_in_related"
              - "tl_remember_me"
              - "tl_search"
              - "tl_search_index"
              - "tl_trusted_device"
              - "tl_undo"
              - "tl_user"
              - "tl_user_group"
              - "tl_version"

        source:
          path: "%kernel.project_dir%"
          db_host: "localhost"
          db_name: "contao_5_testing_53"
          db_user: "www"
          db_password: "www"

        target:
          path: "%kernel.project_dir%/../stage"
          db_host: "localhost"
          db_name: "contao_5_testing_53_refresh_stage"
          db_user: "www"
          db_password: "www"

        steps:
          - "clear old dump(s)": "cd ##dumps_path## && find source.sql target.sql -mtime +1 -exec rm {} \\;"
          - "contao-manager self-update": "cd ##source.path##/public && ##php## ##source.path##/public/##contao-manager## self-update"

          - "dump source database": "mysqldump --default-character-set=utf8 --add-drop-table ##exclude.database.tables|source.db_name## -h##source.db_host## -u##source.db_user## -p##source.db_password## ##source.db_name## -r##dumps_path##/source.$(date +\"%F\").sql"
          - "dump target database": "mysqldump --default-character-set=utf8 --add-drop-table ##exclude.database.tables|target.db_name## -h##target.db_host## -u##target.db_user## -p##target.db_password## ##target.db_name## -r##dumps_path##/target.$(date +\"%F\").sql"

          - "maintenance lock": "cd ##target.path## && ##symfony## contao:maintenance-mode on"

          - "copy composer": "cd ##source.path## && rsync -avPuz composer.* ##target.path##/"
          - "copy contao-manager": "cd ##source.path##/public && rsync -avPuz contao-manager.phar.php ##target.path##/public/"

          - "copy system/config": "cd ##source.path##/system  && mkdir -p ##target.path##/system/config && rsync -avPuz config/ ##target.path##/system/config"
          - "copy templates": "cd ##source.path## && mkdir -p ##target.path##/templates && rsync -avPuz templates/ ##target.path##/templates"
          - "copy layout": "cd ##source.path## && mkdir -p ##target.path##/layout && rsync -avPuz layout/ ##target.path##/layout"
          - "copy public/layout": "cd ##source.path##/public && mkdir -p ##target.path##/public/layout && rsync -avPuz layout/ ##target.path##/public/layout"
          - "copy assets": "cd ##source.path## && mkdir -p ##target.path##/assets && rsync -avPuz assets/ ##target.path##/assets"
          - "copy files": "cd ##source.path## && mkdir -p ##target.path##/files && rsync -avPuz files/ ##target.path##/files"

          - "composer install": "cd ##target.path## && ##php## ##target.path##/public/##composer## install"

          - "push source database": "cd ##dumps_path## && mysql --default-character-set=utf8 -h##target.db_host## -u##target.db_user## -p##target.db_password## ##target.db_name## < source.$(date +\"%F\").sql"
          - "push target database common updates": "cd ##dumps_path## && mysql --default-character-set=utf8 -h##target.db_host## -u##target.db_user## -p##target.db_password## ##target.db_name## < source.commonupdates.sql"

          - "cache clear prod": "cd ##target.path##/var/cache && rm -rf prod/"
          - "cache clear dev": "cd ##target.path##/var/cache && rm -rf dev/"
          - "cache warmup": "cd ##target.path##/ && ##symfony## cache:warmup"

          - "maintenance unlock": "cd ##target.path## && ##symfony## contao:maintenance-mode off"

      stage2prod:
        name: "EXAMPLE - stage 2 prod"
        dumps_path: "%kernel.project_dir%/system/tmp"

        exclude:
          database:
            tables:
              - "tl_crawl_queue"
              - "tl_cron_job"
              - "tl_log"
              - "tl_opt_in"
              - "tl_opt_in_related"
              - "tl_remember_me"
              - "tl_search"
              - "tl_search_index"
              - "tl_trusted_device"
              - "tl_undo"
              - "tl_user"
              - "tl_user_group"
              - "tl_version"

        source:
          path: "%kernel.project_dir%"
          db_host: "localhost"
          db_name: "contao_5_testing_53_refresh_stage"
          db_user: "www"
          db_password: "www"

        target:
          path: "%kernel.project_dir%/../prod"
          db_host: "localhost"
          db_name: "contao_5_testing_53_refresh_prod"
          db_user: "www"
          db_password: "www"

        steps:
          - "clear old dump(s)": "cd ##dumps_path## && find source.sql target.sql -mtime +1 -exec rm {} \\;"
          - "contao-manager self-update": "cd ##source.path##/public && ##php## ##source.path##/public/##contao-manager## self-update"

          - "dump source database": "mysqldump --default-character-set=utf8 --add-drop-table ##exclude.database.tables|source.db_name## -h##source.db_host## -u##source.db_user## -p##source.db_password## ##source.db_name## -r##dumps_path##/source.$(date +\"%F\").sql"
          - "dump target database": "mysqldump --default-character-set=utf8 --add-drop-table ##exclude.database.tables|target.db_name## -h##target.db_host## -u##target.db_user## -p##target.db_password## ##target.db_name## -r##dumps_path##/target.$(date +\"%F\").sql"

          - "maintenance lock": "cd ##target.path## && ##symfony## contao:maintenance-mode on"

          - "copy composer": "cd ##source.path## && rsync -avPuz composer.* ##target.path##/"
          - "copy contao-manager": "cd ##source.path##/public && rsync -avPuz contao-manager.phar.php ##target.path##/public/"

          - "copy system/config": "cd ##source.path##/system  && mkdir -p ##target.path##/system/config && rsync -avPuz config/ ##target.path##/system/config"
          - "copy templates": "cd ##source.path## && mkdir -p ##target.path##/templates && rsync -avPuz templates/ ##target.path##/templates"
          - "copy layout": "cd ##source.path## && mkdir -p ##target.path##/layout && rsync -avPuz layout/ ##target.path##/layout"
          - "copy public/layout": "cd ##source.path##/public && mkdir -p ##target.path##/public/layout && rsync -avPuz layout/ ##target.path##/public/layout"
          - "copy assets": "cd ##source.path## && mkdir -p ##target.path##/assets && rsync -avPuz assets/ ##target.path##/assets"
          - "copy files": "cd ##source.path## && mkdir -p ##target.path##/files && rsync -avPuz files/ ##target.path##/files"

          - "composer install": "cd ##target.path## && ##php## ##target.path##/public/##composer## install"

          - "push source database": "cd ##dumps_path## && mysql --default-character-set=utf8 -h##target.db_host## -u##target.db_user## -p##target.db_password## ##target.db_name## < source.$(date +\"%F\").sql"
          - "push target database common updates": "cd ##dumps_path## && mysql --default-character-set=utf8 -h##target.db_host## -u##target.db_user## -p##target.db_password## ##target.db_name## < source.commonupdates.sql"

          - "cache clear prod": "cd ##target.path##/var/cache && rm -rf prod/"
          - "cache clear dev": "cd ##target.path##/var/cache && rm -rf dev/"
          - "cache warmup": "cd ##target.path##/ && ##symfony## cache:warmup"

          - "maintenance unlock": "cd ##target.path## && ##symfony## contao:maintenance-mode off"
```

example configuration

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance68

Regular maintenance activity

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~743 days

Total

3

Last Release

33d ago

Major Versions

1.0.0 → 2.0.02025-04-22

2.0.0 → 3.0.02026-04-10

PHP version history (3 changes)1.0.0PHP ^7.3 || ^8.0

2.0.0PHP ^7.4 || ^8.0

3.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7868402?v=4)[trilobit-gmbh](/maintainers/trilobit-gmbh)[@trilobit-gmbh](https://github.com/trilobit-gmbh)

---

Top Contributors

[![trilobit-gmbh](https://avatars.githubusercontent.com/u/7868402?v=4)](https://github.com/trilobit-gmbh "trilobit-gmbh (18 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/trilobit-gmbh-contao-refresh-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/trilobit-gmbh-contao-refresh-bundle/health.svg)](https://phpackages.com/packages/trilobit-gmbh-contao-refresh-bundle)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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