netflex/query-builder

Netflex QueryBuilder library
3,814
Install
composer require netflex/query-builder
Latest Version:v7.0.1
PHP:^8.4
License:MIT
Last Updated:Jun 3, 2026
Links: GitHub  ·  Packagist
Maintainer: thomas-alrek

Netflex Query

[READ ONLY] Subtree split of the Netflex Query component (see netflex/framework)

A library for building complex search queries for the Netflex API using a fluent builder-pattern.

Installation

composer require netflex/query-builder

Usage example

<?php

use Netflex\Query\Builder;

$query = new Builder();
$query->relation('entry', 10000)
  ->where('id', '>=', 10100)
  ->where('author', '!=', null)
  ->orWhere(function ($query) {
    $query->where('id', '<', 10100)
      ->where('author', '=', 'John Doe');
  });

$items = $query->limit(100)
  ->fields(['id', 'name', 'author'])
  ->orderBy('name', 'desc')
  ->get();

$page = $query->paginate(25);

Contributing

Thank you for considering contributing to the Netflex QueryBuilder! Please read the contribution guide.

Code of Conduct

In order to ensure that the community is welcoming to all, please review and abide by the Code of Conduct.

License

The Netflex QueryBuilder is open-sourced software licensed under the MIT license.

Copyright © 2020 Apility AS

Related Packages

libern/laravel-sql-logging

Laravel 5 package for logging SQL queries.

4,598 0
nqxcode/laravel-lucene-search

Laravel 5.5 package for full-text search over Eloquent models based on ZendSearc...

16,540 72
huasituo/laravel-esquery

EsQuery是基于phpQuery的无比强大的PHP采集工具

24 0
tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

5,394,523 1,765
mmanos/laravel-search

A search package for Laravel 5.

75,740 351