sfneal/scopes

Add custom constraints to all queries performed on an Eloquent Model.
63,573
Install
composer require sfneal/scopes
Latest Version:2.1.1
PHP:^8.0|^8.1|^8.2|^8.3
License:MIT
Last Updated:Jan 19, 2026
Links: GitHub  ·  Packagist
Maintainer: sfneal

Scopes

Packagist PHP support Latest Version on Packagist Build Status Quality Score Total Downloads

Add custom constraints to all queries performed on an Eloquent Model

Installation

You can install the package via composer:

composer require sfneal/scopes

Usage

// Usage description here

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.

Credits

License

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

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.

Related Packages

mobileka/scope-applicator

Scope Applicator is a PHP trait that makes data filtering and sorting easy.

1,218 25
wowe/laravel-eloquent-scopes

Some general scopes for Eloquent

38 2
mobileka/scope-applicator-laravel

Scope Applicator bindings for Laravel framework.

811 0
midnite81/timekeeper

A series of scopes for Laravel Models to do with Time Management.

3,186 1