Skip to content

Use Filters instead of Requests in your Laravel projects to be more versatile.

License

Notifications You must be signed in to change notification settings

larafun/filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Larafun Filters

Build Status Docs Status Latest Stable Version License Total Downloads

Use Filters instead of Requests in your Laravel projects to be more versatile.

Check out the full documentation in here larafun-filters.readthedocs.io

Installation

Requires PHP > 7.0, Laravel > 5.5

composer require larafun/filters

Basic Usage

Just make your Filters extend Larafun\Filters\Filter

Why use this package?

Because its safer to not bind your Services to the Request.

You may want to use your Services on environments other than http.

class BookController extends Controller
{
    // ...

    public function index(BookFilter $filter)
    {
        return $bookServices->search($filter);
    }

About

Use Filters instead of Requests in your Laravel projects to be more versatile.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages