api-clients / fauxton
Async version of chemem/fauxton-client built on top of ReactPHP.
Requires
- php: >=7.1
- chemem/bingo-functional: ~1
- clue/buzz-react: ~2
- composer/ca-bundle: ~1
- react/filesystem: ~0
Requires (Dev)
- clue/block-react: ~1
- giorgiosironi/eris: ~0.10
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-10-15 04:37:53 UTC
README
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