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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| michalkortas/laravel-uuid | 0.79 | — | 2 | 2 | 0 | 0 | 0 | 1.5 | — | — | 5 years ago | |
| stayallive/laravel-eloquent-uuid | 0.79 | — | 4 | 4 | 0 | 8K | 0 | 17.1 | 50.3 | MIT | 4 months ago | |
| mindtwo/laravel-auto-create-uuid | 0.79 | Auto-fill a UUID v4 on Eloquent models when creating or replicating. Add a trait, add a uuid column, and it just works—no config. Supports custom UUID column names and ensures replicas get a fresh UUID by excluding the UUID attribute on replicate. | 1 | 1 | 1 | 1K | 0 | 18.2 | 44.6 | MIT | 2 months ago | |
| yadakhov/insert-on-duplicate-key | 0.78 | — | 275 | 282 | 51 | 33K | 9 | 9.8 | 31.9 | MIT | 5 years ago | |
| cline/morphism | 0.78 | 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 | 13.6 | 52.5 | MIT | 4 months ago | |
| cycle/entity-behavior-uuid | 0.78 | 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 | 9K | 0 | 1.0 | 54.4 | MIT | 2 years ago | |
| simlux/laravel-model-uuid | 0.78 | — | 0 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| fahriztx/model-uuid | 0.78 | Laravel/PHP trait to add automatic UUIDs to Eloquent models. Generates a UUID when creating records and supports using UUIDs as primary keys or additional identifiers, reducing reliance on auto-increment IDs and easing integration across systems. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 1 year ago | |
| webpatser/laravel-uuid | 0.78 | Laravel package for generating and working with UUIDs. Provides a UUID model trait, helpers to create v1/v4 UUIDs, and integrates with Eloquent so models can use UUID primary keys instead of auto-increment IDs. | 1,801 | 1,832 | 150 | 186K | 0 | 13.8 | 27.9 | — | 11 years ago | |
| dyrynda/laravel-model-uuid | 0.77 | — | 484 | 484 | 54 | 72K | 2 | 27.0 | 34.8 | MIT | 4 months ago | |
| symfony/uid | 0.77 | Symfony UID component offers an object-oriented API to generate and work with unique identifiers. Includes ULIDs and UUIDs (v1 and v3–v8), with implementations compatible with both 32-bit and 64-bit systems for consistent, portable IDs. | 608 | 616 | 12 | 12M | 0 | 31.4 | 63.6 | MIT | 1 month ago | |
| labrodev/laravel-uuidable | 0.77 | — | 1 | 1 | 0 | 40 | 0 | 0.0 | 18.3 | MIT | — | |
| goldspecdigital/laravel-eloquent-uuid | 0.77 | — | 509 | 510 | 45 | 10K | 0 | 9.6 | 18.8 | MIT | 3 years ago | |
| tpetry/laravel-postgresql-enhanced | 0.76 | Adds PostgreSQL-specific power to Laravel beyond the “lowest common denominator”: enhanced migrations (zero-downtime, extensions, functions, triggers, views/materialized views), advanced indexes (concurrent, partial, include, full-text, temporal), domains and table options. | 1,018 | 1,020 | 48 | 141K | 11 | 9.7 | 32.6 | MIT | — | |
| cycle/migrations | 0.76 | Cycle Database Migrations provides structured, versioned database schema changes for Cycle ORM/DBAL. Configure a migrations directory and table, run pending migrations programmatically, and optionally include vendor migrations or generate migration files during schema compilation. | 21 | 21 | 18 | 20K | 10 | 11.6 | 44.7 | MIT | 1 year ago | |
| cycle/schema-migrations-generator | 0.75 | — | 3 | 3 | 5 | 17K | 3 | 2.7 | 50.4 | MIT | 1 year ago | |
| ramsey/uuid-doctrine | 0.75 | — | 904 | 926 | 80 | 741K | 8 | 14.5 | 43.3 | MIT | 2 years ago | |
| cycle/schema-builder | 0.75 | Fluent PHP schema builder for Cycle ORM. Define tables, columns, indexes and relations in code, then generate/compile database schema changes for migrations and tooling. Helps keep your domain models and database structure in sync. | 15 | 15 | 13 | 23K | 7 | 30.6 | 54.1 | MIT | 1 month ago | |
| cline/ancestry | 0.75 | Closure table hierarchies for Laravel Eloquent. Manage deep trees (org charts, categories) with O(1) ancestor/descendant queries, fluent APIs, configurable keys/types, events, and snapshots for point-in-time hierarchy state. | 1 | 1 | 0 | 2K | 0 | 14.1 | 47.5 | MIT | 4 months ago | |
| sebastiaanluca/laravel-auto-morph-map | 0.73 | — | 53 | 55 | 9 | 245 | 0 | 0.9 | 7.3 | MIT | 5 years ago |
How can I help you explore Laravel packages today?