Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/calebporzio/laravel-helpers-file

Because I can never remember exactly how to autoload my helpers.php file.
https://github.com/calebporzio/laravel-helpers-file

Last synced: 3 months ago
JSON representation

Because I can never remember exactly how to autoload my helpers.php file.

Awesome Lists containing this project

README

        

# 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.