mtvs/eloquent-hashids
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| rossbearman/eloquent-calamari | 0.88 | — | 4 | 4 | 1 | 329 | 0 | 9.9 | 27.0 | MIT | 7 months ago | |
| danilovl/hashids-bundle | 0.88 | Symfony bundle integrating Hashids for encoding/decoding IDs. Configure salt, alphabet, and minimum hash length. Optional ParamConverter/Request converter automatically decodes route/request parameters so controllers can receive entities by decoded IDs. | 0 | 0 | 0 | 23 | 0 | 16.8 | 20.4 | MIT | 9 months ago | |
| netbull/hashids-bundle | 0.88 | 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 | |
| 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 | |
| deligoez/laravel-model-hashids | 0.88 | 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. | 167 | — | 21 | — | 0 | 10.8 | — | — | 6 months ago | |
| cirlmcesc/laravel-hashids | 0.88 | 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 | |
| philetaylor/hashids-bundle | 0.87 | 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 | |
| swiss-devjoy/laravel-easy-hashids | 0.87 | 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 | |
| jasonbradley/hash-ids-bundle | 0.87 | 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 | |
| yieldstudio/eloquent-public-id | 0.87 | A Laravel package that adds unique, Stripe-style public IDs to Eloquent models, helping hide auto-incrementing primary keys and create cleaner, safer URLs. Includes configurable prefixes and simple trait-based integration. | 0 | 0 | 1 | 814 | 6 | 1.7 | 41.4 | MIT | 1 year ago | |
| veelasky/laravel-hashid | 0.87 | — | 48 | 49 | 18 | 21K | 0 | 15.5 | 38.8 | MIT | 7 months ago | |
| juniorb2ss/eloquent-uuid | 0.87 | Eloquent UUID adds UUID support to Laravel's Eloquent models, letting you use universally unique identifiers as primary keys with minimal configuration. Useful for distributed apps or anywhere non-sequential IDs are preferred. | 3 | 3 | 0 | 0 | 0 | 0.1 | — | MIT | — | |
| guava/sqids-for-laravel | 0.87 | 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 | — | — | |
| elfsundae/laravel-hashid | 0.87 | 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 | — | |
| laravel-json-api/hashids | 0.86 | 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 | — | |
| cayetanosoriano/hashids-bundle | 0.86 | — | 22 | 22 | 20 | 445 | 1 | 1.2 | 18.1 | — | 9 years ago | |
| netsells/hash-model-ids | 0.86 | — | 0 | 0 | 2 | 40 | 0 | 1.6 | 22.3 | — | 2 years ago | |
| roukmoute/hashids-bundle | 0.85 | Symfony bundle integrating Hashids to encode and decode numeric IDs into short, unique, obfuscated strings. Configure salt, length, and alphabet, then use services or Twig filters to hide database IDs in URLs. | 46 | — | 16 | — | 0 | 5.2 | — | MIT | 9 months ago | |
| erikwang2013/hashids | 0.85 | Laravel/PHP wrapper for Hashids that encodes integers into short, unique, non-sequential IDs and decodes them back. Useful for obfuscating database IDs in URLs and APIs while keeping values reversible and configurable. | 1 | 1 | 0 | 463 | 0 | 19.9 | 38.3 | MIT | 1 week ago |
How can I help you explore Laravel packages today?