triadev / leopard
Leopard is an elasticsearch odm (Object Document Mapper) for laravel eloquent.
v1.5.0
2019-01-12 21:05 UTC
Requires
- php: >=7.1
- ext-json: *
- elasticsearch/elasticsearch: ^6.0
- laravel/framework: 5.5.* || 5.6.* || 5.7.*
- ongr/elasticsearch-dsl: ^6.0
- triadev/laravel-elasticsearch-dsl: ^1.1
- triadev/laravel-elasticsearch-mapping: ^1.0
- triadev/laravel-elasticsearch-provider: ^3.0
Requires (Dev)
- fzaninotto/faker: ~1.4
- mockery/mockery: ~1.0
- orchestra/testbench: ~3.0
- phpunit/phpunit: ^6.0 || ^7.0
- squizlabs/php_codesniffer: ^3.0
README
Leopard is an elasticsearch odm (Object Document Mapper) for laravel eloquent.
Supported laravel versions
Supported elasticsearch versions
Main features
- Storing eloquent models in elasticsearch
- DSL for elasticsearch
- Fluent mapping builder
- Update elasticsearch mapping via file
Documentation
- Home
- Installation
- Configuration
- Searchable eloquent models
- DSL
- Mapping
- Sync database with elasticsearch
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
Other
Project related links
License
The code for Leopard is distributed under the terms of the MIT license (see LICENSE).