Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Package Command Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Extending WP-CLI Ecosystem: Enables teams to build vs. buy custom CLI tools for WordPress without reinventing the wheel. Reduces dependency on proprietary solutions or manual scripting.
  • DevOps & Automation Roadmap: Critical for CI/CD pipelines (e.g., automated deployments, plugin/theme updates, or environment provisioning). Supports GitHub Actions, Jenkins, or Docker-based workflows by allowing programmatic package management.
  • Plugin/Theme Developer Tooling: Accelerates local development by letting teams install/uninstall packages (e.g., wp-cli/server-command for local dev servers) via CLI, reducing friction in onboarding.
  • Security & Compliance: Facilitates auditable package updates (e.g., wp package update --interaction=no in scripts) to mitigate vulnerabilities without manual intervention.
  • Multi-Environment Management: Useful for staging/production parity by ensuring identical package versions across environments via wp package list --format=json > packages.json and version-controlled configs.

When to Consider This Package

  • Adopt if:

    • Your team manages WordPress sites at scale (e.g., 50+ installations) and needs to standardize CLI tooling.
    • You’re building internal tools (e.g., custom WP-CLI commands) and want to package/distribute them like npm/yarn.
    • Your CI/CD pipeline requires dynamic dependency management for WordPress (e.g., installing plugins, running migrations).
    • You need to audit or enforce package versions across environments (e.g., wp package get --fields=version in compliance checks).
  • Look elsewhere if:

    • You’re not using WP-CLI (this is WordPress-specific).
    • Your use case is outside WordPress (e.g., generic PHP/Laravel projects).
    • You require advanced package resolution (e.g., dependency conflicts beyond Composer’s scope).
    • Your team lacks Composer familiarity (package management relies on it).
    • You need real-time package discovery (the deprecated package index is being replaced; see GitHub issue #51).

How to Pitch It (Stakeholders)

For Executives:

*"This package lets us treat WP-CLI tools like software dependencies—install, update, and remove them programmatically. For example:

  • Reduce dev onboarding time by 30% with pre-configured CLI toolkits for WordPress teams.
  • Automate security patches by scripting wp package update in our CI pipeline, cutting manual work by 50%.
  • Standardize environments across dev/staging/prod by version-controlling packages (e.g., 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."*

For Engineering:

*"This is Composer for WP-CLI packages—think npm install but for WordPress. Key wins:

  • Scriptable workflows: Chain commands like wp package install runcommand/hook && wp db optimize in CI.
  • Local dev superpowers: Install wp-cli/server-command once for all team members to spin up local dev servers in seconds.
  • Auditability: Track installed packages with wp package list --format=json and diff across environments.
  • No reinvention: Leverage 100+ community packages (e.g., 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."*

For DevOps/SRE:

*"This solves three pain points in WordPress ops:

  1. Package drift: Ensure all environments use the same CLI tools (e.g., wp package install --version=1.2.3).
  2. Automated rollbacks: Script wp package uninstall in failure hooks for CI deployments.
  3. Resource efficiency: Avoid bloating .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
```"*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor