PHPackages                             jurewerk/php-azure-documentdb - 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. [API Development](/categories/api)
4. /
5. jurewerk/php-azure-documentdb

ActiveLibrary[API Development](/categories/api)

jurewerk/php-azure-documentdb
=============================

PHP wrapper to query Microsoft Azure DocumentDB REST API

0.0.1(8y ago)0476GPL-3.0PHP

Since Jan 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jurewerk/php-azure-documentdb)[ Packagist](https://packagist.org/packages/jurewerk/php-azure-documentdb)[ RSS](/packages/jurewerk-php-azure-documentdb/feed)WikiDiscussions master Synced yesterday

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

php-azure-documentdb
====================

[](#php-azure-documentdb)

PHP wrapper for DocumentDB operations (beta version)

Usage
=====

[](#usage)

Install
-------

[](#install)

`composer require crassaert/php-azure-documentdb`

Instantiate
-----------

[](#instantiate)

`$db = new AzureDocumentDB(AZURE_HOST, AZURE_KEY, false);`

Databases operation
-------------------

[](#databases-operation)

### List

[](#list)

`$db->get('database')->_list();`

### Creation

[](#creation)

`$db->get('database')->create('my_database');`

### Selection

[](#selection)

`$db->get('database')->select('my_database');`

### Remove

[](#remove)

`$db->get('database')->delete('my_database');`

Collections
-----------

[](#collections)

Before requesting, you have to select a database (see previous paragraph).

### List

[](#list-1)

`$db->get('collection')->_list();`

### Creation

[](#creation-1)

`$db->get('collection')->create('my_collection');`

### Selection

[](#selection-1)

`$db->get('collection')->select('my_collection');`

### Remove

[](#remove-1)

`$db->get('collection')->delete('my_collection');`

Document
--------

[](#document)

Before requesting, you have to select a database and a collection (see previous paragraph).

### Creation

[](#creation-2)

`$db->get('document')->create($json);`

### Requesting

[](#requesting)

Fell free to write your SQL query here.

`$db->get('document')->query('SELECT * FROM my_table');`

### Remove

[](#remove-2)

You have to select your document before removing it to obtain the internal ID.

```
$rid = $document->_rid;
$db->get('document')->delete($rid);

```

TODO
----

[](#todo)

Implement permissions, triggers, users, sprocs and UDF.

You can find all features on [Microsoft Azure Website](https://msdn.microsoft.com/fr-fr/library/azure/dn781481.aspx)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.9% 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

Unknown

Total

1

Last Release

3099d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15347053?v=4)[jurewerk](/maintainers/jurewerk)[@jurewerk](https://github.com/jurewerk)

---

Top Contributors

[![crassaert](https://avatars.githubusercontent.com/u/6930172?v=4)](https://github.com/crassaert "crassaert (9 commits)")[![jurewerk](https://avatars.githubusercontent.com/u/15347053?v=4)](https://github.com/jurewerk "jurewerk (5 commits)")[![glenndehaan](https://avatars.githubusercontent.com/u/7496187?v=4)](https://github.com/glenndehaan "glenndehaan (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jurewerk-php-azure-documentdb/health.svg)

```
[![Health](https://phpackages.com/badges/jurewerk-php-azure-documentdb/health.svg)](https://phpackages.com/packages/jurewerk-php-azure-documentdb)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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