romanstruk/manticore-scout-engine

Laravel Manticore Scout Engine

2.1.0 2022-09-06 07:55 UTC

This package is auto-updated.

Last update: 2022-09-06 07:57:03 UTC


README

Release

Manticore Engine for Laravel Scout

Installation

Via Composer

$ composer require romanstruk/manticore-scout-engine

After installing Manticore Scout Engine, you should publish the Manticore configuration file using the vendor:publish Artisan command. This command will publish the manticore.php configuration file to your application's config directory:

php artisan vendor:publish --provider="RomanStruk\ManticoreScoutEngine\ManticoreServiceProvider"

Usage

Documentation for Scout can be found on the Laravel website.

Run artisan command for create Manticore index

php artisan manticore:index

Manticore allows you to add "whereRaw" methods to your search queries.

$products = Product::search('Brand Name')->whereRaw('category_id ANY (?, ?, ?)', ['1', '2', '3'])->get();

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email romanuch4@gmail.com instead of using the issue tracker.

License

MIT. Please see the license file for more information.