laravel-scout-array-driver
laravel-scout-array-driver copied to clipboard
Array driver for Laravel Scout
Using https://github.com/teamtnt/laravel-scout-tntsearch-driver/?tab=readme-ov-file#constraints e.g. $constraints = Item::query(); $constraints->where('draft', false); Item::search($query)->constrain($constraints); works normally, but fails when testing using this driver. I'm guessing it's not possible to fix this, but maybe is worth...
It is still work in progress and there might be API changes. Usage: ```php Search::fakeResponseData([ 'foo' => 'bar' ])->query('test'); $search = User::search('test')->raw(); $this->assertEquals('bar', $search['foo']); ``` It is possible to provide...
Since the bugfix introduced with PHP 8.3.13: https://github.com/php/php-src/issues/15918 When we retrieve Carbon objects we get the error: > Overloaded object of type Illuminate\Support\Carbon is not compatible with RecursiveArrayIterator At this...
Thank you for the package. Its nice to have a possibility to test the index. However, it took me a white to find the reason it wont work in my...