laravel text max length code example Example: laravel max length format {{ Str::limit($your_string, 50) }}