Skip to main content
This installer script will make your workflow more comfortable and seamless for integrating the Turso/libSQL PHP Extension into your project and development environment. Designed to reduce the hassle when trying something new and extraordinary, as installing extensions in a PHP environment can be quite cumbersome. With this installer, developers can easily install, update, and uninstall extensions, just like using a commonly used package manager. And here is an example of usage:
btw, the script called turso-php-installer

Installation

turso-php-installer is a Composer package capable of executing various commands related to libSQL, simplifying the development process, and making it easier to simulate in a local environment.
Tip: if you want the script name more friendly you can rename the script file name.

Turso PHP Installer Usage


Install the Extension

Install with different style and needs:
  • Intaractive mode
  • Non-interactive mode
  • Laravel Sail

Interactive Mode

Non-interactive Mode

Laravel Sail

Laravel Sail

Read the detail how to setting up libSQL in Laravel Sail

Update the Extension

Uninstall the Extension

That’s it! Really easy. Would you like to dive deeper into other commands? See the Reference