deligoez/laravel-model-hashids
Add short, unique Hashids to your Laravel Eloquent models. This package provides a trait that obfuscates numeric IDs for URLs and APIs, with automatic route resolution, configurable salt, length and alphabet, while keeping integer keys internally.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jasonbradley/hash-ids-bundle | 0.91 | Symfony bundle wrapping the hashids library to encode numeric IDs into short, reversible, non-sequential hashes—useful for hiding database IDs in URLs and public APIs. Adds service and Twig integration for encoding and decoding throughout a Symfony app. | 0 | 0 | 1 | 0 | 0 | 0.4 | — | MIT | 11 years ago | |
| mtvs/eloquent-hashids | 0.90 | Laravel package that integrates Hashids with Eloquent models, letting you hide sequential IDs behind short, unique hashids. Add the HasHashid trait to expose a hashid attribute, query models by hashid, and use hashids in route model binding while keeping your database keys unchanged. | 291 | 291 | 30 | 6K | 4 | 3.8 | 20.9 | — | — | |
| swiss-devjoy/laravel-easy-hashids | 0.90 | A Laravel package that simplifies Hashids: encode and decode numeric IDs into short, obfuscated strings for URLs and APIs. Includes easy configuration, helpers, and smooth integration with Laravel models and route binding. | 2 | — | 0 | — | 0 | 4.5 | — | MIT | 9 months ago | |
| guava/sqids-for-laravel | 0.90 | Generate short, YouTube-style unique IDs from numbers in Laravel. This package wraps Sqids with a facade, configuration, validation rules, and Eloquent helpers so you can encode and decode IDs cleanly across your app. | 0 | 14 | — | 100 | — | 0.3 | 28.1 | — | — | |
| netbull/hashids-bundle | 0.90 | A Symfony bundle that wraps Hashids to turn integer IDs into short, unique, non-sequential hashes, so you can hide database IDs in URLs. Provides container integration and configuration for encoding and decoding IDs through a simple service. | 0 | 0 | 1 | 927 | 0 | 1.3 | 41.3 | AGPL-3.0 | 11 months ago | |
| elfsundae/laravel-hashid | 0.90 | Laravel Hashids turns auto-increment integers into short, unique, non-sequential strings for safe public IDs in URLs. Includes Eloquent route binding, a facade, validation rules, and configurable salt, length, and alphabet. | 415 | — | 34 | — | 3 | 3.8 | 0.4 | MIT | — | |
| cybercog/laravel-optimus | 0.89 | Laravel Optimus wraps the Optimus ID obfuscation library for Laravel, letting you encode and decode integer IDs into short, URL-friendly strings. It offers a facade and helpers, Blade directives, validation rules, route model binding, and configurable settings for hiding database IDs in URLs. | 194 | 196 | 14 | 5K | 6 | 13.0 | 23.5 | MIT | 6 months ago | |
| hashids/hashids | 0.89 | Generate YouTube-like short IDs from one or more numbers to avoid exposing sequential database IDs. Simple encode/decode API, customizable salt and options, install via Composer. Requires bcmath or gmp extension. Maintained; creator also offers Sqids. | 5,423 | 5,546 | 411 | 1M | 0 | 40.6 | 32.3 | MIT | 3 years ago | |
| matt-daneshvar/eloquent-hashids | 0.89 | Laravel package that adds Hashids support to Eloquent models, hiding auto-increment IDs behind short, reversible hashes. A trait encodes route keys and resolves models from hashids, keeping URLs clean and database IDs private with minimal setup. | 18 | — | 2 | — | 0 | 0.1 | — | MIT | 7 years ago | |
| deligoez/laravel-model-hashid | 0.89 | — | 167 | 166 | 21 | 8K | 0 | 14.7 | 25.4 | — | 6 months ago | |
| laravel-json-api/hashids | 0.89 | Adds Hashids support to Laravel JSON:API, encoding resource IDs into short, obfuscated strings and decoding them on request. Configure salt, length, and alphabet while keeping numeric database keys hidden behind spec-compliant JSON:API routes and relationships. | 5 | 5 | 2 | 7K | 0 | 0.1 | 42.4 | MIT | — | |
| philetaylor/hashids-bundle | 0.89 | Symfony bundle integrating Hashids to obfuscate numeric IDs as short, unique, non-sequential strings. Provides services and Twig filters for encoding and decoding IDs with configurable salt, length, and alphabet. | 1 | 1 | 0 | 0 | 0 | 0.3 | — | — | 4 years ago | |
| cirlmcesc/laravel-hashids | 0.89 | 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. | 1 | 1 | 0 | 0 | 0 | 10.3 | — | MIT | 8 months ago | |
| red-explosion/laravel-sqids | 0.89 | Laravel Sqids generates short, unique, obfuscated IDs from integer keys, keeping database IDs hidden in URLs and APIs. Includes route model binding, validation rules, and simple configuration for a seamless drop-in integration. | 55 | 55 | 7 | 5K | 1 | 8.5 | 29.4 | MIT | 7 months ago | |
| xzxzyzyz/laravel-uuid-model | 0.89 | Add UUID primary key support to Laravel Eloquent models. This package helps replace auto-incrementing IDs with universally unique identifiers, useful for distributed systems, public-facing IDs, and safer record references, while keeping model integration simple. | 0 | 0 | 0 | 30 | 0 | 7.2 | 21.9 | MIT | 7 months ago | |
| cayetanosoriano/hashids-bundle | 0.88 | — | 22 | 22 | 20 | 445 | 1 | 1.2 | 18.1 | — | 9 years ago | |
| omaressaouaf/laravel-id-generator | 0.88 | Generate unique, customizable IDs for your Laravel models with prefixes, suffixes, dates, and sequential or random segments. Ideal for invoice numbers, order IDs, and Stripe-style identifiers, with concurrency-safe generation out of the box. | 59 | 59 | 5 | 878 | 0 | 14.4 | 18.5 | MIT | 3 months ago | |
| vipinbose/hashids-bundle | 0.88 | Symfony bundle that integrates Hashids to encode and decode integer IDs as short, unique, non-sequential strings. Configure salts, lengths, and alphabets, then use Hashids via service injection or Twig filters to obfuscate database IDs and generate compact public identifiers. | 0 | — | 0 | — | 0 | 0.3 | — | MIT | 2 years ago | |
| netsells/hash-model-ids | 0.88 | — | 0 | 0 | 2 | 40 | 0 | 1.6 | 22.3 | — | 2 years ago | |
| torann/hashids | 0.88 | Laravel wrapper for Hashids that encodes numeric IDs into short, unique, non-sequential strings and decodes them back, helping hide database IDs in URLs and APIs with configurable salt, length, alphabet, and simple Laravel integration. | 54 | 54 | 11 | 2K | 0 | 5.1 | 23.8 | BSD-2-Clause | 9 months ago |
How can I help you explore Laravel packages today?