jumper423 / laravel-columns-search by jumper423

Laravel поиск по полям
31
1
2
Package Data
Maintainer Username: jumper423
Maintainer Contact: jump.e.r@yandex.ru (Влад Пасечник)
Package Create Date: 2016-07-25
Package Last Update: 2016-09-19
Language: PHP
License: MIT
Last Refreshed: 2024-04-14 15:02:53
Package Statistics
Total Downloads: 31
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Setup

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();