fabs / couchdb2
CouchDB2 php client
v1.1.0
2018-09-30 10:30 UTC
Requires
- php: ^7.0
- fabs/serialize: ^1.0
- fabstract/assert: ^0.1.4
- fabstract/datetime-handler: ^0.1.2
- fabstract/linq: ^0.1.0
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: ^6.0
This package is not auto-updated.
Last update: 2024-11-10 02:40:00 UTC
README
Library that provides ways to use CouchDB2 for PHP developers.
Install
Install the library like this composer require fabs/couchdb2:dev-develop
Quick Start
// Create an instance
$config = new Config('127.0.0.1', 5984, 'username', 'password');
$client = new Couch($config);
// Get document by ID
$doc = $client
->selectDatabase('test_database')
->getDoc('some_doc_id')
->execute();
## More...