Download the PHP package php-on-couch/php-on-couch without Composer
On this page you can find all versions of the php package php-on-couch/php-on-couch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-on-couch/php-on-couch
More information about php-on-couch/php-on-couch
Files in php-on-couch/php-on-couch
Package php-on-couch
Short Description CouchDB NoSQL database access in PHP
License LGPL-3.0-or-later
Homepage https://github.com/PHP-on-Couch/PHP-on-Couch
Informations about the package php-on-couch
:fire:For the complete documentation, visit http://php-on-couch.readthedocs.io :fire:
Table of content
- Introduction
- What's new
- Changes
- Installation and testing
- Components and documentation
- Quick-start guide
- Example
- Community
- Contributions
- Feedback
Introduction
PHP On Couch provides an easy way to work with your CouchDB documents with PHP.
Supports PHP 5.6 and higher 🚀
Recent changes
For the complete change list, head over here
Installation and testing
Install the library using composer : composer require php-on-couch/php-on-couch
.
You can find more detailed informations about installation here.
To test the the application, see this topic.
Components and documentation
For the full API document, please visite this link
Example
For full examples, refer to the document example.
At first, you need to import the main components through their namespace. If you use composer, I suggest you to use their autoload wich is easy to setup. Otherwise, you can use your own autoload function or a basic require with some namespace escaping.
Here's an example for basic operations
Here's a quick example of how to fetch a view
Finally, how to use the CouchDocument class.
Community
Contributions
Feel free to make any contributions. All contributions must follow the code style and must also comes with valid and complete tests.
Help is really appreciated to complete add more tests.
Feedback
Don't hesitate to submit feedback, bugs and feature requests ! Our contact address is [email protected]