A Laravel package for generating RFC 4122-compliant UUIDs with optimized performance and seamless Eloquent integration.
Laravel UUID is a PHP package for Laravel that generates and validates UUIDs according to the RFC 4122 standard. It provides optimized UUID generation methods, seamless Eloquent model integration, and built-in validation rules to handle UUIDs efficiently in Laravel applications.
Laravel developers who need to implement UUIDs as primary keys in their models or require high-performance UUID generation for distributed systems.
Developers choose Laravel UUID for its performance-optimized generation methods, native Laravel integration, and strict compliance with RFC 4122 standards, making it a reliable drop-in solution for UUID handling.
Laravel package to generate and to validate a UUID according to the RFC 4122 standard. Only support for version 1, 3, 4 and 5 UUID are built-in.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates and validates UUIDs according to official standards, supporting versions 1, 3, 4, and 5 for diverse use cases like time-based or name-based identifiers.
Includes Str::fastUuid() and Str::fastOrderedUuid() methods that are up to 15% faster than Laravel's native UUID generation, as highlighted in the README for high-throughput applications.
Provides a HasUuids trait for automatic UUID generation as model primary keys, reducing boilerplate code and ensuring consistency in database design.
Offers ordered UUIDs optimized for better database indexing and performance, addressing common fragmentation issues in large-scale systems.
Requires Laravel 13.x and PHP 8.5+, making it incompatible with older projects without significant upgrades or refactoring efforts.
Documentation is hosted externally on a third-party site, which may be less reliable, harder to navigate, or slower to update compared to integrated Laravel docs.
Tightly coupled to Laravel's ecosystem, limiting its use in microservices or applications with mixed technology stacks, and adding dependency overhead for simple UUID needs.