word count in blade *laravel code example
Example: how to truncate the given string to the specified length in blade.php
#insert this line in blade.php it will truncate your string
#first parameter accept the string to be truncate
#second parameter accept the lenght
$third accept waht should print after the truncate string
{{ \Illuminate\Support\Str::limit($string, 150, $end='...') }}