PHPackages                             artem328/maintenance-command - 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. [CLI &amp; Console](/categories/cli)
4. /
5. artem328/maintenance-command

ActiveWp-cli-package[CLI &amp; Console](/categories/cli)

artem328/maintenance-command
============================

Allows to enabled/disable maintenance mode of your wordpress installation via cli

1.0.0(9y ago)0191MITPHP

Since Apr 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/artem328/wp-cli-maintenance-command)[ Packagist](https://packagist.org/packages/artem328/maintenance-command)[ Docs](https://github.com/artem328/maintenance-command)[ RSS](/packages/artem328-maintenance-command/feed)WikiDiscussions master Synced 2mo ago

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

artem328/maintenance-command
============================

[](#artem328maintenance-command)

Allows to control maintenance mode from cli

Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing)

Using
-----

[](#using)

### Enabling maintenance mode

[](#enabling-maintenance-mode)

For enable maintenance mode, use `wp maintenance enable`

For more information check help page `wp help maintenance enable`

### Disabling maintenance mode

[](#disabling-maintenance-mode)

For disabling maintenance mode, use `wp maintenance disable`

For more information check help page `wp help maintenance disable`

### Checking maintenance mode status

[](#checking-maintenance-mode-status)

For check status of maintenance mode, use `wp maintenance status`

For more information check help page `wp help maintenance status`

Installing
----------

[](#installing)

Installing this package requires WP-CLI v1.1.0 or greater. Update to the latest stable release with `wp cli update`.

Once you've done so, you can install this package with `wp package install artem328/maintenance-command`.

Contributing
------------

[](#contributing)

We appreciate you taking the initiative to contribute to this project.

Contributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.

### Reporting a bug

[](#reporting-a-bug)

Think you’ve found a bug? We’d love for you to help us get it fixed.

Before you create a new issue, you should [search existing issues](https://github.com/artem328/maintenance-command/issues?q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.

Once you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [create a new issue](https://github.com/artem328/maintenance-command/issues/new) with the following:

1. What you were doing (e.g. "When I run `wp post list`").
2. What you saw (e.g. "I see a fatal about a class being undefined.").
3. What you expected to see (e.g. "I expected to see the list of posts.")

Include as much detail as you can, and clear steps to reproduce if possible.

### Creating a pull request

[](#creating-a-pull-request)

Want to contribute a new feature? Please first [open a new issue](https://github.com/artem328/maintenance-command/issues/new) to discuss whether the feature is a good fit for the project.

Once you've decided to commit the time to seeing your pull request through, please follow our guidelines for creating a pull request to make sure it's a pleasant experience:

1. Create a feature branch for each contribution.
2. Submit your pull request early for feedback.
3. Include functional tests with your changes. [Read the WP-CLI documentation](https://wp-cli.org/docs/pull-requests/#functional-tests) for an introduction.
4. Follow the [WordPress Coding Standards](http://make.wordpress.org/core/handbook/coding-standards/).

Licence
-------

[](#licence)

MIT, see the [LICENCE](https://github.com/artem328/maintenance-command/blob/master/LICENSE.md) file

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Unknown

Total

1

Last Release

3320d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b922a2fd2078c0b55e5b51660bc393a1264dc839a5880bb7e24615c31f8503de?d=identicon)[artem328](/maintainers/artem328)

---

Top Contributors

[![artem328](https://avatars.githubusercontent.com/u/8807891?v=4)](https://github.com/artem328 "artem328 (6 commits)")

### Embed Badge

![Health badge](/badges/artem328-maintenance-command/health.svg)

```
[![Health](https://phpackages.com/badges/artem328-maintenance-command/health.svg)](https://phpackages.com/packages/artem328-maintenance-command)
```

###  Alternatives

[wp-cli/entity-command

Manage WordPress comments, menus, options, posts, sites, terms, and users.

1048.8M55](/packages/wp-cli-entity-command)[wp-cli/scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.

1717.7M15](/packages/wp-cli-scaffold-command)[wp-cli/i18n-command

Provides internationalization tools for WordPress projects.

11610.4M52](/packages/wp-cli-i18n-command)[wp-cli/extension-command

Manages plugins and themes, including installs, activations, and updates.

919.0M53](/packages/wp-cli-extension-command)[wp-cli/db-command

Performs basic database operations using credentials stored in wp-config.php.

768.0M30](/packages/wp-cli-db-command)[wp-cli/server-command

Launches PHP's built-in web server for a specific WordPress installation.

687.2M5](/packages/wp-cli-server-command)

PHPackages © 2026

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