Skip to content
Because I can never remember exactly how to autoload my helpers.php file.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src improvements Nov 12, 2018
.gitignore
README.md
composer.json
composer.lock

README.md

Laravel Helpers File (helpers.php)

I add a app/helpers.php file to every project for any custom helpers I might want to create.

Everytime I go to add one to a project, I have to dig up how to autoload a single file in my composer.json.

No more will I suffer.

Installation

composer require calebporzio/laravel-helpers-file

php artisan calebporzio:helpers

This command will create a app/helpers.php file in your project and handle the autoloading for you automatically.

Hope this silly lil' package comes in handy for you.

You can’t perform that action at this time.