Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Azure Documentdb Php Sdk Laravel Package

dreamfactory/azure-documentdb-php-sdk

PHP SDK for Azure DocumentDB (Cosmos DB) from DreamFactory. Provides a client for working with databases, collections, and documents via the DocumentDB REST API, including CRUD and query operations. Small, low-adoption package; check maintenance status before production use.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Whether to add Azure Cosmos DB / DocumentDB as a supported data backend. If your roadmap includes "bring your own database" for enterprise accounts, Azure is the second-most-requested cloud after AWS, and this package is the cheapest possible spike to validate demand and prototype a connector before committing engineering time.
  • Build vs. buy for the Azure integration layer. Microsoft ships first-party Cosmos DB SDKs for .NET, Java, Node, and Python — but not PHP. That gap is the entire reason this package exists. A PM can use it as a reference implementation to scope what a thin in-house REST client would cost (auth signing, resource linking, partition keys, retry/backoff) versus adopting this code as-is.
  • Prioritizing the data-access abstraction. If Cosmos DB support is on the table, the more valuable decision is investing in a driver/adapter interface in your application so the storage engine is swappable. This package becomes one adapter behind that interface rather than a hard dependency.
  • Qualifying enterprise deals. For a prospect already standardized on Azure with compliance or data-residency requirements in an Azure region, having a credible Cosmos DB story can unblock procurement even if the connector ships as a limited-preview feature.
  • Deprioritization and kill decisions. Zero stars, zero dependents, and a name that references "DocumentDB" (rebranded to Cosmos DB in 2017) are strong signals the project is dormant. A PM can use this to justify not building an Azure connector in the current cycle, or to timebox it to a spike rather than a committed roadmap item.

When to Consider This Package

Adopt or evaluate it when:

  • You need a throwaway spike to prove an Azure Cosmos DB integration is feasible and to size the work — not a production dependency.
  • Your team is already an Azure shop with existing Cosmos DB accounts and master-key access, and you accept the maintenance burden of vendoring or forking.
  • You need only classic SQL/DocumentDB API operations — CRUD on documents, simple queries, collection and database management — with no advanced features.
  • You are comfortable with Apache-2.0 licensing and the option to fork and maintain internally.

Look elsewhere when:

  • You need modern authentication: Azure AD / RBAC / managed identity. SDKs at this vintage typically assume master-key auth, which is a security review blocker in most enterprises.
  • You need bulk operations, change feed, transactional batch, stored procedures/triggers, or per-request partition-key tuning — all of which postdate this SDK.
  • You need official support, a security-response process, or a maintained release cadence. With no stars, no dependents, and no visible activity, assume no one is reviewing CVEs or tracking Azure API changes.
  • You expect Laravel-native ergonomics. This is a framework-agnostic PHP SDK: no service provider, no facade, no Eloquent driver, no queue/cache integration. Any Laravel integration is work you own.
  • You are evaluating Mongo API, Cassandra API, Gremlin, or Table API for Cosmos DB — those use entirely different wire protocols and this SDK is irrelevant to them.
  • You need active PHP-version support (PHP 8.1+). Verify compatibility explicitly; older SDKs frequently break on modern PHP and Guzzle versions.

How to Pitch It (Stakeholders)

For executives: We are evaluating a free, Apache-2.0 PHP library that lets our application talk to Azure Cosmos DB, Microsoft's globally distributed database. Its strategic value is that it closes a real gap — Microsoft does not publish an official PHP SDK — giving us an Azure data option for enterprise customers without building a connector from scratch. The caveat is maturity: the project shows no community adoption or active maintenance, so it should be treated as a prototype accelerator, not a production foundation. Recommendation: fund a short, timeboxed spike (1–2 weeks) using this library to validate Azure support, then decide whether to harden a fork or build a thin internal client behind our storage abstraction. Low cost, low risk, meaningful upside on Azure-based deals.

For engineering: This is a legacy-era PHP SDK for the DocumentDB API (now Cosmos DB SQL API). It most likely handles connection, master-key signing, resource linking, and basic document/collection CRUD, and nothing newer. Treat it as a reference implementation: read the auth signing and resource-link logic, then decide whether to fork it into a maintained internal package or write a minimal REST client over Guzzle. Isolate it behind a repository/adapter interface so it is never called directly from application code, and document the assumption of master-key auth as an explicit security limitation requiring a follow-up if we go to production.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource