The #1 Native LibSQL Extension for PHP - Build by Handsome Person from ๐ฎ๐ฉ
LibSQL PHP Extension designed to seamlessly handle local, remote, and remote replica/embedded replica connections, offering versatility and efficiency for your applicationโs data management needs. With an intuitive interface and flexible configuration options, LibSQL empowers developers to effortlessly integrate database operations into your PHP projects.
LibSQL Extension for PHP GitHub Repository
libSQL is an open source, open contribution fork of SQLite, created and maintained by Turso. We aim to evolve it to suit many more use cases than SQLite was originally designed for, and plan to use third-party OSS code wherever it makes sense.
libSQL is licensed under an Open Source License, and we adhere to a clear Code of Conduct.
Download the latest build extension binary you can see at Release page. Itโs available for:
You can install the libSQL Extension just like using NVM (Node Version Manager). With the installer, you can:
tursodatabase/turso-client-php
) or unstable (pandanotabear/turso-client-php
)and moreโall using turso-php-installer
.
Read more details about turso-php-installer
php.ini
search ;extension
if you using nano (ctrl+w) then searching for itextension=liblibsql_php.so
(in Linux) without ;
at the beginingCheck on your console/terminal
Now, you can use LibSQL
class in your PHP code!
Remember, this is not a library or ORM, this is the native extension for LibSQL.
Thatโs it! Itโs feel like SQLite but it will more powerful ๐