Skip to content

iqbalhasandev/laravel-helpers-automatic-load

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About Laravel Helpers Automatic Load

Laravel Helpers Automatic Loading System

Doc:


  • Copy the Helpers folder and paste it on app folder

  • Then Go To app/Providers/AppServiceProvider.php then paste those line code

  /**
   * Register any application services.
   *
   * @return void
   */
  public function register()
  {
      $this->loadHelpers();
  }
  
  
  
  /**
   * Load helpers all helpers form app/Helpers.
   */
  protected function loadHelpers()
  {
      foreach (glob(__DIR__ . '/../Helpers/*.php') as $filename) {
          require_once $filename;
      }
  }

We would like to extend our thanks to the following sponsors for funding iqbalhasan.dev development. If you are interested in becoming a sponsor, please email us info@iqbalhasan.dev

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to IQBAL HASAN via info@iqbalhasan.dev. All security vulnerabilities will be promptly addressed.

License

The iqbalhasan.dev Project is open-sourced software licensed under the MIT license.