src/Support/HelperServiceProvider.php
public function register()
    {
        $file = $this->app->make(Filesystem::class);

        $path = realpath(__DIR__.'/Helpers');
        $helpers = $file->glob($path.'/*.php');

        foreach ($helpers as $helper) {
            require_once $helper;
        }
    }
public function register()
    {
        $file = $this->app->make(Filesystem::class);

        $path = realpath(__DIR__.'/Helpers');
        $helpers = $file->glob($path.'/*.php');

        foreach ($helpers as $helper) {
            require_once $helper;
        }
    }
Register the application services.

@return void