1. Go to this page and download the library: Download bigoen/azure-search library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bigoen / azure-search example snippets
use Bigoen\AzureSearch\Model\Error;
use Bigoen\AzureSearch\Model\Field;
use Bigoen\AzureSearch\Model\Index;
use Bigoen\AzureSearch\Model\Suggester;
use Bigoen\AzureSearch\Services\Service;
use Symfony\Component\HttpClient\HttpClient;
$azureService = new Service('endpoint', 'key', 'version', HttpClient::create());