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

Checksum Command Laravel Package

wp-cli/checksum-command

WP-CLI command to verify WordPress core file integrity by comparing local files against published WordPress.org checksums. Supports version/locale selection, optional root checks, file exclusions, and multiple output formats.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Security & Compliance Automation:

    • Integrate checksum verification into CI/CD pipelines to enforce WordPress core/plugin integrity pre-deployment, now with improved parameter handling (e.g., --exclude whitespace trimming in v2.3.7).
    • Reduce manual security audits by automating checksum validation for WordPress environments (e.g., staging/production), with clearer documentation for onboarding.
  • Managed Hosting & SaaS Roadmap:

    • Build a "trusted environment" feature for white-label WordPress hosting platforms, where checksum validation is mandatory for all deployments. The updated --exclude parameter handling simplifies excluding specific files/directories (e.g., custom overrides) without edge cases.
    • Justify premium tiers by offering automated integrity checks as a differentiator (e.g., "Enterprise-grade security scans with precise exclusion rules").
  • Build vs. Buy:

    • Buy: Avoid reinventing checksum validation logic for WordPress ecosystems (core/plugins/themes). This package now handles edge cases like whitespace in --exclude values, reducing custom scripting needs.
    • Build: Only if extending functionality (e.g., custom checksum sources, multi-CMS support) or integrating with proprietary systems (e.g., internal asset repositories).
  • Use Cases:

    • Post-Update Validation: Run wp core verify-checksums in CI/CD to catch tampered files after WordPress core/plugin updates, with reliable exclusion logic.
    • Incident Response: Use --format=json to programmatically identify compromised files during security investigations, now with cleaner parameter parsing.
    • Plugin Vendor Compliance: Enforce checksum checks for third-party plugins in a marketplace or internal repository (e.g., --strict flag + --exclude vendor/*).
    • Multi-Environment Sync: Compare checksums across dev/staging/prod to detect unauthorized file changes (e.g., wp plugin verify-checksums --all --format=csv > audit.log), with improved readability in generated reports.

When to Consider This Package

  • Adopt if:

    • Your product relies on WordPress core/plugins and requires automated integrity verification (e.g., hosting platforms, agencies, or SaaS tools).
    • You need programmatic access to checksum validation (e.g., APIs, CI/CD hooks, or custom dashboards).
    • Your team already uses WP-CLI and wants to avoid reinventing checksum logic, especially with improved parameter handling (e.g., --exclude).
    • You require multi-format output (JSON/CSV/YAML) for integration with monitoring tools (e.g., Slack alerts, SIEM systems).
    • You want clearer documentation for onboarding (README regenerated in v2.3.7).
  • Look Elsewhere if:

    • You manage non-WordPress PHP applications (this package is WordPress-specific).
    • You need custom checksum sources (e.g., private repositories, Git hashes) beyond WordPress.org.
    • Your use case requires real-time file monitoring (consider tools like inotifywait + custom scripts).
    • You’re constrained by PHP 5.6 or lower (package requires PHP 7.0+).
    • You need GUI integration (this is CLI-only; pair with a wrapper if needed).

How to Pitch It (Stakeholders)

For Executives:

*"This package now offers more reliable and maintainable WordPress file integrity checks, thanks to fixes like trimmed --exclude parameters and updated documentation. By integrating wp-cli/checksum-command (v2.3.7) into our deployment pipelines, we can:

  • Eliminate manual audits of core/plugin files, reducing human error and speeding up releases—with fewer edge cases in exclusion rules.
  • Detect tampering early—whether from malicious actors, misconfigured updates, or accidental edits—using a tool that’s now even more robust.
  • Differentiate our hosting/SaaS offering by baking in enterprise-grade integrity checks, justifying premium pricing. The improved --exclude handling also lets us safely ignore custom files (e.g., overrides) without false positives.

It’s a turnkey, production-ready solution (MIT-licensed, maintained by WP-CLI) that plugs into our existing WP-CLI workflows with minimal lift—and now with clearer docs for faster adoption."

Ask: "Should we prioritize this for our [QX] roadmap to harden our WordPress environments, especially with these recent stability improvements?"


For Engineering:

*"This is a batteries-included way to validate WordPress file integrity via WP-CLI, now with two key improvements in v2.3.7:

  1. Fixed --exclude parameter handling: Whitespace in exclusion rules is now trimmed, preventing edge cases (e.g., wp plugin verify-checksums --exclude=" cache/").
  2. Regenerated README: Clearer onboarding for new team members or integrations.

Use Cases (Updated):

  1. CI/CD Hook: Add to post-deploy scripts to block corrupted files, with reliable exclusion logic:
    wp core verify-checksums --exclude="wp-content/uploads,wp-content/cache" --format=json | jq -e '.[]?.message | contains("verify")' && exit 1
    
  2. Audit Tool: Generate CSV reports for compliance, with cleaner parameter parsing:
    wp plugin verify-checksums --all --exclude="vendor/*" --format=csv > plugin_audit.csv
    
  3. Incident Response: Quickly identify compromised files with --strict mode, now with no false positives from malformed exclusions.

Trade-offs:

  • WordPress-only (not for generic PHP apps).
  • CLI-only (but output formats enable programmatic use).

Recommendation: Adopt for WordPress-heavy products. The fixes in v2.3.7 make it even safer for production use. Pair with a custom wrapper if you need to abstract the WP-CLI dependency."*

Ask: "Should we integrate this into [Tool X]’s deployment workflows, and if so, what’s the minimal viable wrapper for our team—now that --exclude is more reliable?"

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.
terminal42/code-quality-tools
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