webpatser/laravel-uuid
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.
18,666,700
1,798
| Install | |
|---|---|
composer require webpatser/laravel-uuid |
|
| Latest Version: | v7.0.1 |
| PHP: | ^8.5 |
| Laravel: | 13 |
| Older releases: | 11 · 12 |
| License: | MIT |
| Last Updated: | Jul 2, 2026 |
| Links: | GitHub · Packagist |
Maintainer: webpatser
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.5+, Laravel 13.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.
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v7.0.1 | ^8.5 | ^13.0 | MIT | |
| v7.0.0 | ^8.5 | ^13.0 | MIT | |
| v6.2.1 | ^8.2 | ^11.0| | MIT | |
| v6.2.0 | ^8.2 | ^11.0| | MIT | |
| v6.1.0 | ^8.2 | ^11.0| | MIT | |
| v6.0.1 | ^8.2 | ^11.0| | MIT | |
| v6.0.0 | ^8.2 | ^11.0| | MIT | |
| v5.1.2 | ^8.2 | MIT | ||
| v5.1.1 | ^8.2 | MIT | ||
| v5.1.0 | ^8.2 | MIT | ||
| v5.0.1 | ^8.0 | MIT | ||
| v5.0.0 | ^8.0 | MIT | ||
| 4.0.2 | ^7.0| | MIT | ||
| 4.0.1 | ^7.0| | MIT | ||
| 4.0 | ^7.0| | MIT | ||
| 3.0.2 | ^7.0 | MIT | ||
| 3.0.1 | ^7.0 | MIT | ||
| 3.0 | ^7.0 | MIT | ||
| 2.2.1 | >=5.3.0 | MIT | ||
| 2.2 | >=5.3.0 | MIT | ||
| 2.1.1 | >=5.3.0 | MIT | ||
| 2.1 | >=5.3.0 | MIT | ||
| 2.0.3 | >=5.3.0 | MIT | ||
| 2.0.2 | >=5.3.0 | MIT | ||
| 2.0.1 | >=5.3.0 | MIT | ||
| 2.0 | >=5.3.0 | MIT | ||
| 1.5.1 | >=5.3.0 | MIT | ||
| 1.5 | >=5.3.0 | MIT | ||
| 1.4 | >=5.3.0 | MIT | ||
| 1.3 | >=5.3.0 | MIT |
Showing the latest 30 of 32. See every release on Packagist