SQLite for Production. Powered by libSQL.
Turso · Quickstart · Examples · Docs · Discord · Blog & Tutorials
- Turso Quickstart — Learn how create and connect your first database.
- SDK Quickstart — Learn how to install and execute queries using the libSQL client.
- SDK Reference — Dive deeper with the libSQL SDK reference and examples.
Turso is a SQLite-compatible database built on libSQL, the Open Contribution fork of SQLite. It enables scaling to hundreds of thousands of databases per organization and supports replication to any location, including your own servers, for zero-latency reads.
Learn more about what you can do with Turso:
- Embedded Replicas
- Multi-DB Schemas
- ATTACH Database
- Platform API
- Data Edge
- Branching
- Point-in-Time Recovery
- Scale to Zero
Download the latest build extension/driver binary you can see at Release page.
It's available for:
- Linux
- Mac/Darwin
- Windows (WSL) / Windows x64
- PHP 8.0
- PHP 8.1
- PHP 8.2
- PHP 8.3
- Extract the archive
- Locate somewhere in your machine
- Copy a relative path that address that extension/driver
- Open
php.ini
search;extension
if you usingnano
(ctrl+w
) then searching for it - add in the next-line
extension=liblibsql_php.so
(in Linux) without;
at the begining
Check on your console/terminal
php --m | grep libsql
Install Turso Client PHP / libSQL Extension without worry using installer script, only for Linux and MacOS Turso PHP Installer