Download the PHP package darkterminal/libsql-doctrine-dbal without Composer
On this page you can find all versions of the php package darkterminal/libsql-doctrine-dbal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download darkterminal/libsql-doctrine-dbal
More information about darkterminal/libsql-doctrine-dbal
Files in darkterminal/libsql-doctrine-dbal
Package libsql-doctrine-dbal
Short Description A Doctribe DBAL Driver implementation on top of LibSQL Extension
License MIT
Informations about the package libsql-doctrine-dbal
π¨ THIS REPOSITORY IS READ-ONLY π¨
This repository is no longer under maintenance and has been moved to
the official Turso Database repository under the name Turso Doctrine DBAL
the official Turso Database repository under the name Turso Doctrine DBAL
SQLite for Production. Powered by libSQL and libSQL Extension for PHP.
Turso Β· Quickstart Β· Examples Β· Docs Β· Discord Β· Blog & Tutorials
A LibSQL Driver for Doctrine DBAL
LibSQL is a fork of SQLite and this package is #1 LibSQL Driver that run natively using LibSQL Native Extension/Driver/Whatever and support Doctrine DBAL.
Requirement
Before using this package, you need to install and configure LibSQL Native Extension for PHP. You can download from LibSQL Extension - Release
- π¦ 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
Package Installation
Configuration
LibSQL has 4 types of connections to interact with the database: In-Memory Connection, Local Connection, Remote Connection, and Remote Replica Connection (Embedded Replica).
In-Memory Connection
Local Connection
If you want to create Remote Connection or Remote Replica (Embedded Replica) Connection, you will need an existing database to continue. If you donβt have one, create one.
Get the database URL:
Get the database authentication token:
If you use .env
file, assign credentials to the environment variables inside .env
.
Remote Connection
Remote Replica (Embedded Replica) Connection
Usage
Documentation
- Turso Quickstart — Learn how create and connect your first database.
- SDK Quickstart — Learn how to install and execute queries using the libSQL client.
- SDK Reference — Dive deeper with the libSQL SDK reference and examples.
What is Turso?
Turso is a SQLite-compatible database built on libSQL, the Open Contribution fork of SQLite. It enables scaling to hundreds of thousands of databases per organization and supports replication to any location, including your own servers, for microsecond-latency access.
Learn more about what you can do with Turso: