Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/calebporzio/laravel-helpers-file
- Owner: calebporzio
- Archived: true
- Created: 2018-11-11T04:31:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T01:17:14.000Z (over 2 years ago)
- Last Synced: 2024-07-19T03:50:54.626Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 2.63 MB
- Stars: 61
- Watchers: 5
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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.