Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to you use Azure documentdb using php

Is any one know how to work with azure document db using php.

i want to create collection add the data in the document db using php.

please send any sample code for it.

http://azure.microsoft.com/en-in/services/documentdb/

Thanks

Thanigaivelan

like image 688
Thanigaivelan Avatar asked Mar 02 '26 13:03

Thanigaivelan


1 Answers

DocumentDB currently does not have an official PHP client SDK available.

You can interact with DocumentDB using the REST API.

Alternatively, you could look for unofficial 3rd-party SDKs like this one (I'm not sure how well supported this project is - but the source code looks to be good reference for interacting with the REST API).

like image 79
Andrew Liu Avatar answered Mar 05 '26 10:03

Andrew Liu