{"id":13566649,"url":"https://github.com/tbolier/php-rethink-ql","last_synced_at":"2026-01-14T01:15:31.594Z","repository":{"id":57065652,"uuid":"117231133","full_name":"tbolier/php-rethink-ql","owner":"tbolier","description":"Brand new PHP RethinkDB driver for RethinkDB \u003e= 2.3.0 for any framework or application","archived":false,"fork":false,"pushed_at":"2020-02-23T13:27:21.000Z","size":290,"stargazers_count":52,"open_issues_count":12,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-16T18:58:52.124Z","etag":null,"topics":["driver","nosql","nosql-database","php","php-rethinkdb-driver","php-rql","reql","rethinkdb","rethinkdb-adapter","rethinkdb-driver"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tbolier.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"license.md","code_of_conduct":"docs/code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-12T11:03:16.000Z","updated_at":"2024-11-23T20:52:55.000Z","dependencies_parsed_at":"2022-08-24T14:01:39.268Z","dependency_job_id":null,"html_url":"https://github.com/tbolier/php-rethink-ql","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/tbolier/php-rethink-ql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbolier%2Fphp-rethink-ql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbolier%2Fphp-rethink-ql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbolier%2Fphp-rethink-ql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbolier%2Fphp-rethink-ql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tbolier","download_url":"https://codeload.github.com/tbolier/php-rethink-ql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbolier%2Fphp-rethink-ql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["driver","nosql","nosql-database","php","php-rethinkdb-driver","php-rql","reql","rethinkdb","rethinkdb-adapter","rethinkdb-driver"],"created_at":"2024-08-01T13:02:13.907Z","updated_at":"2026-01-14T01:15:31.577Z","avatar_url":"https://github.com/tbolier.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"    PHP-RETHINK-QL\n    A PHP RethinkDB driver for the RethinkDB query language (ReQL).\n    License: Apache License 2.0\n\nPHP-RETHINK-QL [![by](https://img.shields.io/badge/by-%40tbolier-blue.svg)](https://github.com/tbolier) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/badges/build.png?b=master)](https://scrutinizer-ci.com/g/tbolier/php-rethink-ql/build-status/master)\n========================\n\n# License\nPHP-RETHINK-QL is licensed under the terms of the [Apache License 2.0](LICENSE.md)\n\n# Description\n\nA new clean and solid RethinkDB driver for PHP, focused on clean code with SOLID principles in mind.\n\nUnfortunately 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.\n\n# Requirements\n\n## RethinkDB version\n\nThis library supports the RethinkDB release `\u003e=2.3.0` and protocol version `V1_0`.\nEarliers version of RethinkDB are not supported at this moment.\n\n## PHP\n\nPHP version `\u003e=7.1`\n\n## Supported ReQL Command API overview.\n\nIn the release [roadmap](docs/roadmap.md) you will find a table with the currently and future supported ReQL command methods.\n\n# Getting started\n\nMultiple connections can be injected into the connection `Registry`.\nCreate the Rethink driver object by injecting a `Connection` object into it.\n\n```php\n\u003c?php\nuse TBolier\\RethinkQL\\Rethink;\nuse TBolier\\RethinkQL\\Connection\\Registry;\n\n$connections = [\n    'default_connection' =\u003e [\n        'host' =\u003e 'localhost',\n        'port' =\u003e 28015,\n        'default_db' =\u003e 'demoDB',\n        'user' =\u003e 'demo',\n        'password' =\u003e 'demo',\n        'timeout' =\u003e 5,\n        'timeout_stream' =\u003e 10,\n    ],\n];\n\n$registry = new Registry($connections);\n\n$r = new Rethink($registry-\u003egetConnection('default_connection'));\n\n// Now you can connect to RethinkDB.\n$r-\u003econnection()-\u003econnect();\n```\n\nThe driver class `Rethink` has a default database defined in the connection options. However you can always switch database if needed.\n```php\n$r-\u003euse('demoDB-2');\n```\n\nThe driver class `Rethink` has an API Interface that supports the ReQL domain-specific language (DSL).\n\nA create table example:\n```php\n$r-\u003edb()\n  -\u003etableCreate('Table')\n  -\u003erun();\n```\n\nFor more examples about executing queries go to our docs section: [Getting started](docs/getting-started.md)\n\n## Contributing\n\nPlease read the [contributing guidelines](docs/contributing.md) if you would like to contribute to this project.\n\n## Discussions and chat\n\nYou can find us at Gitter.im in the `rethinkdb-php` room at https://gitter.im/rethinkdb-php/Lobby\n\n## Author and collaborators\n\n* **Timon Bolier** - *Author and collaborator* - [tbolier](https://github.com/tbolier)\n* **Michel Maas** - *Collaborator* - [AxaliaN](https://github.com/AxaliaN)\n* **Jérémy** - *Collaborator* - [Th3Mouk](https://github.com/Th3Mouk)\n\nSee also the list of [contributors](https://github.com/tbolier/php-rethink-ql/contributors) who participated in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbolier%2Fphp-rethink-ql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftbolier%2Fphp-rethink-ql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbolier%2Fphp-rethink-ql/lists"}