cline/variable-keys
Laravel Blueprint macros for variable primary key types, matching foreign keys, and polymorphic morph types. Easily switch between id/uuid/ulid (and more) via enums/config to keep migrations consistent across models and relationships.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pindab0ter/constrained-morph-to-for-laravel | 0.82 | Type-constrained polymorphic relationships for Laravel Eloquent. Extend morphTo to accept only specified model types, ensuring type safety and data integrity while keeping the flexibility of a polymorphic database structure. | 3 | 3 | 1 | 3K | 0 | 17.5 | 45.9 | MIT | 2 months ago | |
| cline/morphism | 0.81 | Central registry for Laravel polymorphic key mapping. Define which primary key column (id/uuid/ulid) each model uses in morph relations, with migration macros, optional strict enforcement, and config-based setup—ideal for package authors. | 0 | 0 | 0 | 3K | 0 | 7.2 | 50.0 | MIT | 8 months ago | |
| sitesource/laravel-polymorphic-settings | 0.81 | Laravel Polymorphic Settings lets you attach flexible key-value settings to any Eloquent model through a polymorphic relationship, with a simple API for storing, retrieving, updating, and managing configuration-like data per record. | 0 | 0 | 0 | 2K | 1 | 10.0 | 50.6 | MIT | 6 months ago | |
| juniorb2ss/eloquent-uuid | 0.81 | 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 | — | |
| bmatovu/laravel-eloquent-uuid | 0.81 | 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 | |
| cycle/entity-behavior-uuid | 0.80 | Cycle ORM behavior that adds first-class UUID columns using ramsey/uuid. Annotate entities with Uuid4 and map fields as type "uuid" (including primary keys) for automatic UUID handling in Cycle ORM models. | 0 | 0 | 4 | 14K | 0 | 1.0 | 55.3 | MIT | 2 years ago | |
| sebastiaanluca/laravel-auto-morph-map | 0.80 | — | 53 | 55 | 9 | 224 | 0 | 0.9 | 6.9 | MIT | 5 years ago | |
| michalkortas/laravel-uuid | 0.80 | — | 2 | 2 | 0 | 0 | 0 | 1.5 | — | — | 5 years ago | |
| fidum/laravel-eloquent-morph-to-one | 0.80 | Adds a MorphToOne relationship to Laravel's Eloquent ORM, letting a model own a single polymorphic related record. Useful when a parent has exactly one morph child, mirroring MorphMany but returning a single model with lazy and eager loading support. | 34 | — | 4 | — | 0 | 14.4 | — | MIT | 3 months ago | |
| simlux/laravel-model-uuid | 0.80 | — | 1 | 1 | 1 | 0 | 0 | 0.0 | — | — | — | |
| moneo/laravel-morphmap | 0.80 | — | 53 | 53 | 2 | 57 | 0 | 0.3 | 4.3 | MIT | — | |
| healthengine/laravel-uuid | 0.80 | 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 | |
| kiwilan/typescriptable-laravel | 0.80 | — | 39 | 39 | 9 | 2K | 7 | 12.1 | 27.7 | MIT | 1 year ago | |
| eig/eloquent-uuid | 0.80 | 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 | |
| malsanyang/laravel-model-tools | 0.80 | Helper traits and utilities for Laravel Eloquent models that cut boilerplate around common model tasks, with a simple, convention-friendly API. | 0 | — | 0 | — | 0 | 15.5 | — | MIT | 2 months ago | |
| jamesh/laravel-uuid | 0.80 | 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 | |
| hnhdigital-os/laravel-model-schema | 0.80 | Laravel Model Schema adds schema introspection to Eloquent models, letting you read column names, types, and related metadata directly from the model. Handy for generating forms, filters, validation rules, and admin scaffolding without querying the database manually. | 12 | 12 | 0 | 0 | 0 | 0.4 | — | MIT | 3 years ago | |
| labrodev/laravel-uuidable | 0.79 | — | 0 | 1 | — | 1 | — | 0.0 | 4.2 | — | — | |
| ryangjchandler/laravel-uuid | 0.79 | 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 | — | — | — | |
| rorecek/laravel-ulid | 0.79 | rorecek/laravel-ulid adds ULID support to Laravel apps, making it easy to generate lexicographically sortable, URL-safe identifiers and use them with Eloquent models. A lightweight alternative to UUIDs for primary keys and other unique IDs. | 52 | 52 | 17 | 2K | 4 | 2.0 | 23.5 | MIT | — |
How can I help you explore Laravel packages today?