naabster/laravel-eloquent-hashids
Integrate Hashids with Laravel Eloquent models: automatically encode numeric IDs into short, obfuscated strings and decode them back. Supports route model binding, custom salts, and seamless model lookups for cleaner, safer URLs.
vinkla/hashids, so the realistic decision is not "should we use Hashids" but "should we wire it up ourselves (service provider, config, facade, validation rule, model trait) or adopt a maintained wrapper." For a small integration surface, this is a low-cost buy.vinkla/hashids to the current Laravel 5-compatible version. Product read: this is a maintenance release, not a capability release. It tells you the package is still tracking its upstream dependency and Laravel 5 compatibility — a positive but weak maintenance signal, and evidence the package's lifecycle is still coupled to the Laravel 5 era.vinkla/hashids directly or use a maintained fork.For executives: This is a small, low-risk dependency that changes how we present record IDs to customers — short, non-guessable references instead of sequential numbers. The business value is reduced exposure of operational data and a cleaner public-facing identifier scheme, at near-zero build cost. The latest release (1.0.4) is a maintenance update that keeps it compatible with our Laravel 5 dependency; no new features, no breaking changes, no action required from a product standpoint.
For engineering: 1.0.4 is a dependency-only change — it bumps vinkla/hashids to the current Laravel 5-compatible version. Treat it as a routine patch: safe to take, but it confirms the package's support envelope is Laravel 5-era. Two things to decide explicitly before we lean on it: (1) where the salt lives and how we'd rotate it, since rotation invalidates all issued links; and (2) whether this is our canonical public identifier or a compatibility shim in front of a future UUID/ULID migration. If we're planning a framework upgrade, verify upstream vinkla/hashids compatibility first rather than assuming this wrapper will follow.
Recommendation: Adopt for Laravel 5 surfaces where short opaque IDs are needed now; do not treat it as a long-term identifier strategy without an explicit exit path. Re-assess if the package shows no releases alongside a framework upgrade, or if a feature release lands that changes encoding behavior (that would be a breaking change for every previously issued link).
How can I help you explore Laravel packages today?