Download the PHP package alejandroakbal/laravel-scout-advanced-meilisearch without Composer
On this page you can find all versions of the php package alejandroakbal/laravel-scout-advanced-meilisearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alejandroakbal/laravel-scout-advanced-meilisearch
More information about alejandroakbal/laravel-scout-advanced-meilisearch
Files in alejandroakbal/laravel-scout-advanced-meilisearch
Package laravel-scout-advanced-meilisearch
Short Description Laravel Scout extension that allows to use meilisearch advanced features as well as has an extended collection driver for testing purposes.
License MIT
Informations about the package laravel-scout-advanced-meilisearch
Scout Advanced Meilisearch
What this package provides
Extended scout query builder
Added next changes to the basic query builder:
1) - extended where, which supports 3 optional parameters for comparison. Two parameters are also allowed. 2) - where can take a closure as the first parameter in order to group queries (the same for ) 3) 4) 5) All where clauses have or variant: , , etc
Two scout drivers
The drivers are compatible with the new scout builder.
- meilisearch_advanced
- collection_advanced
meilisearch_advanced
Uses all the advantages of meilisearch for comparison the results, searching in indexed arrays. Also fixes an issue with the calculation of the total number of values. (The current implementation requests the entire dataset in case scout builder has method used)
collection_advanced
The driver imitates how meilisearch work and completely relies on collections. It should be used only for tests as the whole searchable models data is in memory. The driver allows testing filtering and sorting as well as Extended scout builder features.
How to use?
1) In set to or (for tests)
Development
PHP
Use PHP with Docker
Run tests
Publish
You can publish a package version with:
All versions of laravel-scout-advanced-meilisearch with dependencies
laravel/framework Version ^10.0.0
laravel/scout Version ^10.0.0
meilisearch/meilisearch-php Version ^1.0.0