Skip to content

Files

Latest commit

author
Abdalrhman Emad Saad
Oct 3, 2024
ca297f0 · Oct 3, 2024

History

History
36 lines (27 loc) · 1.01 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.01 KB

An easy to use powerful Elqouent Filter

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"