Skip to content

tursodatabase/libsql-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1858363 · Mar 25, 2025

History

35 Commits
Jan 15, 2025
Jan 15, 2025
Jan 15, 2025
Dec 26, 2024
Jan 15, 2025
Dec 26, 2024
Jan 10, 2025
Jan 10, 2025
Jan 10, 2025
Mar 3, 2025
Mar 3, 2025
Jan 15, 2025
Dec 26, 2024
Dec 26, 2024
Jan 15, 2025

Repository files navigation

libSQL Laravel Adapter

libSQL Laravel

Databases for all Laravel Apps.

Turso · Docs · Quickstart · Blog & Tutorials

MIT License Discord Contributors Total downloads Examples

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

good first issue