applab/cosmosdb

PHP wrapper for Azure Cosmos DB (formerly known as azure documentdb) using SQL rest api. Changed few things on this package to the https://github.com/jupitern/cosmosdb

v1.0 2023-07-09 12:03 UTC

This package is auto-updated.

Last update: 2024-05-09 14:28:34 UTC


README

I forked this package from Cosmosdb, So please use that to get latest version. This package modified to make compatible for our project. Modifications mentioned in change log below.

Installation

Include applab/cosmosdb in your project, by adding it to your composer.json file.

{
    "require": {
        "applab/cosmosdb": "1.*"
    }
}

Changelog

v1.0

This package changed some functionalities to the Cosmosdb package. All other functionality exists in this package as well #v2.5.2.

  • Changed ms-version to 2018-12-31
  • Auth Header request method($verb) changed to GET in query function
  • List (ReadFeed) Documents api request method changed to GET in query function.

Note

This package adds additional functionalities to the AzureDocumentDB-PHP package. All other functionality exists in this package as well.

Limitations

Use of limit() or order() in cross-partition queries is currently not supported.