deligoez/laravel-model-hashid
users/123) with human-readable, non-sequential hashes (e.g., users/abc123xyz), reducing user confusion and improving perceived security.Hashid implementation) and leverage a battle-tested Laravel package.app.com/u/abc123).app.com/p/def456).app.com/billing/ghi789).Adopt When:
Hashid solution (e.g., from hashids.org).Look Elsewhere If:
ulid or uuid instead)."This package lets us replace ugly numeric IDs (like /users/42) with clean, memorable hashes (like /users/abc123). Think Stripe or YouTube—it’s more professional, secures our data by hiding database details, and makes links easier to share. For example, a customer could bookmark app.com/profile/def789 instead of app.com/user?id=123. It’s a low-effort upgrade that boosts UX and security with minimal dev work."
Key Ask:
*"This Laravel package integrates Hashid (from hashids.org) into Eloquent models with zero boilerplate. Key benefits:
$hashid = true to a model trait, and IDs like users/abc123 are auto-generated/saved.Route::get('/users/{user:hashid}', ...))..env.Trade-offs:
hashid column to tables (~10–20% overhead).Proposal:
BlogPost) with A/B URL sharing.Alternatives Considered:
Hashid implementation: Higher maintenance./id=123 links."*Tech Stack Fit:
How can I help you explore Laravel packages today?