Str_limit Not Working in Laravel

Last modified on June 12, 2020 10 sec read

In Laravel 6 str_limit() and this related string & array function are not found.
So, the solution I found that you just use this class for string,


and, use this class for array


Or you can add new laravel\helper

composer require laravel/helpers

Monthly Newsletter

One email a month, packed with the latest tutorials, delivered straight to your inbox.
We'll never send any spam or promotional emails.

One Reply to “Str_limit Not Working in Laravel”

Leave a Reply