2017 © Pedro Peláez
 

library php-rethink-ql

A clean and solid RethinkDB driver for PHP.

image

tbolier/php-rethink-ql

A clean and solid RethinkDB driver for PHP.

  • Tuesday, July 17, 2018
  • by tbolier
  • Repository
  • 3 Watchers
  • 13 Stars
  • 613 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 11 Open issues
  • 16 Versions
  • 56 % Grown

The README.md

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

PHP-RETHINK-QL by Scrutinizer Code Quality Code Coverage Build Status

License

PHP-RETHINK-QL is licensed under the terms of the Apache License 2.0, (*1)

Description

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

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., (*3)

Requirements

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., (*4)

PHP

PHP version >=7.1, (*5)

Supported ReQL Command API overview.

In the release roadmap you will find a table with the currently and future supported ReQL command methods., (*6)

Getting started

Multiple connections can be injected into the connection Registry. Create the Rethink driver object by injecting a Connection object into it., (*7)

<?php
use TBolier\RethinkQL\Rethink;
use TBolier\RethinkQL\Connection\Registry;

$connections = [
    'default_connection' => [
        'host' => 'localhost',
        'port' => 28015,
        'default_db' => 'demoDB',
        'user' => 'demo',
        'password' => 'demo',
        'timeout' => 5,
        'timeout_stream' => 10,
    ],
];

$registry = new Registry($connections);

$r = new Rethink($registry->getConnection('default_connection'));

// Now you can connect to RethinkDB.
$r->connection()->connect();

The driver class Rethink has a default database defined in the connection options. However you can always switch database if needed., (*8)

$r->use('demoDB-2');

The driver class Rethink has an API Interface that supports the ReQL domain-specific language (DSL)., (*9)

A create table example:, (*10)

$r->db()
  ->tableCreate('Table')
  ->run();

For more examples about executing queries go to our docs section: Getting started, (*11)

Contributing

Please read the contributing guidelines if you would like to contribute to this project., (*12)

Discussions and chat

You can find us at Gitter.im in the rethinkdb-php room at https://gitter.im/rethinkdb-php/Lobby, (*13)

Author and collaborators

  • Timon Bolier - Author and collaborator - tbolier
  • Michel Maas - Collaborator - AxaliaN
  • Jérémy - Collaborator - Th3Mouk

See also the list of contributors who participated in this project., (*14)

The Versions

17/07 2018

dev-master

9999999-dev https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

16/07 2018

dev-feature/47

dev-feature/47 https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

29/05 2018

dev-feature/add-not-logic

dev-feature/add-not-logic https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

29/05 2018

dev-feature/add-logical-le-ge

dev-feature/add-logical-le-ge https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

26/05 2018

dev-update-roadmap

dev-update-roadmap https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

17/04 2018

1.2.1

1.2.1.0 https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

16/04 2018

dev-bugfix-null

dev-bugfix-null https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

21/03 2018

dev-feature/hotfix

dev-feature/hotfix https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

20/03 2018

1.2.0

1.2.0.0 https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

20/03 2018

dev-feature/release-1.2.0

dev-feature/release-1.2.0 https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

20/03 2018

dev-feature/implement-and-logic-operations

dev-feature/implement-and-logic-operations https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

18/03 2018

dev-feature/implement-gt-lt-logic-operations

dev-feature/implement-gt-lt-logic-operations https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

01/03 2018

1.1.1

1.1.1.0 https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

01/03 2018

dev-fix-cursor-loop

dev-fix-cursor-loop https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

22/02 2018

1.1.0

1.1.0.0 https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql

13/02 2018

1.0.0

1.0.0.0 https://github.com/tbolier/php-rethink-ql/

A clean and solid RethinkDB driver for PHP.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Timon Bolier

database php nosql driver adapter rethinkdb reql nosql-database php-rethinkdb php-rethinkdb-driver rethinkdb-adapter rethinkdb-ql