PHPackages                             sympress/wp-cli-console - 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. sympress/wp-cli-console

ActiveWordpress-muplugin[CLI &amp; Console](/categories/cli)

sympress/wp-cli-console
=======================

Symfony Console wrappers for useful WP-CLI workflows.

1.0.1(1mo ago)1147GPL-2.0-or-laterPHPPHP ^8.5CI passing

Since Jun 14Pushed 1w agoCompare

[ Source](https://github.com/SymPress/wp-cli-console)[ Packagist](https://packagist.org/packages/sympress/wp-cli-console)[ RSS](/packages/sympress-wp-cli-console/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

SymPress WP-CLI Console
=======================

[](#sympress-wp-cli-console)

[![Checks](https://camo.githubusercontent.com/b22f3a101e3a50e9dde19c839b60393a8e3a0357d2c4079b7ffa20e17654ed89/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f53796d50726573732f77702d636c692d636f6e736f6c652f71612e796d6c3f6272616e63683d6d61696e266c6162656c3d636865636b73)](https://github.com/SymPress/wp-cli-console/actions/workflows/qa.yml) [![Release](https://camo.githubusercontent.com/b654c35494a0a36dcc1cb795c7ce8be722432ac55e8e9ab88b46e5786a93c34f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f53796d50726573732f77702d636c692d636f6e736f6c653f6c6162656c3d72656c65617365)](https://github.com/SymPress/wp-cli-console/releases) [![PHP](https://camo.githubusercontent.com/3ca70ff488e16bfefe207cd5d633bc5981c9b03cccd0120d8db4cc354a73cfdd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f73796d70726573732f77702d636c692d636f6e736f6c652f7068702e7376673f6c6162656c3d706870)](https://packagist.org/packages/sympress/wp-cli-console) [![Downloads](https://camo.githubusercontent.com/5d48a6747cadf7dbe1a778fcb84295b3faeaedc44cbd706e83c2d0584ca47507/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73796d70726573732f77702d636c692d636f6e736f6c652e7376673f6c6162656c3d646f776e6c6f616473)](https://packagist.org/packages/sympress/wp-cli-console/stats) [![License: GPL-2.0-or-later](https://camo.githubusercontent.com/26f8b6541ea045cc1dbc2267208158b5a7ebbf5cf437c4b486d80fee9386f77e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c2d2d322e302d2d6f722d2d6c617465722d626c75652e737667)](LICENSE) [![Security Policy](https://camo.githubusercontent.com/7a0ecd25391c2821401e28d753557f53c5fe267b349b8b4032bb4ca1ef462ee7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73656375726974792d706f6c6963792d3265613434662e737667)](SECURITY.md)

Symfony Console wrappers for useful WP-CLI workflows in SymPress WordPress kernel applications.

The package exposes common WP-CLI operations as Symfony Console commands. It is distributed as a Composer-powered WordPress MU plugin and integrates with the SymPress kernel service container.

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

[](#installation)

```
composer require sympress/wp-cli-console
```

The package requires PHP 8.5, WordPress 6.9 or newer, `sympress/kernel`, and `symfony/console`.

Features
--------

[](#features)

- Symfony Console commands backed by WP-CLI
- Automatic use of the local `vendor/bin/wp` binary when available
- Object cache and rewrite rule maintenance commands
- Plugin, theme, user, cron, option, and database inspection commands
- Streaming stdout and stderr handling for long-running WP-CLI processes
- Kernel service registration through `SymPress\WpCliConsole\WpCliConsoleBundle`

Commands
--------

[](#commands)

```
wp:cache:flush       Flush the WordPress object cache
wp:rewrite:flush     Flush WordPress rewrite rules
wp:info              Show WP-CLI runtime information
wp:plugin:list       List installed plugins
wp:theme:list        List installed themes
wp:user:list         List WordPress users
wp:cron:list         List scheduled cron events
wp:option:get        Read a WordPress option
wp:db:size           Show WordPress database size

```

Usage
-----

[](#usage)

When the SymPress kernel discovers the package, it registers `SymPress\WpCliConsole\WpCliConsoleBundle` and loads `wp-cli-console/wp-cli-console.php` as the MU plugin entry point.

Commands are autoconfigured from `src/Command` and can be run through the project's Symfony Console entry point:

```
bin/console wp:plugin:list --status=active --format=table
bin/console wp:option:get siteurl --format=json
bin/console wp:rewrite:flush --hard
```

The runner executes WP-CLI from the kernel project directory and falls back to the global `wp` binary when `vendor/bin/wp` is not executable.

Development
-----------

[](#development)

```
composer install
composer qa
```

License
-------

[](#license)

This package is licensed under `GPL-2.0-or-later`.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance95

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

37d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/53712359?v=4)[Brian Schäffner](/maintainers/brianvarskonst)[@brianvarskonst](https://github.com/brianvarskonst)

---

Top Contributors

[![brianvarskonst](https://avatars.githubusercontent.com/u/53712359?v=4)](https://github.com/brianvarskonst "brianvarskonst (20 commits)")

---

Tags

binarycliconsolephpsymfonywordpresswp-cli

### Embed Badge

![Health badge](/badges/sympress-wp-cli-console/health.svg)

```
[![Health](https://phpackages.com/badges/sympress-wp-cli-console/health.svg)](https://phpackages.com/packages/sympress-wp-cli-console)
```

PHPackages © 2026

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