This is the Turso/libSQL Extension for PHP installer script for Linux and MacOS. Make sure you already have PHP minimal version 8.0.
- Laravel Herd Dynamic Extension Installation
curl https://darkterminal.github.io/turso-php-installer/dist/turso-php-installer.phar -o ./turso-php-installer.phar
Add as a global executable script:
sudo chmod +x turso-php-installer.phar
sudo mv turso-php-installer.phar /usr/local/bin/turso-php-installer
Install Turso Client PHP / libSQL Extension without worry:
turso-php-installer install
Update Turso Client PHP / libSQL Extension without worry:
turso-php-installer update
Uninstall Turso Client PHP / libSQL Extension without worry:
turso-php-installer uninstall
That's it!
I am using Windows
Please, download the official release extension binary from Turso Client PHP GitHub Release Page. Or you can you WSL or you can use Turso Docker PHP