jumper423/laravel-columns-search

Laravel поиск по полям

1.4 2016-09-19 12:01 UTC

This package is auto-updated.

Last update: 2024-11-05 19:30:18 UTC


README

Composer

Pull this package in through Composer. (development version dev-master)

{
    "require": {
        "jumper423/laravel-columns-search": "~1.0"
    }
}
$ composer update

##Пример

class Post{
    use Search;
    
    protected $searchColumns = ['name'];
}

$posts = Post::search()->get();