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.
naabster/laravel-eloquent-hashids adds transparent Hashids support to Laravel Eloquent models. It lets you expose obfuscated, URL-friendly public IDs instead of numeric primary keys while keeping your database schema unchanged, and supports route model binding so incoming hashed IDs resolve back to the correct model automatically.
How can I help you explore Laravel packages today?