how helpers work in laravel framework code example
Example 1: laravel str::random
use Illuminate\Support\Str;
$random = Str::random(40);
Example 2: how to share a helper globally laravel
'App\Providers\HelperServiceProvider',
use Illuminate\Support\Str;
$random = Str::random(40);
'App\Providers\HelperServiceProvider',