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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cline/morphism | 0.80 | 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 | — | 2K | — | 15.7 | 52.4 | — | — | |
| michalkortas/laravel-uuid | 0.79 | — | 2 | 2 | 0 | 0 | 0 | 1.5 | — | — | 5 years ago | |
| stayallive/laravel-eloquent-uuid | 0.79 | — | 4 | 4 | 0 | 6K | 0 | 17.4 | 48.1 | MIT | 2 months ago | |
| yadakhov/insert-on-duplicate-key | 0.78 | — | 275 | 283 | 51 | 25K | 9 | 9.8 | 30.1 | MIT | 5 years 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.7 | 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,800 | 1,832 | 150 | 191K | 0 | 13.8 | 28.0 | — | 11 years ago | |
| dyrynda/laravel-model-uuid | 0.77 | — | 481 | 481 | 54 | 77K | 1 | 29.1 | 35.6 | MIT | 2 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. | 611 | 616 | 12 | 11M | 0 | 32.8 | 64.4 | MIT | 1 month ago | |
| labrodev/laravel-uuidable | 0.77 | — | 1 | 1 | 0 | 1 | 0 | 0.0 | 2.4 | MIT | — | |
| goldspecdigital/laravel-eloquent-uuid | 0.77 | — | 510 | 510 | 45 | 12K | 0 | 9.6 | 19.5 | 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,013 | 1,017 | 48 | 126K | 11 | 9.6 | 30.8 | 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. | 20 | 20 | 18 | 19K | 10 | 14.2 | 45.4 | MIT | 10 months 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 | 13.6 | 47.4 | MIT | 10 months ago | |
| guidocella/eloquent-insert-on-duplicate-key | 0.75 | — | 87 | 88 | 22 | 2K | 0 | 2.5 | 14.3 | MIT | 5 years ago | |
| doctrine/migrations | 0.75 | Doctrine Migrations adds versioned database migrations to Doctrine DBAL/ORM. Define migration classes, generate diffs, and run upgrades/downgrades across environments with transactional execution, CLI tools, and fine-grained control over schema and data changes. | 4,775 | 4,811 | 394 | 4M | 117 | 82.7 | 73.0 | 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 | 0 | 0 | 2K | 0 | 16.1 | 47.8 | MIT | 3 months ago | |
| laravel-clickhouse/laravel-clickhouse | 0.74 | Laravel ClickHouse adds a ClickHouse driver for Laravel with Eloquent models, an extended query builder (FINAL, PREWHERE, ARRAY JOIN, CTE, set ops, ClickHouse joins), and a schema builder for ClickHouse DDL. Includes migrations, lightweight deletes, and parallel HTTP querying. | 193 | 184 | 6 | 1K | 3 | 23.1 | 16.1 | MIT | 1 week ago | |
| sebastiaanluca/laravel-auto-morph-map | 0.73 | — | 53 | 55 | 9 | 158 | 0 | 0.9 | 5.8 | MIT | 4 years ago |
How can I help you explore Laravel packages today?