flobbos / laravel-simple-helper
A small package for better maintenance of your helper classes.
Installs: 5 828
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.6.0
- illuminate/support: >=5.1.0
This package is auto-updated.
Last update: 2024-12-24 01:19:06 UTC
README
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.