Description
Easily filter eloquent models using arrays - great for filtering from http requests.
class Product extends Model implements IsFilterable{ use Filterable; public function allowedFilters(): AllowedFilterList { return Filter::only( Filter::field('name', [FilterType::EQUAL]), ); }} $products = Product::filter([ [ 'target' => 'name', 'type' => '$eq', 'value' => 'TV' ]])->get();
Recent Courses on Laravel Daily
NativePHP Mobile v4 with SuperNative: Mini-Course
5 lessons
18 min
AI Agents/IDEs for Laravel: May 2026 (Claude Code, Codex, OpenCode, etc)
7 lessons
52 min
Roles and Permissions in Laravel 13
14 lessons
57 min