vaened / laravel-searcher
There is no license information available for the latest version (V2.1.0) of this package.
Search engine builder for eloquent
V2.1.0
2022-07-15 19:19 UTC
Requires
- php: ^8.1
- ext-json: *
- laravel/framework: ^8.0||^9.0
- vaened/php-enum: ^2.0
Requires (Dev)
- orchestra/testbench: ^6.0||^7.0
- phpunit/phpunit: ^9.3.7
This package is auto-updated.
Last update: 2024-11-16 00:51:03 UTC
README
Search engine builder for eloquent.
// create a range date $dates = new FullDayDates('1980-01-01', date('Y-m-d')); // build query $query = $this->searcher->bornBetween($dates) ->filter([Profession::PHP_DEVELOPER]) ->knowledgeIn([Framework::LARAVEL]) ->search(Index::STATUS, 'available'); $query->paginate(); // laravel pagination