campusdatamedia/faturhelper

Project that contains some helpers/functions/methods to help my work easier

v3.1.2 2022-03-23 04:22 UTC

README

Total Downloads Latest Stable Version License GitHub Action WakaTime

Introduction

FaturHelper is the project that contains some helpers/functions/methods to help my Laravel work easier.

Prerequisite

  • PHP >= 7.4
  • DBMS MySQL >= 6.0
  • Laravel >= 8.0

Installation (Version 2.0)

Download From Composer:

Run this script into your CLI:

composer require campusdatamedia/faturhelper

Configuration:

Add this script into app/Providers/AppServiceProvider.php inside of register method:

if(File::exists(base_path('vendor/campusdatamedia/faturhelper/src'))) {
    foreach(glob(base_path('vendor/campusdatamedia/faturhelper/src').'/Helpers/*.php') as $filename) {
        require_once $filename;
    }
}

Installation (Version 3.0 or More)

Download From Composer:

Run this script into your CLI:

composer require campusdatamedia/faturhelper

Configuration:

Add this script into config/app.php in providers section:

Ajifatur\FaturHelper\FaturHelperServiceProvider::class,

Run this script into your CLI every after install or update the faturhelper:

php artisan faturhelper:install

Enjoy!

Docs