Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Turso Driver Laravel Laravel Package

tursodatabase/turso-driver-laravel

Laravel database driver for Turso (libSQL) that lets your app use Turso's SQLite-compatible embedded and remote databases through Laravel's native DB layer. Add a connection and keep using Eloquent, migrations, and the query builder with edge-friendly, replicated SQLite storage.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Database architecture evaluation: Lets you prototype Laravel on top of Turso/libSQL (distributed SQLite) before committing to a managed Postgres/MySQL footprint — a real input into "single-region RDBMS vs. edge-replicated SQLite" decisions.
  • Latency and geography roadmap: Informs whether "serve reads close to users" is achievable for your Laravel app without re-architecting the data layer, which shapes multi-region and edge delivery plans.
  • Cost and ops tradeoff: Supports the case for removing managed database instances and much of the DBA/ops burden for read-heavy or multi-tenant workloads, if replication and backup assumptions hold.
  • Build vs. buy vs. wait on the driver layer: This is a community SDK, not first-party support. The decision it feeds is whether to adopt it now, fund an internal adapter, or defer until Turso/Laravel ecosystem support matures.
  • Feature scoping and API contracts: libSQL's SQLite lineage constrains what you can promise — concurrency model (single writer), transaction complexity, and missing Postgres features. That directly bounds roadmap items that assume JSONB operators, extensions, row-level security, or heavy write throughput.
  • Cheap validation spikes: Low integration cost makes it viable to timebox a proof of concept against your actual Eloquent models, migrations, and query patterns rather than reasoning abstractly.

When to Consider This Package

  • Read-heavy, latency-sensitive Laravel apps: Multi-tenant SaaS, content/catalog sites, dashboards — workloads where replicating reads near users matters more than write concurrency.
  • Spiky or cost-sensitive traffic: Where paying for always-on managed DB capacity is hard to justify.
  • You can accept SQLite/libSQL constraints: Single-writer semantics, limited ALTER TABLE, no stored procedures, weaker concurrent-write behavior, and dialect differences from MySQL/Postgres.
  • You have engineering capacity to own the risk: This is a community SDK (98 stars, early-stage signal). Assume you will debug driver behavior yourself; pin versions, track repo activity and issue response, and keep an exit path.
  • You are validating, not standardizing: Good for spikes and internal tooling; acceptable for production only with a documented fallback and tested restore/migration path.

Look elsewhere when:

  • You need write-heavy OLTP, complex multi-statement transactions, or strict isolation guarantees.
  • Your product depends on Postgres/MySQL-specific capabilities (extensions, JSONB operators, RLS, full-text, mature migration tooling).
  • You require vendor SLAs, security review artifacts, or regulated-environment support.
  • Your team cannot absorb the maintenance burden of an unofficial driver — wait for first-party Laravel support or stay on a managed RDBMS.

How to Pitch It (Stakeholders)

To executives: Turso is a distributed SQLite offering aimed at low-latency reads and lower database operating cost. This package is the community-built Laravel driver that would let an existing Laravel app talk to it with minimal code change. The upside is infra cost and global read latency; the caveat is that it is early-stage and community-maintained, so it belongs in an evaluated pilot, not the critical path. Recommendation: fund a timeboxed spike with a defined fallback — not a migration commitment.

To engineering: A Laravel database driver wiring native libSQL into Laravel's connection/Eloquent layer. Evaluate it against your real test suite: migrations, Eloquent relations, transaction patterns, and queue/session drivers that touch the DB. Treat driver maturity as a first-class risk — small community, single-maintainer exposure, and limited upstream support — so encapsulate usage behind your data layer, pin the dependency, and keep a tested path back to Postgres/MySQL before recommending adoption.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core