Skip to content

Latest commit

 

History

History

criteria-from-laravel-request-to-eloquent

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Codely logo

🎼 Criteria from Laravel Request to Eloquent

🔒 Read-only repository

Any modification must be done in the main repository.

📥 Installation

composer require codelytv/criteria-from-laravel-request-to-eloquent

💻 Usage

The criteria converter expect an url with the following format.

Route::get('users', function (Request $request) {
    return CriteriaFromLaravelRequestToEloquentConverter::convert(User::query(), $request)->get();
});