PHPackages                             bigoen/azure-search - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. bigoen/azure-search

ActivePhp

bigoen/azure-search
===================

Azure search api for php applications.

v1.0.1(2y ago)190LGPL-3.0PHPPHP &gt;=8.2

Since Sep 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bigoen/azure-search)[ Packagist](https://packagist.org/packages/bigoen/azure-search)[ RSS](/packages/bigoen-azure-search/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Azure Cognitive Search Php SDK
==============================

[](#azure-cognitive-search-php-sdk)

**Install:**

```
composer require bigoen/azure-search

```

**Create Azure Service**

```
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());
```

**Create Index**

```
$index = new Index('demo');
$index
    ->addField(new Field('id', Field::TYPE_STRING, true))
    ->addField(new Field('groupId', Field::TYPE_STRING))
    ->addField(new Field('title', Field::TYPE_STRING))
    ->addField(new Field('body', Field::TYPE_STRING))
    ->addSuggester(new Suggester('livesearch', ['title', 'body']));
$response = $azureService->createIndex($index);
if ($response instanceof Error) {
    // show error message.
}
```

**Update Index**

```
$index = $azureService->getIndex('demo');
foreach ($index->fields as $field) {
    $field->sortable = false;
}
$response = $azureService->updateIndex($index);
if ($response instanceof Error) {
    // show error message.
}
```

**Delete Index**

```
$isDeleted = $azureService->deleteIndex('demo');
if ($isDeleted) {
    // show success message.
}
```

**Add Docs/Doc to Index**

```
$azureService->addDocToIndex($parameters['indexName'], new DocInput([
    'id' => '1',
    'groupId' => 'group1',
    'title' => 'Demo title',
    'body' => 'Demo body',
]));
// or multiple.
$azureService->addDocsToIndex($parameters['indexName'], [
    new DocInput([
        'id' => '1',
        'groupId' => 'group1',
        'title' => 'Demo title',
        'body' => 'Demo body',
    ], Index::ACTION_MERGE_OR_UPLOAD),
    new DocInput([
        'id' => '2',
        'groupId' => 'group1',
        'title' => 'Demo title 2',
        'body' => 'Demo body 2',
    ], Index::ACTION_DELETE),
]);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

973d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31c1e45d3cd4e89a2120116d8b72bb5111cd1d01914b42cf6b56d5619662e5ea?d=identicon)[safak](/maintainers/safak)

---

Top Contributors

[![safaksaylam](https://avatars.githubusercontent.com/u/6529993?v=4)](https://github.com/safaksaylam "safaksaylam (3 commits)")

### Embed Badge

![Health badge](/badges/bigoen-azure-search/health.svg)

```
[![Health](https://phpackages.com/badges/bigoen-azure-search/health.svg)](https://phpackages.com/packages/bigoen-azure-search)
```

###  Alternatives

[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
