Any modification must be done in the main repository.
composer require codelytv/criteria-from-laravel-request-to-eloquent
The criteria converter expect an url with the following format.
Route::get('users', function (Request $request) {
return CriteriaFromLaravelRequestToEloquentConverter::convert(User::query(), $request)->get();
});