Native engine
Rust extension via ext-php-rs. No userland PDO layer, no serialization overhead between PHP and the engine.
Native LibSQL bindings for PHP through a Rust extension compiled with ext-php-rs — open flags, fetch modes, prepared statements, transactions and offline writes.
composer global require darkterminal/turso-php-installer
turso-php-installer install --php-version=8.4
Open flags, fetch modes, prepared statements and transactions — wrapped in a PHP-shaped API around a native Rust engine.
Rust extension via ext-php-rs. No userland PDO layer, no serialization overhead between PHP and the engine.
Open flags, fetch modes, batch, prepared statements — the surface PHP developers already know.
Panic-free error mapping, registries, cleanup on drop/finalize, deterministic ordering.
Remote, local, in-memory and embedded replica connections, plus offline writes that sync when connectivity returns.
Composer package plus the installer CLI.
composer global require darkterminal/turso-php-installer && turso-php-installer install --php-version=8.4
nts / ts)composer global bin dir on PATHLibSQL class on loadThe Rust client and the PHP bridge live in the same repository — the extension you install is the engine your code talks to.
Star on GitHubMaintenance and releases are funded by the community.