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

Core Laravel Package

laravel-chronicle/core

Chronicle provides cryptographically verifiable audit logging for Laravel. It records events in an append-only, hash-chained ledger to make tampering detectable, with features like verifiable exports, signed checkpoints, key rotation, and external anchoring.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Compliance & Regulatory Requirements: Enables tamper-proof audit trails for industries like finance, healthcare, or legal, where immutable logs are mandatory (e.g., GDPR, SOX, PCI-DSS).
  • Security-Critical Systems: Ideal for platforms handling sensitive operations (e.g., admin actions, financial transactions) where auditability is non-negotiable.
  • Build vs. Buy: Avoids reinventing cryptographic audit logging from scratch, reducing dev time and risk while leveraging battle-tested cryptography (hash chaining, Ed25519/ECDSA).
  • Roadmap Prioritization:
    • Phase 1: Integrate for core audit needs (e.g., admin actions, financial events).
    • Phase 2: Extend to external anchoring (e.g., AWS S3 Object Lock) for high-assurance use cases.
    • Phase 3: Explore custom signing providers (e.g., Hashicorp Vault) for air-gapped key management.
  • Use Cases:
    • Forensic Analysis: Reconstruct timelines of critical events (e.g., fraud investigations).
    • Operational Observability: Detect anomalies in system behavior via verifiable logs.
    • Third-Party Audits: Provide regulators/external auditors with cryptographically verifiable exports.

When to Consider This Package

  • Adopt if:
    • Your system requires tamper-evident logs (e.g., financial systems, legal records).
    • You need cryptographic verification of audit trails (e.g., compliance with ISO 27001, HIPAA).
    • Traditional activity logs (e.g., Laravel’s laravel-audit) are insufficient due to mutability risks.
    • You’re willing to invest in key management (e.g., rotating signing keys, external anchoring).
  • Look elsewhere if:
    • You only need basic activity tracking (e.g., user actions in a blog).
    • Your team lacks expertise in cryptographic systems (hash chains, key rotation).
    • Performance is critical for high-volume, low-latency logging (Chronicle adds cryptographic overhead).
    • You’re constrained by legacy PHP/Laravel versions (requires PHP 8.2+ and ext-sodium/ext-openssl).

How to Pitch It (Stakeholders)

For Executives: "Chronicle replaces fragile audit logs with a tamper-proof ledger, ensuring compliance and security without custom engineering. For example, in [Industry X], a single compromised log could invalidate years of regulatory filings—Chronicle prevents this by using cryptographic hash chains and signed checkpoints. The upfront cost (key management, external anchoring) pays off in audit efficiency and risk reduction. We’re targeting this for [Critical System Y], where immutable logs are a competitive differentiator."

For Engineering: *"This is a drop-in replacement for activity logs but with cryptographic guarantees:

  • Append-only ledger: Hash chaining detects any tampering.
  • Pluggable signing: Supports Ed25519 (libsodium), ECDSA, or custom providers (e.g., AWS KMS).
  • Scalable verification: Incremental checks avoid O(n) recomputes for large ledgers.
  • Automatic model auditing: Add HasChronicle to Eloquent models for zero-effort tracking. Tradeoff: ~10–20% overhead per log entry due to hashing/signing, but negligible for most use cases. Key rotation is manual but well-documented."*
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
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