cirlmcesc/laravel-hashids
Laravel package to obfuscate model IDs and route parameters using Hashids. Adds a model trait that automatically encodes ID and *_id fields on serialization, decodes for route model binding, and provides helper methods plus Artisan install/test commands.
abc123 instead of 1234567890) for marketing, support, or public-facing features.id fields) to prevent enumeration attacks or expose internal data structures./p/abc123 instead of /p/12345).For Executives: "This package lets us generate short, memorable IDs (like YouTube’s video links) for our [feature X] without extra engineering effort. It’s a lightweight, secure way to improve UX and hide internal database sequences—reducing support tickets and potential security risks. MIT-licensed and Laravel-native, so it integrates smoothly with our stack. Estimated dev time: 1–2 hours vs. weeks for a custom build."
For Engineering:
*"The laravel-hashids package wraps the Hashids library to auto-generate short, non-sequential IDs for Eloquent models. Key benefits:
How can I help you explore Laravel packages today?