Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

laravel-uuid

> 后端框架
Open source

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.

1.8K stars0 likes2 views
WebsiteGitHub

About

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.

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.

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •PHP
  • •laravel-uuid
  • •laravel-validation
  • •php
  • •uuid

> Tags

PHPlaravel-uuidlaravel-validationphpuuid

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架