メソッドを使用してそれを行うことができますwords
デフォルトは次のとおりです。
words($value,$words = 100, $end='...');
このように実装できます
Str::words($post->body);
Str::words($post->body,10); //will show first 10 words
Str class not found のようなエラーが発生した場合は、次のステートメントを使用します
use Illuminate\Support\Str;