egeatech / laravel-requests
A simple package to better handle application requests.
Installs: 3 746
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 2
Requires
- php: ^8.0
- illuminate/support: ~7|~8|~9|~10
Requires (Dev)
- orchestra/testbench: ~5|~6|~7|~8
- phpunit/phpunit: ~9.0
This package is auto-updated.
Last update: 2025-03-09 18:08:59 UTC
README
A package to provide some standardized request classes.
Installation
This package supports Laravel 7, 8 and 9 but requires at least PHP 8.0 (starting from v2.x). PHP 7.4 was supported up to version 1.0.2.
Via Composer
$ composer require egeatech/laravel-requests
Usage
When storing data into the database it's a good practise to carry around the application only the data we need, extracted from an incoming request: the two interfaces exposed by the package aim to provide a contract to wrap all classes whose goal is to wrap creation or update data.
It is up to the developer how to use them: we've thought of them to be used with our Laravel Model package, in order to have a higher order entity abstraction when manipulating database information.
Change log
Please see the CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
The software is licensed under MIT. Please see the LICENSE file for more information.