src/LaravelHelpersServiceProvider.php
public function registerPackageHelpers()
    {
        foreach($this->packageHelpers as $helper)
        {
            $dashName = last(explode('/', $helper));
            $underscoreName = str_replace('-', '_', $dashName);

            if(in_array('*', $this->packageInclude) ||
                in_array($dashName, $this->packageInclude) ||
                in_array($underscoreName, $this->packageInclude))
            {
                require_once $this->replaceVariables($this->packageHelperPattern, compact('dashName', 'underscoreName'));
            }
        }

    }
public function registerPackageHelpers()
    {
        foreach($this->packageHelpers as $helper)
        {
            $dashName = last(explode('/', $helper));
            $underscoreName = str_replace('-', '_', $dashName);

            if(in_array('*', $this->packageInclude) ||
                in_array($dashName, $this->packageInclude) ||
                in_array($underscoreName, $this->packageInclude))
            {
                require_once $this->replaceVariables($this->packageHelperPattern, compact('dashName', 'underscoreName'));
            }
        }

    }
public function registerPackageHelpers ( ) { foreach ( $ this -> packageHelpers as $ helper ) { $ dashName = last ( explode ( '/' , $ helper ) ) ; $ underscoreName = str_replace ( '-' , '_' , $ dashName ) ; if ( in_array ( '*' , $ this -> packageInclude ) || in_array ( $ dashName , $ this -> packageInclude ) || in_array ( $ underscoreName , $ this -> packageInclude ) ) { require_once $ this -> replaceVariables ( $ this -> packageHelperPattern , compact ( 'dashName' , 'underscoreName' ) ) ; } } }
Register the package helpers
Register the package helpers