Composer package manager. This guide will walk you through the process of installing the SDK into your project.
Within your Compose project, run the following command to install the SDK:
composer require surrealdb/surrealdb.php
Once you have installed the SDK, make sure to include the Composer autoloader in your PHP script:
require __DIR__ . '/vendor/autoload.php';
You can now use the SDK in your PHP script by importing it:
use Surreal\Surreal;
Now that you have the SDK installed and imported, you can start using the SDK to interact with SurrealDB.
Check out the initialization guide to learn more.