Download the PHP package triadev/laravel-elasticsearch-mapping without Composer
On this page you can find all versions of the php package triadev/laravel-elasticsearch-mapping. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download triadev/laravel-elasticsearch-mapping
More information about triadev/laravel-elasticsearch-mapping
Files in triadev/laravel-elasticsearch-mapping
Package laravel-elasticsearch-mapping
Short Description A service provider for laravel with a fluent elasticsearch mapping builder.
License MIT
Informations about the package laravel-elasticsearch-mapping
laravel-elasticsearch-mapping
A service provider for laravel with a fluent elasticsearch mapping builder.
Supported laravel versions
Supported elasticsearch versions
Installation
Composer
composer require triadev/laravel-elasticsearch-mapping
Application
The package is registered through the package discovery of laravel and Composer.
Configuration
The elasticsearch client is generated via the package: LaravelElasticsearchProvider.
You can find the environment variables for the elasticsearch client in the readme of the package.
Usage
This package offers a fluent mapping builder for elasticsearch. The entry point for each mapping build is a facade.
Triadev\Es\Mapping\Facade\ElasticMapping
Build mapping
Create index
If the index does not exist a new index will be created. This also includes the configuration from $blueprint->settings().
Update index
If the index exists an update will be executed.
Reporting Issues
If you do find an issue, please feel free to report it with GitHub's bug tracker for this project.
Alternatively, fork the project and make a pull request. :)
Testing
- docker-compose -f docker-compose.yml up
- composer test
Contributing
Please see CONTRIBUTING for details.
Credits
- Christopher Lorke
- All Contributors
Other
Project related links
License
The code for laravel-elasticsearch-mapping is distributed under the terms of the MIT license (see LICENSE).
All versions of laravel-elasticsearch-mapping with dependencies
ext-json Version *
elasticsearch/elasticsearch Version ^6.0
illuminate/support Version 5.5.* || 5.6.* || 5.7.*
triadev/laravel-elasticsearch-provider Version ^3.0