Awesome
<p align="center"> <a href="https://discord.gg/turso"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://i.imgur.com/UhuW3zm.png"> <source media="(prefers-color-scheme: light)" srcset="https://i.imgur.com/vljWbfr.png"> <img alt="Shows a black logo in light color mode and a white one in dark color mode." src="https://i.imgur.com/vGCC0I4.png"> </picture> </a> </p>Turso PHP Installer
This is the Turso/libSQL Extension for PHP installer script for Linux and MacOS. Make sure you already have PHP minimal version 8.0.
Not Support yet
- Laravel Herd Dynamic Extension Installation
Installation
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"
Usage
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!
FAQ
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