Str_limit not working in Laravel

Last modified on February 21, 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

You're welcome to suggest any article to write!

One Reply to “Str_limit not working in Laravel”

Leave a Reply

Your email address will not be published. Required fields are marked *