1// indices/put-mapping.asciidoc:84
2
3[source, php]
4----
5$params = [
6    'index' => 'publications',
7];
8$response = $client->indices()->create($params);
9----
10