monsieursloop/woleet-bundle
A lightweight PHP/Laravel bundle for Woleet's Bitcoin blockchain timestamping API. Anchor document hashes, retrieve and verify proofs, and manage timestamp records through configurable service bindings for quick integration.
Architecture fit
API_TOKEN (outbound authentication to a remote API) and CALLBACK_SECRET (inbound verification of webhook/callback payloads). This is a conventional, well-understood pattern and fits cleanly inside Laravel's config/env and service-provider conventions.vendor:publish, env vars read through config/*.php rather than direct env() calls in library code), the integration should sit alongside existing Laravel services without imposing architectural constraints. This must be verified, not assumed — direct env() usage in package code breaks under config:cache, which is a common production blocker.Integration feasibility
Technical risk
CALLBACK_SECRET in particular is only meaningful if the package actually verifies the signature and rejects unsigned/invalid payloads — a secret that is read but not enforced is worse than none, because it creates false assurance.API_TOKEN, CALLBACK_SECRET. There is no statement of whether these are new required variables (breaking for existing installs) or merely documented. If they are newly required, upgrading without them will fail at runtime, and existing deployments will break silently on callback verification. This ambiguity is itself a risk to flag to the maintainer.Key questions
API_TOKEN and CALLBACK_SECRET newly required in v1.2, and what happens at boot if either is absent — hard failure, or degraded/silent behaviour?CALLBACK_SECRET on every inbound request, and does it use a constant-time comparison with replay protection (timestamp/nonce)?API_TOKEN and CALLBACK_SECRET the same credential as used by any existing integration, or new secrets requiring fresh provisioning?Stack fit
composer.json before committing.config:cache in production must confirm the package reads config, not env, at runtime.Migration path
composer.json, README, and route definitions are reviewed.Compatibility
Sequencing
composer.json, README, and the service provider to confirm requirement status and route registration.API_TOKEN and CALLBACK_SECRET in secret storage for all environments; document rotation ownership.Maintenance
CALLBACK_SECRET rotation requires coordination with the sender, making it a joint operation rather than an internal one.composer.json and upgrade deliberately rather than tracking latest, given the semver signal from this release.Support
Scaling
Failure modes
Ramp-up
composer.json, README, and route/service-provider source. The current release notes are insufficient to approve production use, and the assessment should be revisited once that material is available.How can I help you explore Laravel packages today?