samasend / laravel-make-scope
Brings make:scope command to laravel
Installs: 29 131
Dependents: 1
Suggesters: 0
Security: 0
Stars: 102
Watchers: 4
Forks: 11
Open Issues: 1
Requires
- php: ^7.2|^8.0
- illuminate/console: ^6.0|^7.0|^8.0
- illuminate/support: ^6.0|^7.0|^8.0
Requires (Dev)
- orchestra/testbench: ^4.0
This package is auto-updated.
Last update: 2023-06-21 07:33:46 UTC
README
A very small laravel package to support make:scope command to laravel. You can read about query scopes on laravel documentation.
Prerequisites
- PHP >= 7.2 || 8.0
- Laravel 6.x || 7.x || 8.x
Installation
composer require --dev samasend/laravel-make-scope
Usage
php artisan make:scope AgeScope
https://laravel-news.com/laravel-scopes-generator
License
This package is released under the MIT Licence. See the bundled LICENSE file for details.