Supple is a framework agnostic document indexation and migration tool for Elasticsearch.
composer require zp/supple
See examples/example.php
.
use Zp\Supple\Annotation as Elastic;
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
Under the hood, for mapping document to JSON used library JMSSerializer, so you could use their annotations.