Download the PHP package triadev/laravel-elasticsearch-config-builder without Composer
On this page you can find all versions of the php package triadev/laravel-elasticsearch-config-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download triadev/laravel-elasticsearch-config-builder
More information about triadev/laravel-elasticsearch-config-builder
Files in triadev/laravel-elasticsearch-config-builder
Package laravel-elasticsearch-config-builder
Short Description Elasticsearch config (mappings + settings) builder for laravel.
License MIT
Informations about the package laravel-elasticsearch-config-builder
LaravelElasticsearchConfigBuilder
Elasticsearch config (mappings + settings) builder for laravel.
Supported laravel versions
Supported elasticsearch versions
Main features
- Build mappings
- Build settings
- Multilanguage keys
- Multilanguage indices
- Mapping validation check
Installation
Composer
composer require triadev/laravel-elasticsearch-config-builder
Application
The package is registered through the package discovery of laravel and Composer.
Configuration
Key | Value | Description |
---|---|---|
filePath | STRING | File path for elasticsearch configs |
validation.whitelistFilter | ARRAY | --- |
indices | ARRAY | [INDEX => VERSION, ...] |
Mappings
Directory (i.e. 1.0.0) with elasticsearch config files.
mappings.php (Example)
settings.php (Example)
translations.php (Example)
Key | Value | Description |
---|---|---|
type | STRING | field or index |
locales | ARRAY | deDE, enUS, ... |
fields | ARRAY | fields to translation |
configPerLocale | ARRAY | --- |
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 LaravelElasticsearchConfigBuilder is distributed under the terms of the MIT license (see LICENSE).