Seravo's environment provides a robust set of CLI tools to streamline WordPress development and maintenance. These commands are available in the production SSH environment and within the local Docker development container.
For detailed information on any command, run command --help.
Administration, Security & Diagnostics
Tools for monitoring site health, auditing security, and general maintenance.
Command | Description |
| Comprehensive overview of the WordPress installation and server environment. |
| Purges all server-level caches: Nginx proxy, Object cache, and Redis. |
| Update/install object-cache.php dropin. |
| In-depth report and testing of the site's HTTPS/SSL configuration. |
| Verifies if the Nginx HTTP cache is functioning correctly. |
| Provides detailed statistics on HTTP cache performance and hit rates. |
| Audits the strength of all WordPress user passwords. |
| Checks if user passwords appear in known data leak databases. |
| Show's the WordPress login URL. |
| Tests how the site behaves if remote connections are blocked. |
| Lists recent successful and failed SSH login attempts. |
| Shows a summary of successful and failed WordPress dashboard logins. |
| Resets passwords and sessions for all WordPress users. |
| Forces all users to log out by clearing all active sessions. |
| The official command to reset your site's SSH password. |
| Runs a security audit on the active WordPress theme using |
| Updates the must-use Seravo Plugin to the latest version. |
| Access to the standard WordPress CLI with Seravo-specific enhancements. |
Code, Fixes & Optimization
Tools for maintaining code quality, fixing common issues, and optimizing assets.
Command | Description |
| Verifies and fixes WordPress core files against official checksums. |
| Syncs your project structure with the latest Seravo upstream template. |
| Fixes missing or broken WordPress language packs. |
| Repairs broken or missing symlinks in the |
| Attempts to repair common issues in the backup metadata structure. |
| Optimizes images (JPEG/PNG) and enforces resolution limits. |
| Returns the current PHP version used by the site. |
| Checks code compatibility with specific PHP versions using |
| Alias/alternative for checking PHP code compatibility. |
| Command to switch the PHP version of the environment. |
| Helper for locating specific strings or code patterns within the project. |
| Lists files changed within the last 30 days based on change time. |
| Lists files modified within the last 30 days based on modification time. |
| Displays the primary URL of the site. |
Development, Performance & Testing
Tools for monitoring, load testing, and static site generation.
Command | Description |
| Real-time monitoring of all relevant logs in |
| Specifically monitors PHP-FPM and PHP error logs in real-time. |
| Measures the response time of WordPress PHP page loads. |
| Simulates consecutive requests to measure site capacity. |
| Next-generation tool for advanced load testing and stress analysis. |
| Runs the project's automated test suites (e.g., Codeception). |
| Adds specific messages/errors to the test runner's whitelist. |
| Exports the WordPress site as a static HTML version. |
| Advanced next-generation static site exporter. |
| Provides various statistics about the site and its environment. |
| Moves the WordPress Action Scheduler to system cron. |
| Reloads Nginx to apply changes without downtime. |
| Restarts the Nginx service. |
| Restarts all PHP-FPM worker processes. |
| Restarts database connections and kills hanging queries. |
| Displays all defined environment variables. |
| Compiles |
| Wrapper for generating translation template (POT) files. |
| Summary of the Git repository state in |
Database & Environments
Commands for database operations and staging (shadow) management.
Command | Description |
| Access the MariaDB console interface. |
| Dumps the site's database into |
| Replaces the current database with a dump from |
| Displays database size categorized by tables. |
| Displays table sizes and |
| Runs |
| Removes old post revisions from the database. (Destructive) |
| Applies any pending WordPress database schema updates. |
| Access the MariaDB Proxy admin console. |
| Replaces production data with data from a shadow environment. (Caution) |
| Resets a shadow environment with fresh data from production. |
| Shows the status of a WordPress Network (Multisite) installation. |
Backups
Tools for interacting with the rdiff-backup system.
Command | Description |
| Manually triggers a full backup of the site's database and files. |
| Lists all available backup increments and their dates. |
| Lists all files changed in the system according to backups. |
| Lists changes made since a specific date. |
| Facilitates the restoration of files from a chosen backup point. |
Local Development (Docker specific)
The following tools are primarily used in the local environment to sync with production.
Command | Description |
| Initializes the local environment and pulls production data. |
| Configures the environment to load images from the production URL. |
| Toggles the asset proxy functionality. |
| Initializes the local environment and pulls production data based on |
| Copies the production database locally and performs the necessary search-replace for URLs. |
| Installs the same WordPress core version locally as is currently used in production. |
| Syncs the local |
| Syncs the local |
| Copies the database from a shadow or staging environment to the local environment. |
| Configures the environment to load images directly from the production URL. |
| Toggles the asset proxy functionality on or off. |
