This is the Turso/libSQL Extension for PHP installer script for Linux and MacOS. Make sure you already have PHP minimal version 8.0.
composer global require darkterminal/turso-php-installer
make sure the installer is available in PATH
environment variable:
export PATH="$HOME/.composer/vendor/bin;$PATH"
# or
export PATH="$HOME/.config/composer/vendor/bin;$PATH"
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