laravel string max length code example
Example 1: varchar max length define laravel migration
$table->string('name', 64);
Example 2: laravel max length format
{{ Str::limit($your_string, 50) }}
$table->string('name', 64);
{{ Str::limit($your_string, 50) }}