@@ -433,16 +433,17 @@ landing_getting_started_1: |-
433
433
['id' => 5, 'title' => 'Moana'],
434
434
['id' => 6, 'title' => 'Philadelphia'],
435
435
]);
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
+ */
438
443
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
+ */
446
447
<?php
447
448
448
449
require_once __DIR__ . '/vendor/autoload.php';
@@ -455,17 +456,11 @@ getting_started_add_documents_md: |-
455
456
$movies = json_decode($movies_json);
456
457
457
458
$client->index('movies')->addDocuments($movies);
458
- ```
459
459
460
- [About this SDK](https://github.com/meilisearch/meilisearch-php/)
461
460
getting_started_check_task_status : |-
462
461
$client->getTask(0);
463
- getting_started_search_md : |-
464
- ```php
462
+ getting_started_search : |-
465
463
$client->index('movies')->search('botman');
466
- ```
467
-
468
- [About this SDK](https://github.com/meilisearch/meilisearch-php/)
469
464
getting_started_add_meteorites : |-
470
465
$client = new Client('http://localhost:7700');
471
466
0 commit comments