- PHP >=7.0
composer require "raylin666/elasticsearch"
<?php
require 'vendor/autoload.php';
$client = new \Raylin666\Elasticsearch\Client();
$client = $client->create();
var_dump($client->build()->indices()->get(['index' => '_all']));
请查看 CHANGELOG.md
如果你在使用中遇到问题,请联系: 1099013371@qq.com. 博客: kaka 梦很美