yieldstudio/eloquent-public-id
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jamesh/laravel-uuid | 0.87 | Adds UUID primary keys to Laravel Eloquent models. A lightweight trait generates a UUID on creation, supports lookups by UUID, and makes models route-key ready, so you can replace auto-incrementing IDs without rewriting your queries or controllers. | 20 | 21 | 8 | 6 | 0 | 0.2 | 1.1 | MIT | 4 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 | |
| tonysm/globalid-laravel | 0.86 | GlobalID for Laravel brings Rails-style global identifiers to Eloquent models. Generate and parse stable gid:// strings for any model record, create signed GlobalIDs for secure expiration, and use them in jobs, URLs, and APIs without exposing raw IDs. | 45 | 45 | 3 | 15K | 1 | 9.0 | 37.1 | MIT | 7 months ago | |
| stayallive/laravel-eloquent-uuid | 0.86 | — | 4 | 4 | 0 | 1K | 0 | 9.1 | 36.0 | MIT | 7 months ago | |
| ryangjchandler/laravel-uuid | 0.86 | 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 | — | — | — | |
| eig/eloquent-uuid | 0.86 | 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 | |
| elfsundae/laravel-hashid | 0.85 | 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 | — | |
| khalyomede/laravel-eloquent-uuid-slug | 0.85 | 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 | — | |
| juniorb2ss/eloquent-uuid | 0.85 | 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 | — | |
| n7olkachev/laravel-computed-properties | 0.85 | Add computed properties to your Laravel Eloquent models, calculated on the fly like accessors but excluded from the database. Keep models lean, reuse derived values across queries and serialization, and write less boilerplate. | 187 | — | 8 | — | 0 | 1.2 | — | — | 8 years ago | |
| xzxzyzyz/laravel-uuid-model | 0.85 | 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 | |
| zachleigh/laravel-property-bag | 0.85 | Add a flexible property bag to Laravel Eloquent models: store arbitrary key-value data as JSON without extra tables or migrations, with a clean API for setting, getting, and managing custom properties. | 84 | — | 8 | — | 2 | 0.7 | 0.3 | MIT | 6 years ago | |
| pchapl/ids | 0.85 | pchapl/ids is a lightweight Laravel package for generating and managing unique identifiers for Eloquent models. It makes it easy to add custom ID behavior to your models with minimal configuration, reducing boilerplate while keeping identifiers consistent and application-specific. | 0 | — | 0 | — | 0 | 0.3 | — | WTFPL | 5 years ago | |
| pugx/shortid-php | 0.85 | Generate short, unique, URL-friendly IDs in PHP with PUGX ShortId. A lightweight, dependency-free library for non-sequential identifiers useful for URLs, tokens, and database keys. | 51 | — | 7 | — | 0 | 14.1 | — | MIT | 3 months ago |
|
| healthengine/laravel-uuid | 0.85 | 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 | |
| taldres/laravel-immutable-attributes | 0.85 | A Laravel package for defining immutable Eloquent model attributes that can be set once but never changed afterward, helping protect critical values from accidental updates. | 0 | 0 | 0 | 3K | 0 | 19.3 | 57.2 | MIT | 2 weeks ago | |
| sprocketbox/eloquent-identity | 0.85 | — | 13 | 7 | 4 | 88 | 0 | 0.5 | 11.9 | MIT | 5 years ago | |
| guava/sqids-for-laravel | 0.85 | 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 | — | — | |
| haruncpi/laravel-id-generator | 0.85 | Laravel ID Generator creates unique, customizable IDs for database records. It supports prefixes, suffixes, fixed lengths, and sequence resets, making it easy to generate invoice, order, ticket, and other formatted IDs without manual tracking. | 277 | 277 | 49 | 21K | 4 | 4.5 | 27.7 | — | 7 years ago | |
| juststeveking/laravel-key-factory | 0.85 | 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. | 6 | 7 | 3 | 847 | 1 | 0.5 | 29.1 | MIT | 3 years ago |
How can I help you explore Laravel packages today?