laravel-uuid maintained by webpatser
Description
Laravel integration for webpatser/uuid - High-performance drop-in UUID replacements (15% faster than Ramsey). Provides Str macros, HasUuids trait, facades, and casts. RFC 4122/9562 compliant.
Author
Last update
2026/03/20 08:36
(dev-master)
License
Downloads
17 233 765
Tags
Last update
2026/03/20 08:36
License
Require
- php ^8.5
- webpatser/uuid ^2.0|dev-main
- illuminate/support ^13.0
Last update
2026/03/20 08:36
License
Require
- php ^8.5
- webpatser/uuid ^2.0|dev-main
- illuminate/support ^13.0
Last update
2026/03/19 10:52
License
Require
- php ^8.2
- webpatser/uuid ^1.2.1|dev-main
- illuminate/support ^11.0|^12.0|^13.0
Last update
2025/09/12 10:13
License
Require
- php ^8.2
- webpatser/uuid ^1.2.1|dev-main
- illuminate/support ^11.0|^12.0
Last update
2025/09/11 08:38
License
Require
- php ^8.2
- webpatser/uuid ^1.2.1|dev-main
- illuminate/support ^11.0|^12.0
Last update
2025/09/11 08:17
License
Require
- php ^8.2
- webpatser/uuid ^1.2.1
- illuminate/support ^11.0|^12.0
Last update
2025/09/10 17:56
License
Require
- php ^8.2
- webpatser/uuid ^1.2.1
- illuminate/support ^11.0|^12.0
Laravel UUID Integration
Laravel package for generating and working with UUIDs. Automatic UUID model keys, validation rules, and Eloquent support.
Installation
composer require webpatser/laravel-uuid
Requirements: PHP 8.2+, Laravel 11.x or 12.x
Quick Start
use Illuminate\Support\Str;
use Webpatser\LaravelUuid\HasUuids;
// High-performance UUID generation
$uuid = Str::fastUuid(); // 15% faster than Str::uuid()
$ordered = Str::fastOrderedUuid(); // Database-optimized
// Eloquent model integration
class User extends Model
{
use HasUuids; // Automatic UUID generation
}
Documentation
For complete documentation, examples, and API reference, visit:
https://documentation.downsized.nl/laravel-uuid
License
MIT License.