LaravelPackages.net
Acme Inc.
Toggle sidebar
besnik/laravel-filtering

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.

38
0
1.1.0
About besnik/laravel-filtering

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

laravel-filtering

php artisan vendor:publish --provider="Besnik\LaravelFiltering\LaravelFilteringServiceProvider" --tag="besnik-filtering-config"

Option field Config:

  1. One
[ 'options' => [], 'label_key' => 'name', 'value_key' => 'id', ]
  1. Two
[ 'model' => User::class, 'label_key' => 'name', 'value_key' => 'id', ]
  1. Three
[ 'model' => User::class, 'label_key' => 'name', 'value_key' => 'id', 'search' => true ]
  1. Three
[ 'api' => 'url', 'method' => 'get', 'label_key' => 'name', 'value_key' => 'id', 'search' => true //optional ]
Comments