kielabokkie/laravel-conceal
Laravel Conceal hides sensitive model IDs in your URLs by encrypting route keys, so links reveal opaque strings instead of sequential database IDs. Add the trait, and route model binding keeps working while exposing less.
Consider adoption when:
Look elsewhere when:
For executives: This is a small, free, single-purpose Laravel library that helps keep passwords, tokens, and personal data out of logs and error reports — a recurring finding in security audits and a direct GDPR/data-handling concern. The 1.4.0 release adds PHP 8 support, so it now fits our current stack with no runtime exceptions. Cost is near zero; the decision is whether we standardize sensitive-data redaction now (cheap, incremental) or defer and carry the audit exposure.
For engineering: v1.4.0 is a compatibility release — PHP 8 install support plus a CI matrix update, no new APIs, no breaking changes, no deprecations. Low-risk dependency: single maintainer, narrow scope, minimal churn. Recommend a time-boxed spike applying it to one high-value leak vector (e.g., exception reporting or model serialization) to validate coverage against our actual sensitive fields, then decide on wider rollout versus consolidating redaction in the logging pipeline. Because the package is in maintenance mode, treat it as a tactical control and keep long-term redaction ownership in our own logging/observability strategy.
Ask: Approve a short evaluation spike and confirm owner for the broader redaction standard.
How can I help you explore Laravel packages today?