{"repo":"babenkoivan/elastic-scout-driver","free":true,"listed":false,"github":"https://github.com/babenkoivan/elastic-scout-driver","clone":"git clone https://github.com/babenkoivan/elastic-scout-driver.git","description":"Elasticsearch driver for Laravel Scout","language":"PHP","stars":276,"topics":["elasticsearch","elastic","laravel","scout","driver","php"],"license":"MIT","category":"data-pipelines","readme_excerpt":"--- Elasticsearch driver for Laravel Scout. Contents Compatibility Installation Configuration Basic Usage Advanced Search Migrations Pitfalls Compatibility The current version of Elastic Scout Driver has been tested with the following configuration: PHP 8.3 Elasticsearch 9.x Laravel 13.x Laravel Scout 11.x If your project uses older Elasticsearch, Laravel, or PHP version check the previous major version of the package. Installation The library can be installed via Composer: Note , that this library is just a driver for Laravel Scout, don't forget to install it beforehand: After Scout has been installed, publish its configuration file using: Then, change the driver option in the config/scout.php file to elastic : If you want to use Elastic Scout Driver with Lumen framework check this guide. Configuration Elastic Scout Driver uses babenkoivan/elastic-client as a dependency. To change the client settings you need to publish the configuration file first: In the newly created config/elastic.client.php file you can define the default connection name using configuration hashes. Please, refer to the elastic-client documentation for more details. Elastic Scout Driver itself has only one configuration option at the moment - refresh documents . If it's set to true ( false by default) documents are indexed immediately, which might be handy for testing. You can configure refresh documents in the config/elastic.scout driver.php file after publishing it with the following command: At last, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/babenkoivan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/babenkoivan/elastic-scout-driver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}