laravel use helper funcition accross app code example
Example 1: how to share a helper globally laravel
require_once app_path('Helpers/AnythingHelper.php');
Example 2: how to share a helper globally laravel
'App\Providers\HelperServiceProvider',