indigophp/hash-compat
Provides a hash_equals() polyfill for PHP versions older than 5.6, where the native timing-attack-safe string comparison function isn't available. A small compatibility shim for legacy projects.
hash_* functionality, allowing the roadmap to sequence PHP modernization separately from customer-facing delivery.Consider it only when:
hash_* functions.Look elsewhere when:
password_hash/password_verify, Argon2, or maintained cryptographic libraries.For executives: This is a small legacy compatibility shim, not a strategic platform bet. It can reduce immediate upgrade cost and keep a legacy product running while we fund PHP modernization. It also carries technical debt and security risk: the package is archived and its last release was in 2015. Approve it only as a time-boxed bridge, with pinning, audit, and a scheduled replacement.
For engineering: Treat it as frozen compatibility code. Confirm exactly which hash_* functions are required, add tests around hash comparison and derived outputs, pin or vendor the package, and document the removal condition tied to the PHP upgrade. Do not introduce it into new services; replace it with native hash_*/password_* functions or a maintained polyfill as soon as the runtime supports them. Flag it in dependency and security reviews.
How can I help you explore Laravel packages today?