PHPackages                             capcaicah/rethinkdb-laravel-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. capcaicah/rethinkdb-laravel-php

ActiveLibrary[Database &amp; ORM](/categories/database)

capcaicah/rethinkdb-laravel-php
===============================

A clean and solid RethinkDB driver for PHP.

01PHP

Since Jan 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/capcaicah/rethinkd-laravel-php)[ Packagist](https://packagist.org/packages/capcaicah/rethinkdb-laravel-php)[ RSS](/packages/capcaicah-rethinkdb-laravel-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

RethinkDB\_PHP
==============

[](#rethinkdb_php)

**This is a Fork of tbolier / php-rethink-ql. I have fixed some of the key problems so it is working.**

- the Registry is missing a criticle line of code in constructor which lead to non-population of the $connections property;
- the example code has a mistake in parameter name which results in using fallback connection 'localhost'.

**If you are just looking for a working instance of the original PHP-RETHINK-QL, you can clone this repo and use it; I am only maintaining this repo for my personal use agreed and followed by the authors license policy (*Apache License 2.0*) but I am neither maintaining this project nor part of the original dev team member. If you have any questions or found any issue, you can open a request and I will try my best to help, but please considering open that request at the original repo, I am sure you will get more help there.**

Original README.MD
==================

[](#original-readmemd)

```
PHP-RETHINK-QL
A PHP RethinkDB driver for the RethinkDB query language (ReQL).
License: Apache License 2.0

```

PHP-RETHINK-QL [![by](https://camo.githubusercontent.com/3925246c92017fa535e52135c806b49dc6c9c0abb32ca9fdaf73c8e257f62a8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f62792d25343074626f6c6965722d626c75652e737667)](https://github.com/tbolier) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/6a52785be5499053f257bc1b499d23a5cfa3626b10e7bb08252bd3f03809ed04/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74626f6c6965722f7068702d72657468696e6b2d716c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/bc91e2a6f9beef1a9ab3b0f1597fe9e27e715482d5842e13900cc4817dd18b70/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74626f6c6965722f7068702d72657468696e6b2d716c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/?branch=master) [![Build Status](https://camo.githubusercontent.com/c78036c70e08c42ed6324338ba1016c0721328e560428e982297c4faaa0dd96f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74626f6c6965722f7068702d72657468696e6b2d716c2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/build-status/master)
========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-rethink-ql----)

License
=======

[](#license)

PHP-RETHINK-QL is licensed under the terms of the [Apache License 2.0](LICENSE.md)

Description
===========

[](#description)

A new clean and solid RethinkDB driver for PHP, focused on clean code with SOLID principles in mind.

Unfortunately the original PHP-RQL driver is no longer is no longer actively maintained and patched. That's why we have started this new PHP RethinkDB driver with the goal to create an easy to understand driver that can be improved and maintained by the community.

Requirements
============

[](#requirements)

RethinkDB version
-----------------

[](#rethinkdb-version)

This library supports the RethinkDB release `>=2.3.0` and protocol version `V1_0`. Earliers version of RethinkDB are not supported at this moment.

PHP
---

[](#php)

PHP version `>=7.1`

Supported ReQL Command API overview.
------------------------------------

[](#supported-reql-command-api-overview)

In the release [roadmap](docs/roadmap.md) you will find a table with the currently and future supported ReQL command methods.

Getting started
===============

[](#getting-started)

Multiple connections can be injected into the connection `Registry`. Create the Rethink driver object by injecting a `Connection` object into it.

```
