> ## Documentation Index
> Fetch the complete documentation index at: https://darkterminal.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Requirement

> Before using this package, you need to install and configure LibSQL Native Extension for PHP.

<Card title="LibSQL Extension for PHP" icon="link" href="https://github.com/tursodatabase/turso-client-php/releases">
  The #1 Native LibSQL Extension for PHP
</Card>

Download the latest build extension/driver binary you can see at link above. It's available for:

* Linux
* Mac/Darwin
* Windows (still struggle, but you need to try use WSL)

## Extension Installation

* 📦 Extract the archive
* 🗃 Locate somewhere in your machine
* 💽 Copy a relative path that address that extension/driver
* 📂 Open `php.ini` search `;extension` if you using nano (ctrl+w) then searching for it
* 📝 add in the next-line `extension=liblibsql_php.so` (in Linux) without `;` at the begining

Check on your console/terminal

```shell theme={null}
$ php --m | grep libsql
liblibsql_php
```
