codelytv/criteria-to-eloquent

2,332 2
Install
composer require codelytv/criteria-to-eloquent
Latest Version:0.1.3
PHP:^8.2
Laravel:11
Last Updated:Aug 6, 2024
Links: GitHub  ·  Packagist
Maintainer: rgomezcasas

Codely logo

🎼 Criteria to Eloquent

🔒 Read-only repository

Any modification must be done in the main repository.

📥 Installation

composer require codelytv/criteria-to-eloquent

💻 Usage

There are two ways to use this package.

Classic way:

$toConverter = new CriteriaToEloquentConverter();
$users = $toConverter->applyCriteria(User::query(), $criteria)->get();

Laravel way:

$users = CriteriaToEloquentConverter::convert(User::query(), $criteria)->get();

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
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 ^11
0.1.2 ^8.2 ^11
0.1.1 ^8.2 ^11
0.1.0 ^8.2 ^11
0.0.10 ^8.2 ^11