ahuggins / helpers by ahuggins

Add a helpers.php file to your Laravel application.
82
0
2
Package Data
Maintainer Username: ahuggins
Maintainer Contact: andrewhuggins@gmail.com (Andrew Huggins)
Package Create Date: 2017-08-25
Package Last Update: 2017-08-29
Language: PHP
License: MIT
Last Refreshed: 2024-12-15 15:07:55
Package Statistics
Total Downloads: 82
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel Helpers

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