Documentation

EdgeDbHttpClient
in package

An unofficial EdgeDB PHP client using EdgeDB HTTP protocol.

See https://www.edgedb.com/docs/clients/90_edgeql/index for more informations about how to activate it on your EdgeDB instance.

Table of Contents

$client  : Client
Guzzle client.
$database  : string
EdgeDB database name.
$debug  : bool
Indicates whether or not the client should display debug infos.
$hostname  : string
EdgeDB hostname (or IP).
$port  : int
EdgeDB port.
__construct()  : mixed
Creates an EdgeDB PHP client instance.
query()  : EdgeDbHttpResponse
Send an HTTP query against an EdgeDB server instance.

Properties

$debug

Indicates whether or not the client should display debug infos.

private bool $debug

Methods

__construct()

Creates an EdgeDB PHP client instance.

public __construct([string $hostname = '127.0.0.1' ][, int $port = 10700 ][, string $database = 'edgedb' ][, bool $debug = false ]) : mixed
Parameters
$hostname : string = '127.0.0.1'
$port : int = 10700
$database : string = 'edgedb'
$debug : bool = false
Return values
mixed

Search results