how to create and use helper in laravel code example
Example 1: add custom helper laravel
composer dump-autoload
Example 2: laravel helper
use Illuminate\Support\Str;
$length = Str::length('Laravel');
// 7
composer dump-autoload
use Illuminate\Support\Str;
$length = Str::length('Laravel');
// 7