A powerful tool for developers who use Laravel framework and want to implement filtering functionality in their web applications. This package allows you to easily add filters to your queries, enabling users to search for specific data based on various criteria.
besnik/laravel-filtering is a Laravel package for a powerful tool for developers who use laravel framework and want to implement filtering functionality in their web applications. this package allows you to easily add filters to your queries, enabling users to search for specific data based on various criteria..
It currently has 0 GitHub stars and 38 downloads on Packagist (latest version 1.1.0).
Install it with composer require besnik/laravel-filtering.
Discover more Laravel packages by besnik
or browse all Laravel packages to compare alternatives.
Last updated
php artisan vendor:publish --provider="Besnik\LaravelFiltering\LaravelFilteringServiceProvider" --tag="besnik-filtering-config"
[
'options' => [],
'label_key' => 'name',
'value_key' => 'id',
]
[
'model' => User::class,
'label_key' => 'name',
'value_key' => 'id',
]
[
'model' => User::class,
'label_key' => 'name',
'value_key' => 'id',
'search' => true
]
[
'api' => 'url',
'method' => 'get',
'label_key' => 'name',
'value_key' => 'id',
'search' => true //optional
]