1// getting-started.asciidoc:251 2 3[source, php] 4---- 5$params = [ 6 'index' => 'customer', 7 'id' => '1', 8 'body' => [ 9 'name' => 'John Doe', 10 ], 11]; 12$response = $client->index($params); 13---- 14