wp-cli/package-command
Adds WP-CLI’s package management commands. List installed packages, browse available ones, and install or uninstall community-maintained WP-CLI extensions. Uses Composer under the hood to manage dependencies and autoloading.
wp-cli/server-command for local dev servers) via CLI, reducing friction in onboarding.wp package update --interaction=no in scripts) to mitigate vulnerabilities without manual intervention.wp package list --format=json > packages.json and version-controlled configs.Adopt if:
wp package get --fields=version in compliance checks).Look elsewhere if:
*"This package lets us treat WP-CLI tools like software dependencies—install, update, and remove them programmatically. For example:
wp package update in our CI pipeline, cutting manual work by 50%.wp package list --format=json in Git).
It’s a low-code way to extend WordPress CLI functionality without custom builds, saving dev resources and improving reliability."**"This is Composer for WP-CLI packages—think npm install but for WordPress. Key wins:
wp package install runcommand/hook && wp db optimize in CI.wp-cli/server-command once for all team members to spin up local dev servers in seconds.wp package list --format=json and diff across environments.wp-cli/db-command, wp-cli/ssh-command) instead of writing custom scripts.
Tradeoff: Relies on Composer, but the learning curve is minimal for PHP devs. The deprecated package index is a minor risk—migration to Packagist is underway."**"This solves three pain points in WordPress ops:
wp package install --version=1.2.3).wp package uninstall in failure hooks for CI deployments..wp-cli with unused packages (e.g., wp package list | grep -v 'unused-package').
Example use case: Add this to your wp-cli Docker image build step to guarantee consistency:RUN wp package install wp-cli/db-command:2.0.0 && \
wp package install aaemnnosttv/wp-cli-dotenv-command
```"*
How can I help you explore Laravel packages today?