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
|
Constraint
|
|---|---|
| illuminate/database | ^8.0|^9.0|^10.0|^11.0|^12.0 |
| vinkla/hashids | ^9.0|^10.0|^11.0|^12.0|^13.0 |
|
Package
|
Constraint
|
|---|---|
| laravel/legacy-factories | ^1.0 |
| orchestra/testbench | ^6.0|^7.0|^8.0|^9.0|^10.0 |
| phpunit/phpunit | ^8.4|^9.0|^10.0|^11.0 |
How can I help you explore Laravel packages today?