Answers for "Str in laravel"

PHP
2

use str laravel

use Illuminate\Support\Str
Posted by: Guest on August-04-2021
3

{{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)}}
Posted by: Guest on December-05-2020
1

laravel string

use Illuminate\Support\Facades\Schema;

public function boot()
{
    Schema::defaultStringLength(191);
}
Posted by: Guest on June-21-2020

Browse Popular Code Answers by Language