• Start

Languages

/

PHP

/

v1 (stable)

Overview

Version 1 is the current stable release of the SurrealDB PHP SDK, with direct RPC-style methods for querying a remote database.

Version 1 is the current stable release of the PHP SDK. It exposes a single Surreal class with direct, RPC-style methods such as create(), select(), query(), and signin(). Each method maps closely to a SurrealDB RPC call.

The SDK requires PHP 8.2 or later and the curl extension. It connects to a remote SurrealDB instance over HTTP or WebSocket.

Was this page helpful?