Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

uuid laravel

use IlluminateSupportStr;

$isUuid = Str::isUuid('a0a2a2d2-0b87-4a18-83f2-2529882be2de');

// true

$isUuid = Str::isUuid('laravel');

// false
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #uuid #laravel
ADD COMMENT
Topic
Name
5+6 =