PHP code example of nicolasbadey / elasticsearch-php-etl
1. Go to this page and download the library: Download nicolasbadey/elasticsearch-php-etl library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nicolasbadey / elasticsearch-php-etl example snippets
$ETL::create()->setExtract($extract)
->setTransform($transform)
->setLoad($load)
->run($output);
$ETL::create()->setExtract($extract)
->setTransform($transform)
->setLoad($load)
->indexOne($object);
bash
composer