danielmewes/php-rql
php-rql is a PHP client driver for RethinkDB. It lets PHP applications connect to a RethinkDB server, build ReQL queries with a fluent API, execute them synchronously or asynchronously, and process results, making it easy to integrate RethinkDB’s realtime NoSQL database into PHP projects.
php-rql is the cheapest way for a PHP/Laravel product to ship live dashboards, activity feeds, notifications, presence, or collaborative views without adding Redis pub/sub + WebSockets or a third-party service (Pusher, Ably, Supabase Realtime). This directly informs the build-vs-buy decision on your streaming layer.php-rql is the integration seam. Understanding its constraints (synchronous API, no ORM) gives you concrete inputs for the "keep RethinkDB vs migrate to Postgres + Mercure / Supabase" decision.Consider it when:
Look elsewhere when:
php-rql is a low-level driver; you will write your own repositories and mapping layer.For executives: "This is a free, community-maintained connector that lets our PHP product use RethinkDB's built-in real-time query capability. It could let us ship live dashboards and notifications without paying for a separate real-time service or building a streaming layer ourselves — a meaningful reduction in both subscription cost and integration time. The trade-off is that RethinkDB has no commercial vendor behind it and this driver is community-maintained, so I'm recommending it as a scoped bet on one feature with a documented exit plan, not as a platform-wide commitment. We can validate it in roughly one sprint and decide on broader adoption with real latency and operating-cost data."
For engineering: "Low-level driver, no ORM or Eloquent integration — we wrap it in repositories and own the mapping. The API is synchronous, so changefeeds must run in long-lived workers (queue or Octane), never in a web request. We pin the version, vendor the package, and cover it with integration tests against a containerized RethinkDB. We also document the migration path to Postgres before we depend on it in more than one service."
Recommendation: Approve a bounded proof of concept on a single real-time feature; gate any broader datastore commitment on measured latency, operational overhead, and a credible exit path.
How can I help you explore Laravel packages today?