softmedialabs / laravel-global-scope
A laravel package for make global scope
dev-master
2020-07-08 02:58 UTC
This package is auto-updated.
Last update: 2024-09-08 12:27:35 UTC
README
This package adds a handful of global scope commands to Artisan in your Laravel project. Generate scope files to allow you to constraints to all queries for a given model.
Installation
Use the package manager composer to install this packages
composer require softmedialabs/laravel-global-scope
Usage
php artisan make:scope AgeScope
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
softmedialabs/laravel-global-scope
is licenced under the MIT License (MIT). Please see the license file for more information.