dbt/query-scope

Class-based scopes for Illuminate's query builder
446 1
Install
composer require dbt/query-scope
Latest Version:4.0.0
PHP:>=8.1
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

117,780 24
denisgeomiq/eloquent-has-by-non-dependent-subquery

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

12,273 0
mpyw/scoped-auth

Apply specific scope for user authentication.

81,116 11
mpyw/laravel-database-mock

Database Mocking Library which mocks PDO underlying Laravel Connection classes

19,108 6
dossierdata/eloquent-has-by-non-dependent-subquery

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

139 0