Awesome Wp Cli Overview
A curated list of packages and resources for WP-CLI, the command-line interface for WordPress.
🏠 Home · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 schlessera/awesome-wp-cli · ⭐ 170 · 🏷️ Miscellaneous
Awesome WP-CLI
WP-CLI is the command-line interface for WordPress. It offers a complete alternative to the WordPress admin dashboard, often even surpassing its functionality or enabling new use cases. It also comes with a rich ecosystem of third-party commands that are bundled in Composer packages or directly integrated into WordPresss plugins or themes.
Contents
Official links
Everything relevant that is directly part of the official WP-CLI team.
- wp-cli.org - Homepage of the WP-CLI project.
- WP-CLI handbook - Guides on how to use or extend WP-CLI.
- WP-CLI command reference - Reference documentation for all the official WP-CLI commands.
- Make WordPress.org - CLI - Main entry point for contributing to WP-CLI.
- Contributing guide - Everything you need to know to contribute to the tool or its infrastructure.
- Official MakeWP Slack - Official Slack team where all international contributions to WordPress and its teams are discussed.
- #cli channel - The official support channel for WP-CLI and the WordPress CLI team.
- Good first issues - List of issues on that are limited in scope and complexity.
- WP-CLI GitHub organization - Canonical home of the WP-CLI source code.
- WP-CLI framework repository (⭐4.7k) - The source code for the WP-CLI framework that powers all of the commands.
- WP-CLI bundle repository (⭐74) - The source for the WP-CLI "binary" and how it is assembled.
- WP-CLI tests repository (⭐30) - The testing framework used throughout all WP-CLI repositories.
Third-party packages
Unofficial third-party packages.
Package discovery
Ways of searching for third-party packages you can use.
- Packagist.org search by WP-CLI package type - Composer packages filtered by type
wp-cli-package
. - GitHub.com search for WP-CLI integrations - Heavily pre-filtered search for repositories that use
WP_CLI::add_command()
.
Notable packages
Third-party packages that are commonly useful.
- Yoast/wp-cli-faker (⭐59) - Generate fake WordPress and WooCommerce content for testing purposes.
- aaemnnosttv/wp-cli-login-command (⭐269) - Login to WordPress with secure passwordless magic links.
- schlessera/wp-cli-psysh (⭐23) - Replace WP-CLI shell standard REPL with PsySH.
- php-stubs/wp-cli-stubs (⭐15) - WP-CLI function and class declaration stubs for static analysis.
Tutorials & guides
Websites, ebooks, PDFs, talks and slide shows about how to make the most out of WP-CLI.
- An Introduction to WP-CLI - Introductory article that introduces the main concepts and some popular use cases of WP-CLI.
- Controlling WordPress through the Command Line - Introductory talk that covers the very basics of the command line for people who never used the console before.
- WP Bullet WP-CLI Guides - Snippet-based guides that solve specific use cases.
- Siteground Webinar: Learn How WP-CLI Can Make Your Life Easier - Practical examples on how you can improve your workflows with WP-CLI.
- CaptainCore Cookbook - Collection of WP-CLI commands and bash scripts for automating WordPress maintenance.
Contribute
Contributions welcome! Read the contribution guidelines first.