Skip to content

Latest commit

 

History

History
59 lines (32 loc) · 698 Bytes

README.md

File metadata and controls

59 lines (32 loc) · 698 Bytes

supple

Supple is a framework agnostic document indexation and migration tool for Elasticsearch.

Installation

composer require zp/supple

Usage

See examples/example.php.

Annotations

use Zp\Supple\Annotation as Elastic;

@Elastic\Index

TODO

@Elastic\IndexTemplate

TODO

@Elastic\IndexAnalysis

TODO

@Elastic\IndexMapping

TODO

@Elastic\IndexSetting

TODO

@Elastic\ID

TODO

@Elastic\Mapping

TODO

@Elastic\EmbeddedMapping

TODO

@Elastic\Ignore

TODO

JMSSerializer

Under the hood, for mapping document to JSON used library JMSSerializer, so you could use their annotations.