New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

netflex/query-builder

Netflex QueryBuilder library
3,864
Install
composer require netflex/query-builder
Latest Version:v7.0.2
PHP:^8.4
Laravel:13
Older releases:7 – 12
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  Packagist
Maintainer: thomas-alrek

Netflex Query

Stable version Build status License: MIT Contributors Downloads

[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.

CircleCI Stable version License: MIT Downloads

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

xabou/query

Laravel 5 Query Object

105 1
ahoysolutions/query-filters

A Laravel package to filter database queries based on the query string.

35 1
jerome/filterable

Streamline dynamic Eloquent query filtering with seamless API request integratio...

52,676 194
jwohlfert23/laravel-api-query

Provides laravel scope to build query from request query params

17,179 0
rlacerda83/query-parser

Query parser for lumem

5,008 20

Version History

Version Released PHP Laravel License
v7.0.2 ^8.4 ^13.0 MIT
v7.0.1 ^8.4 ^13.0 MIT
v7.0.0 ^8.4 ^13.0 MIT
v6.7.3 ^8.2 ^12.0 MIT
v6.7.2 ^8.2 ^12.0 MIT