kettasoft/filterable

Easy and fast Eloquent filter package

v1.0.1 2023-06-13 07:18 UTC

This package is auto-updated.

Last update: 2024-05-13 09:28:31 UTC


README

Total Downloads

Installation

You can install this package via composer using this command:

composer require kettasoft/filterable

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework, you must install the service provider:

// config/app.php
'providers' => [
    ...
    Kettasoft\Filterable\Providers\FilterableServiceProvider::class,
];

You can publish the config with:

php artisan vendor:publish --provider="Kettasoft\Filterable\Providers\FilterableServiceProvider" --tag="config"

You can make a new filter class with:

php artisan kettasoft:make-filter YourFilterName

You must publish the Stubs with:

php artisan vendor:publish --provider="Kettasoft\Filterable\Providers\FilterableServiceProvider" --tag="stubs"