marquine/eloquent-uuid
marquine/eloquent-uuid adds UUID primary key support to Laravel Eloquent models, replacing auto-incrementing integer IDs with globally unique identifiers through a simple trait. Models keep their usual relationships and query behavior while gaining non-sequential, harder-to-guess keys with minimal c...
marquine/eloquent-uuid gives your Laravel Eloquent models UUID primary keys with minimal configuration. Rather than auto-incrementing integers, models using the package receive a globally unique identifier on creation, keeping your data portable and your IDs safe to expose in URLs or APIs.
It integrates directly with Eloquent conventions, so existing relationships and route model binding continue to work while your keys stay non-sequential.
How can I help you explore Laravel packages today?