turso/libsql-laravel

There is no license information available for the latest version (v0.1.2) of this package.

v0.1.2 2025-01-11 00:19 UTC

This package is auto-updated.

Last update: 2025-01-11 00:22:55 UTC


README

libSQL Laravel

Databases for all Laravel Apps.

Turso · Docs · Quickstart · Blog & Tutorials

Features

Warning

This SDK is currently in technical preview. Join us in Discord to report any issues.

Install

composer require turso/libsql-laravel

Quickstart

Inside your Laravel application’s config/database.php, configure the default and libsql connections:

<?php

use Illuminate\Support\Str;

return [
    "default" => env("DB_CONNECTION", "libsql"),

    "connections" => [
        "libsql" => [
            "driver" => env("DB_CONNECTION", "libsql"),
            "database" => database_path("dev.db"),
        ],

        // ...
    ],
];

Documentation

Visit our official documentation.

Support

Join us on Discord to get help using this SDK. Report security issues via email.

Contributors

See the contributing guide to learn how to get involved.

Contributors