ahuggins/helpers

Add a helpers.php file to your Laravel application.

0.0.6 2017-08-29 22:36 UTC

This package is auto-updated.

Last update: 2024-03-28 22:08:47 UTC


README

A simple way to add a customizable helpers.php file to your Laravel application.

  1. Simply run this composer require command:

composer require ahuggins/helpers

  1. Then if your application is >= Laravel 5.5, you would be done. Otherwise you will need to add the following service provider to your config/app.php file.

AHuggins\Helpers\Providers\HelpersServiceProvider::class,

  1. Publish the helpers file.

php artisan vendor:publish --tag=helpers