egeatech/laravel-requests

A simple package to better handle application requests.

3.0.0 2024-01-09 15:50 UTC

README

Latest Version on Packagist Total Downloads

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.