@@ -433,16 +433,17 @@ landing_getting_started_1: |-
433433 ['id' => 5, 'title' => 'Moana'],
434434 ['id' => 6, 'title' => 'Philadelphia'],
435435 ]);
436- getting_started_add_documents_md : |-
437- Using `meilisearch-php` with the Guzzle HTTP client:
436+ getting_started_add_documents : |-
437+ /**
438+ * Using `meilisearch-php` with the Guzzle HTTP client, in the command line:
439+ * composer require meilisearch/meilisearch-php \
440+ * guzzlehttp/guzzle \
441+ * http-interop/http-factory-guzzle:^1.0
442+ */
438443
439- ```bash
440- composer require meilisearch/meilisearch-php \
441- guzzlehttp/guzzle \
442- http-interop/http-factory-guzzle:^1.0
443- ```
444-
445- ```php
444+ /**
445+ * In your PHP file:
446+ */
446447 <?php
447448
448449 require_once __DIR__ . '/vendor/autoload.php';
@@ -455,17 +456,11 @@ getting_started_add_documents_md: |-
455456 $movies = json_decode($movies_json);
456457
457458 $client->index('movies')->addDocuments($movies);
458- ```
459459
460- [About this SDK](https://github.com/meilisearch/meilisearch-php/)
461460getting_started_check_task_status : |-
462461 $client->getTask(0);
463- getting_started_search_md : |-
464- ```php
462+ getting_started_search : |-
465463 $client->index('movies')->search('botman');
466- ```
467-
468- [About this SDK](https://github.com/meilisearch/meilisearch-php/)
469464getting_started_add_meteorites : |-
470465 $client = new Client('http://localhost:7700');
471466
0 commit comments