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