dbt/query-scope

Class-based scopes for Illuminate's query builder
508 1
Install
composer require dbt/query-scope
Latest Version:4.0.0
PHP:>=8.1
Laravel:8 · 9 · 10
License:MIT
Last Updated:Jan 3, 2024
Links: GitHub  ·  Packagist
Maintainer: danielsdeboer

Class-Based Query Scoper for Laravel's Query Builder

Installation

You can install the package via composer:

composer require dbt/query-scope

Usage

Testing

composer test

Static Analysis

composer stat

Etc.

Please see CONTRIBUTING for details. The MIT License (MIT). Please see License File for more information.

Related Packages

mpyw/laravel-local-class-scope

A tiny macro that reuse a global scope class as a local scope

125,542 23
denisgeomiq/eloquent-has-by-non-dependent-subquery

Convert has() and whereHas() constraints to non-dependent subqueries.

12,913 0
mpyw/scoped-auth

Apply specific scope for user authentication.

81,304 11
mpyw/laravel-database-mock

Database Mocking Library which mocks PDO underlying Laravel Connection classes

21,149 6
dossierdata/eloquent-has-by-non-dependent-subquery

Convert has() and whereHas() constraints to non-dependent subqueries.

292 0

Version History

Version Released PHP Laravel License
4.0.0 >=8.1 ^8.0|^9.0|^10.0 MIT
3.0.0 >=7.2.0 5.8.*|^6.0|^7.0|^8.0 MIT
2.2.0 7.1.*|7.2.*|7.3.* 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0 MIT
2.1.0 7.1.*|7.2.*|7.3.* 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0 MIT
2.0.0 7.1.*|7.2.*|7.3.* 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0 MIT