Download the PHP package shufo/laravel-opensearch without Composer
On this page you can find all versions of the php package shufo/laravel-opensearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shufo/laravel-opensearch
More information about shufo/laravel-opensearch
Files in shufo/laravel-opensearch
Package laravel-opensearch
Short Description An easy way to use the official PHP OpenSearch client in your Laravel applications.
License MIT
Homepage https://github.com/shufo/laravel-opensearch
Informations about the package laravel-opensearch
Laravel-OpenSearch
:warning: This package is still in alpha. Don't use in production.
An easy way to use the official OpenSearch client in your Laravel applications.
This is the fork of laravel-elasticsearch.
Installation and Configuration
Add repository to your composer.json
then
Laravel
The package's service provider will automatically register its service provider.
Publish the configuration file:
To change host of opensearch, set OPENSEARCH_HOST
environment variable to your opensearch hostname.
To edit config you can edit config/opensearch.php
.
Usage
With Facade:
With Opensearch Client Builder:
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
LICENSE
MIT
All versions of laravel-opensearch with dependencies
ext-json Version *
guzzlehttp/psr7 Version ^1.7|^2.0
illuminate/contracts Version ^7.0|^8.0|^9.0|^10.0
illuminate/support Version ^7.0|^8.0|^9.0|^10.0
shufo/opensearch-php Version ^2.0.5
psr/http-message Version ^1.0