webpatser/laravel-uuid
Generate and work with UUIDs in Laravel using the popular ramsey/uuid library. Provides a simple UUID facade and helpers, plus optional model support to use UUID primary keys in Eloquent, making unique IDs easy across apps and services.
webpatser/uuid ^2.0switch statements to PHP match expressions in BinaryUuidMigrationstests/bootstrap.php)composer.jsonsrc/Webpatser/LaravelUuid/ directly to src/composer.json to follow Laravel package conventionsbenchmark_results.php, .travis.yml, and .phpunit.cache/.phpunit.cache/ to .gitignore for cleaner repository maintenanceStr::uuidFromSqlServer() - Import UUID from SQL Server with automatic byte order correctionStr::uuidToSqlServer() - Export UUID to SQL Server GUID formatStr::uuidToSqlServerBinary() - Get SQL Server binary format for uniqueidentifier columnsStr::sqlServerBinaryToUuid() - Import SQL Server binary uniqueidentifier to standard UUIDStr::isSqlServerGuid() - Heuristic detection of SQL Server GUID formatuniqueidentifier column support in BinaryUuidMigrationswebpatser/uuid packageStr::fastUuid() - 15% faster than Str::uuid()Str::fastOrderedUuid() - 25% faster than Str::orderedUuid()Str::fastIsUuid() - Fast UUID validationStr::timeBasedUuid() - V1 time-basedStr::reorderedTimeUuid() - V6 reordered timeStr::customUuid() - V8 customStr::nameUuidSha1() - V5 name-basedHasBinaryUuids trait for automatic binary UUID supportBinaryUuidCast for automatic conversionBinaryUuidMigrations for database-optimized migrationswebpatser/uuid packagewebpatser/uuid as core dependencyPrevious versions were standalone UUID implementations. See git history for details.
How can I help you explore Laravel packages today?