zdirnecamlcs96 / laravel-helpers
There is no license information available for the latest version (v2.2.0) of this package.
Helpers for personal use
v2.2.0
2023-04-13 09:25 UTC
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.4
- illuminate/http: ^9.17
- illuminate/support: ^9.17
- illuminate/translation: ^9.17
- illuminate/validation: ^9.17
- intervention/image: ^2.7
- dev-main
- v2.2.0
- 2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.0-alpha
- v1.0.0
- v0.1.0-alpha
- dev-dependabot/composer/illuminate/support-9.52.16
- dev-dependabot/composer/illuminate/translation-9.52.16
- dev-dependabot/composer/illuminate/validation-9.52.16
- dev-dependabot/composer/illuminate/http-9.52.16
- dev-dependabot/composer/guzzlehttp/guzzle-7.8.0
- dev-zdirnecamlcs96-patch-1
This package is auto-updated.
Last update: 2025-05-29 01:47:55 UTC
README
Helpers for Laravel 8 project
Laravel | Version | Supported |
---|---|---|
8.* | v1.0^ | ✅ |
9.* | v2.0^ | ❓ |
How to Use
You may include the helper inside Controller.php
. For more information, you can refer PHP Traits.
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as BaseController; use Zdirnecamlcs96\Helpers\Traits\Helpers; // Import here class Controller extends BaseController { use AuthorizesRequests, DispatchesJobs, Helpers; // Use here }
After install
Please remove ValidatesRequests
Trait in LoginController
, it will cause ambiguous error as this package overwrote the function inside the trait.
Contributing
Thank you for considering contributing. Since this is for private usage, please contact me for the contribution guide.
Laravel License
The Laravel framework is open-sourced software licensed under the MIT license.