{{Str::limit laravel
{{Str::limit($category->name, 20)}}
if to end
{{Str::limit($category->name, 20, $end='.......')}}
or
{{\Illuminate\Support\Str::limit($category->name, 20)}}
{{Str::limit laravel
{{Str::limit($category->name, 20)}}
if to end
{{Str::limit($category->name, 20, $end='.......')}}
or
{{\Illuminate\Support\Str::limit($category->name, 20)}}
uuid package generator laravel
//above in controller
use Illuminate\Support\Str;
//in function
$uuid = Str::uuid()->toString();
//terminal
composer require "webpatser/laravel-uuid:^3.0"
uuid in laravel
use Illuminate\Support\Str;
$uuid = Str::uuid()->toString();
uuid laravel
use Illuminate\Support\Str;
$isUuid = Str::isUuid('a0a2a2d2-0b87-4a18-83f2-2529882be2de');
// true
$isUuid = Str::isUuid('laravel');
// false
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us