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
Requires
- illuminate/database: ^11.0
- spatie/laravel-package-tools: ^1.16
- turso/libsql: ^0.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/phpstan: 2.0.x-dev
- phpunit/phpunit: ^11
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
- 🔌 Works offline with Embedded Replicas
- 🌎 Works with remote Turso databases (on Fly)
- ✨ Works with Turso AI & Vector Search
- 🐘 Works with Laravel's Eloquent ORM
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.