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