api-clients/fauxton

Async version of chemem/fauxton-client built on top of ReactPHP.

dev-master / 1.0.x-dev 2019-02-28 21:50 UTC

README

Build Status codecov

Async version of the fauxton-client powered by ReactPHP. As such, it offers the cogencies of CouchDB interactions in a non-blocking IO environment.

Requirements

  • PHP 7.1+

Installation

The fauxton library is available on Packagist. To install it, type the following on your preferred command-line interface:

composer require php-api-clients/fauxton

Documentation

I advise that you read the official CouchDB documentation so as to better understand fauxton. Also, check out the examples in the examples folder for more perspective.

Running the unit tests

Follow the following steps:

  • Create a database called testdb

  • Type the following in a command line of your choosing:

vendor/bin/phpunit -c phpunit.xml.dist

Dealing with problems

Endeavor to create an issue on GitHub when the need arises or send an email to lochbm@gmail.com