Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/darkterminal/turso-php-installer

Turso/libSQL Extension for PHP Installer Script
https://github.com/darkterminal/turso-php-installer

database extension installer-script libsql php php-extension sqlite turso

Last synced: 7 days ago
JSON representation

Turso/libSQL Extension for PHP Installer Script

Awesome Lists containing this project

README

        






Shows a black logo in light color mode and a white one in dark color mode.


# 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

```bash
composer global require darkterminal/turso-php-installer
```

make sure the installer is available in `PATH` environment variable:

```bash
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:

```bash
turso-php-installer install
```

Update Turso Client PHP / libSQL Extension without worry:

```bash
turso-php-installer update
```

Uninstall Turso Client PHP / libSQL Extension without worry:

```bash
turso-php-installer uninstall
```

That's it!

## FAQ

**I am using Windows**

Please, download the official release extension binary from [Turso Client PHP](https://github.com/tursodatabase/turso-client-php/releases) GitHub Release Page. Or you can you WSL or you can use [Turso Docker PHP](https://github.com/darkterminal/turso-docker-php)