PHPackages                             carmelosantana/coqui-toolkit-wp-cli - 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. carmelosantana/coqui-toolkit-wp-cli

ActiveLibrary

carmelosantana/coqui-toolkit-wp-cli
===================================

WP-CLI toolkit for Coqui — manage WordPress plugins, themes, users, posts, database, multisite, and more via natural language

v0.1.1(4w ago)00MITPHPPHP ^8.4CI passing

Since Apr 9Pushed 4w agoCompare

[ Source](https://github.com/carmelosantana/coqui-wp-cli)[ Packagist](https://packagist.org/packages/carmelosantana/coqui-toolkit-wp-cli)[ RSS](/packages/carmelosantana-coqui-toolkit-wp-cli/feed)WikiDiscussions main Synced 4w ago

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

WP-CLI Toolkit for Coqui
========================

[](#wp-cli-toolkit-for-coqui)

Manage WordPress sites through natural language commands. This toolkit wraps [WP-CLI](https://wp-cli.org/) to provide 13 tools covering plugins, themes, users, posts, options, database, multisite, core, cache, rewrites, search-replace, cron, and media.

Requirements
------------

[](#requirements)

- PHP 8.4+
- [WP-CLI](https://wp-cli.org/) installed and accessible via PATH (or configured via `WP_CLI_PATH`)
- [Coqui Bot](https://github.com/coquibot/coqui) with `carmelosantana/php-agents` ^0.7

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

[](#installation)

```
composer require coquibot/coqui-toolkit-wp-cli
```

The toolkit is auto-discovered by Coqui — no manual registration needed.

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

[](#configuration)

The toolkit uses three environment variables for default WordPress targeting:

VariableDescriptionExample`WP_CLI_PATH`Local WordPress installation path`/var/www/html``WP_CLI_SSH`SSH connection for remote WordPress`user@host:/var/www/html``WP_CLI_URL`Default site URL (for multisite)`http://example.com`All three are optional. Set them via Coqui's credential system:

```
Set my WP CLI path to /var/www/html

```

Every tool also accepts `path`, `ssh`, and `url` parameters for per-call overriding.

Tools
-----

[](#tools)

ToolDescription`wp_plugin`Install, activate, deactivate, delete, update, search, list plugins`wp_theme`Install, activate, delete, update, search, list themes`wp_user`Create, update, delete, list, get users`wp_post`Create, update, delete, list, get posts and pages`wp_option`Get, update, delete, list site options`wp_db`Export (backup), import (restore), optimize, repair, check, query`wp_site`List, create, delete multisite subsites with search filtering`wp_core`Check version, check for updates, update, verify checksums, download`wp_cache`Flush, get, set, delete cache; check cache type`wp_rewrite`Flush rules, list rules, view/update permalink structure`wp_search_replace`Search-replace across database (safe for serialized data)`wp_cron`List, run, delete cron events; test cron connectivity`wp_media`Regenerate thumbnails, import media, list attachmentsUsage Examples
--------------

[](#usage-examples)

### Plugin Management

[](#plugin-management)

```
Install the hello-dolly plugin and activate it

```

```
List all active plugins

```

```
Search for SEO plugins

```

### Multisite Discovery

[](#multisite-discovery)

```
Find which site on my multisite network has a title of "Example Site" and then install the hello-dolly plugin on that site

```

The bot will:

1. Use `wp_site(action: "list", search: "Example Site")` to find the site
2. Use `wp_plugin(action: "install", plugin: "hello-dolly", activate: true, url: "...")` targeting that site

### Database Backup &amp; Restore

[](#database-backup--restore)

```
Backup my database

```

```
Restore my database from backup.sql

```

### Domain Migration

[](#domain-migration)

```
Replace all occurrences of http://old-domain.com with https://new-domain.com in the database

```

The bot will first do a dry run, then ask for confirmation before applying.

### Core Management

[](#core-management)

```
What version of WordPress is installed?
Check if there are any WordPress updates available
Verify the integrity of WordPress core files

```

### User Management

[](#user-management)

```
Create a new editor user with email john@example.com
List all administrator users

```

SSH Support
-----------

[](#ssh-support)

Target remote WordPress installations:

```
List plugins on my remote server user@myserver.com:/var/www/html

```

Or set a default SSH target:

```
Set my WP CLI SSH to user@myserver.com:/var/www/html

```

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

[](#development)

```
# Install dependencies
composer install

# Run tests
composer test

# Static analysis
composer analyse
```

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance94

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

Total

2

Last Release

29d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/597820?v=4)[Carmelo Santana](/maintainers/carmelosantana)[@carmelosantana](https://github.com/carmelosantana)

---

Top Contributors

[![carmelosantana](https://avatars.githubusercontent.com/u/597820?v=4)](https://github.com/carmelosantana "carmelosantana (2 commits)")

---

Tags

wordpresstoolkitwp-cliphp-agentscoqui

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/carmelosantana-coqui-toolkit-wp-cli/health.svg)

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

PHPackages © 2026

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