Turso PHP Installer
Install, update, or uninstall the native libSQL PHP extension on Linux and macOS.
composer global require darkterminal/turso-php-installer01 / PHP ECOSYSTEM
Turso PHP Ecosystem is a collection of open-source packages for libSQL/Turso workflows: native extension installation, HTTP clients, Platform API SDKs, and Laravel/Doctrine integrations.
02 / THE LINEUP
Each package has a clear job. Pick the layer you need, from native extension setup to framework integration.
Install, update, or uninstall the native libSQL PHP extension on Linux and macOS.
composer global require darkterminal/turso-php-installer
The upstream libSQL native extension for PHP. Use it directly or through framework drivers.
Install via Turso PHP Installer; see repository README.
Pure PHP Hrana-over-HTTP client for libSQL/Turso. No native extension required.
composer require darkterminal/turso-client-http
Typed Turso Platform API client, pinned to OpenAPI and covered by CI.
composer require darkterminal/turso-api-client-php
Laravel adapter for the Turso Platform API SDK with config publishing and Facade.
composer require darkterminal/turso-platform-laravel
Laravel database driver powered by the native libSQL extension.
composer require tursodatabase/turso-driver-laravel
Doctrine DBAL driver for libSQL/Turso using the native PHP extension.
composer require tursodatabase/turso-doctrine-dbal03 / CHOOSE A PATH
No one-size-fits-all runtime. Use native, HTTP, or Platform API depending on your environment and constraints.
For local/libSQL performance and framework drivers that depend on the native extension.
For environments where installing a native extension is not possible or not desirable.
For managing Turso Platform resources from PHP applications and automation scripts.
04 / QUICK START
Install only what you need. The ecosystem is modular: packages can be used independently or combined in the same PHP stack.
# Native extension installer
composer global require darkterminal/turso-php-installer
turso-php-installer install
# HTTP client (no extension)
composer require darkterminal/turso-client-http
# Platform API SDK
composer require darkterminal/turso-api-client-php
# Laravel / Doctrine integrations
composer require darkterminal/turso-platform-laravel
composer require tursodatabase/turso-driver-laravel
composer require tursodatabase/turso-doctrine-dbal
05 / COMMUNITY
Join the Turso PHP Ecosystem Discord for package discussion, help, and showcase. Keep it technical, respectful, and in plain English. Never share tokens or secrets.
Support the maintenance and development of the ecosystem.