jeroen-g/explorer
Laravel-friendly wrapper for Explorer, a lightweight full-text search engine. Index and search your Eloquent models with simple configuration, fast queries, and flexible ranking/filters. Ideal for adding on-site search without running Elasticsearch or Algolia.
When enabled the Elastic SDK will send all its logs (such as requests and responses) to a PSR-3 logger.
By default the logger is disabled for performance.
To enable the logger set EXPLORER_ELASTIC_LOGGER_ENABLED=true in your environment variables and edit your explorer.php config to define a logger (see below for examples).
See also the SDK docs. More information on loggers in Laravel can be found in Laravel's docs.
If you pass a string value as the logger it will be interpreted as the name of a log channel (see Laravel's docs for more information).
Examples:
'logger' => new \Psr\Log\NullLogger(),
'logger' => \Illuminate\Support\Facades\Log::channel('daily'),
'logger' => 'daily',
How can I help you explore Laravel packages today?