PHPackages                             monogo/zero-downtime-deployment - 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. monogo/zero-downtime-deployment

ActiveMagento2-module[DevOps &amp; Deployment](/categories/devops)

monogo/zero-downtime-deployment
===============================

Magento 2 module to achieve zero downtime deployment

2.1.0(3y ago)2025.9k↓30.6%4MITPHPPHP &gt;=7.4

Since May 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/MonogoPolska/monogo-m2-zero-downtime-deployment)[ Packagist](https://packagist.org/packages/monogo/zero-downtime-deployment)[ RSS](/packages/monogo-zero-downtime-deployment/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

#### Magento 2 module for Zero downtime deployment.

[](#magento-2-module-for-zero-downtime-deployment)

Module prevents showing database versions exception when you pull new code to the server. The best idea is to use CI/CD with Docker/Kubernetes. Suggested deployment:

- get docker base image
- run php bin/magento setup:upgrade on destination database
- run php bin/magento setup:di:compile and php bin/magento setup:static-content:deploy on build container
- deploy new container

NOTICE: If new version contain new classes (for example in EAV) or changed logic, Magento could behave unpredictable. You are using this module at your own risk!

Inspiration:

Thanks Yegor Shytikov!

This module will work only with Magento 2.4.0 and higher

**Install**
===========

[](#install)

### Git

[](#git)

- Locate the **/app/code** directory which should be under the magento root installation.
- If the **code** folder is not there, create it.
- Create a folder **Monogo** inside the **code** folder.
- Change to the **Monogo** folder and clone the Git repository () into **Monogo** specifying the local repository folder to be **OptimizeDatabase**e.g.

` git clone https://github.com/MonogoPolska/monogo-zero-downtime-deployment ZeroDowntimeDeployment`

### Composer

[](#composer)

`composer require monogo/zero-downtime-deployment`

### Magento Setup

[](#magento-setup)

- Run Magento commands

`php bin/magento setup:upgrade`

`php bin/magento setup:di:compile`

`php bin/magento setup:static-content:deploy`

**App Configuration Options**
=============================

[](#app-configuration-options)

Go to Stores-&gt;Configuration-&gt;Monogo-&gt;Zero downtime deployment

- Enable module **Default value is 0 (No)**
- Enable logger **Default value is 0 (No)**

**TODO**
========

[](#todo)

- Tests

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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 ~460 days

Total

3

Last Release

1273d ago

Major Versions

1.0.1 → 2.0.12020-07-29

PHP version history (3 changes)1.0.1PHP ~7.3.0

2.0.1PHP ~7.3.0||~7.4.0

2.1.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/87059637e00638d5d5d08d8e94ef97b3168cd0b4bfde4e512ed77cef38106ae5?d=identicon)[Monogo](/maintainers/Monogo)

---

Top Contributors

[![pawel-detka](https://avatars.githubusercontent.com/u/17678684?v=4)](https://github.com/pawel-detka "pawel-detka (5 commits)")

---

Tags

magento 2zero downtime deployment

### Embed Badge

![Health badge](/badges/monogo-zero-downtime-deployment/health.svg)

```
[![Health](https://phpackages.com/badges/monogo-zero-downtime-deployment/health.svg)](https://phpackages.com/packages/monogo-zero-downtime-deployment)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[magepal/magento2-gmailsmtpapp

Magento 2 SMTP Extension - Configure Magento 2 to send all transactional email using Gmail, G Suite, Amazon SES, Office360, Mailgun, SendGrid, Mandrill or any other SMTP servers

3321.8M2](/packages/magepal-magento2-gmailsmtpapp)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)

PHPackages © 2026

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