RavenDB PHP Client beta is out
published: September 5, 2022 |
updated: January 6, 2023
The official RavenDB Client for PHP is now out in beta. You can now make use of a rich client to consume RavenDB with all the usual features you would expect.
To start using RavenDB, run:
$ composer require ravendb/ravendb-php-client
And then you can start using RavenDB in your project. Here are some interesting code samples.
Setting up a document store:
Loading a document:
Querying:
Pretty much all other capabilities are also available (unit of work, change tracking, automatic failover, and more).
Please give it a whirl, we’ll love to hear about your experience with RavenDB & PHP.
Woah, already finished? 🤯
If you found the article interesting, don’t miss a chance to try our database solution – totally for free!