codelytv/criteria-from-laravel-request
2,326
2
| Install | |
|---|---|
composer require codelytv/criteria-from-laravel-request |
|
| Latest Version: | 0.1.3 |
| PHP: | ^8.2 |
| Laravel: | 11 |
| Last Updated: | Aug 6, 2024 |
| Links: | GitHub · Packagist |
Maintainer: rgomezcasas
🎼 Criteria from Laravel Request
🔒 Read-only repository
Any modification must be done in the main repository.
📥 Installation
composer require codelytv/criteria-from-laravel-request
💻 Usage
The criteria converter expect an url with the following format.
There are two ways to use this package.
Classic way:
Route::get('users', function (Request $request) {
$fromConverter = new CriteriaFromLaravelRequestConverter();
$criteria = $fromConverter->toCriteria($request);
});
Laravel way:
Route::get('users', function (Request $request) {
$criteria = CriteriaFromLaravelRequestConverter::convert($request);
});
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
648,266,899
9,701
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
429,221,767
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
403,217,078
4,664
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.1.3 | ^8.2 | ^v11 | ||
| 0.1.2 | ^8.2 | ^v11 | ||
| 0.1.1 | ^8.2 | ^v11 | ||
| 0.1.0 | ^8.2 | ^v11 | ||
| 0.0.10 | ^8.2 | ^v11 | ||
| 0.0.9 | ^8.2 | ^v11 | ||
| 0.0.8 | ^8.2 | ^v11 | ||
| 0.0.7 | ^8.2 | ^v11 | ||
| 0.0.6 | ^8.2 | ^v11 | ||
| 0.0.5 | ^8.2 | ^v11 |