flobbos/laravel-simple-helper

A small package for better maintenance of your helper classes.

0.13 2019-08-23 13:57 UTC

This package is auto-updated.

Last update: 2020-07-23 16:02:19 UTC


README

Laravel Simple Helper

Install and maintain all your helpers in a simple way

Docs

Installation

Install package

Add the package in your composer.json by executing the command.

composer require flobbos/laravel-simple-helper

Register the service provider with your app/config/app.php

Flobbos\LaravelSimpleHelper\LaravelSimpleHelperServiceProvider::class,

Configuration

Publish the configuration file.

php artisan vendor:publish 

Use the package

By default the package assumes that your helpers live in the app\Helpers directory. You have the option to specify the helpers directory in the config.

The second option is to just load everything that's in the Helpers directory or specify each helper in the config file.

Laravel compatibility

LaravelSimpleHelper is generally compatible with Laravel version 5.X.