juststeveking/laravel-key-factory
A Laravel package for generating unique, customisable keys for Eloquent models. Configure prefix, length, and allowed characters, then assign keys through a simple trait—ideal for API tokens, order numbers, and public IDs.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | — | 108 | — | 0.3 | 28.1 | — | — | |
| phpexperts/conciseuuid | 0.87 | ConciseUUID is a PHP package for generating compact, URL-safe UUIDs. It encodes standard UUIDs as shorter Base62 strings, cutting identifier length for URLs, databases, and APIs while preserving uniqueness. Simple API works in Laravel or any PHP project. | 9 | 9 | 2 | 8 | 0 | 0.1 | 3.5 | MIT | — | |
| 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 | — | |
| eig/eloquent-uuid | 0.87 | A Laravel package that lets Eloquent models use UUID primary keys instead of auto-incrementing integers. Drop it into existing models to generate unique, non-sequential IDs automatically for safer, distributed-friendly records. | 59 | 59 | 0 | 82 | 0 | 0.6 | 5.2 | MIT | 3 years ago | |
| ryangjchandler/laravel-uuid | 0.87 | A lightweight Laravel package that brings UUID support to Eloquent models. It provides a simple trait for generating UUID primary keys and resolving models by UUID, making it easy to use UUIDs in place of auto-incrementing IDs. | 0 | 40 | — | 0 | — | 0.0 | — | — | — | |
| xzxzyzyz/laravel-uuid-model | 0.87 | 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 | |
| matt-daneshvar/eloquent-hashids | 0.86 | 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 | |
| brokeyourbike/uid-keys | 0.86 | Laravel package that swaps auto-incrementing integer primary keys for unique UID keys on your Eloquent models. Add the trait and new records get collision-resistant string IDs automatically—ideal for APIs, distributed systems, and hiding sequential IDs. | 0 | 0 | 0 | 38 | 0 | 3.1 | 22.6 | MPL-2.0 | 10 months ago | |
| juniorb2ss/eloquent-uuid | 0.86 | 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 | — | |
| healthengine/laravel-uuid | 0.86 | A small Laravel package for using UUIDs with Eloquent models. It helps generate UUID primary keys automatically and integrate UUID-backed models into your app with minimal setup, making it easier to add collision-resistant identifiers to Laravel projects. | 1 | 1 | 1 | 0 | 0 | 0.0 | — | MIT | 5 years ago | |
| vimatech/laravel-secure-fields | 0.86 | Laravel package that adds transparent encryption for sensitive database fields. Protect PII, tokens, and secrets with automatic encrypt/decrypt through Eloquent casts, no schema changes or query rewrites, plus configurable keys, key rotation, and searchable blind indexes. | 0 | 0 | 0 | 83 | 0 | 18.7 | 30.9 | MIT | 1 month ago | |
| red-explosion/laravel-sqids | 0.86 | 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 | |
| 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 | — | |
| bmatovu/laravel-eloquent-uuid | 0.86 | A Laravel package that adds UUID support to Eloquent models, letting you use universally unique identifiers as primary keys instead of auto-incrementing integers. It handles key generation and configuration for UUID-based models. | 3 | 3 | 0 | 62 | 0 | 0.0 | 11.9 | MIT | 4 years ago | |
| mtvs/eloquent-hashids | 0.86 | 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 | — | — | |
| cybercog/laravel-optimus | 0.86 | 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 | |
| khalyomede/laravel-eloquent-uuid-slug | 0.86 | A Laravel package that adds UUID slug support to Eloquent models, automatically generating unique, URL-friendly identifiers for your records so you can reference them in routes and links instead of exposing numeric IDs. | 23 | 23 | 0 | 1 | 2 | 0.5 | 0.2 | MIT | — | |
| juststeveking/laravel-data-object-tools | 0.86 | Handy tools and helpers for working with data objects in Laravel. Simplifies creating, validating, transforming, and casting DTOs, helping you keep application data flow clean, type-safe, and consistent across your codebase. | 66 | 66 | 9 | 74 | 1 | 1.1 | 4.5 | MIT | 2 years ago | |
| deligoez/laravel-model-hashids | 0.86 | 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 | |
| reshadman/laravel-optimistic-locking | 0.85 | Add optimistic locking to your Laravel Eloquent models to prevent lost updates. It tracks version numbers on save, throws exceptions on conflicts, and works with your existing models—no schema changes beyond a version column. | 96 | — | 24 | — | 6 | 2.9 | 1.9 | MIT | 7 years ago |
How can I help you explore Laravel packages today?