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 Php Installer Laravel Package

darkterminal/turso-php-installer

Install Turso's libSQL server binaries for PHP and Laravel with a single Composer command. Handles downloads, platform detection, and setup so you can start building with local Turso databases right away.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Data residency & latency architecture decisions: Choosing Turso/libSQL for edge or multi-region read distribution versus a centralized Postgres/MySQL. This installer is the concrete enabler — without a working PHP extension, Turso is not a viable option for a Laravel/PHP product, so it directly gates that architectural bet.
  • Build vs. buy for database drivers: The extension itself is the "buy" (open source, MIT). Using this installer means your team does not write and maintain a custom PHP binding to libSQL — it decides the integration cost of Turso in a PHP shop.
  • Local-first / embedded replica feature epics: If the roadmap includes offline-capable clients, per-tenant SQLite files, or read replicas close to users, this package is a dependency check before committing engineering cycles.
  • Cost and ops reduction initiatives: Consolidating on a SQLite-compatible managed service can reduce RDS/Postgres operational spend. The installer is a prerequisite for evaluating that consolidation with a working proof of concept.
  • Prototyping and spike scoping: A cheap way to run a 1–2 day technical spike ("can our Laravel app read from Turso?") before an RFC or a larger roadmap commitment.
  • Platform/tooling roadmap: If the org maintains a base Docker image or CI template for PHP services, whether to bake this extension in becomes a shared-infrastructure decision.

When to Consider This Package

Consider it when all of the following hold:

  • The product is on PHP/Laravel and the team is actively evaluating or already adopting Turso/libSQL — this is not useful standalone.
  • You need low-latency reads in multiple regions, embedded replicas, or a SQLite-compatible managed backend, and want a native extension rather than the HTTP-only client path (lower per-query overhead matters at your traffic profile).
  • Your deployment targets (Linux containers, typical CI) can compile/install a PHP extension during image build; you have or are willing to add that step to your Dockerfile and CI pipeline.
  • You are comfortable with a small, single-maintainer, early-stage dependency (20 stars, no vendor SLA) and can pin/vendor it or fork it if needed.

Look elsewhere when:

  • You are not using Turso/libSQL — a pure SQLite or Postgres/MySQL stack gains nothing, and the HTTP client or standard PDO drivers are simpler.
  • Your runtime can't build native extensions (some serverless/PaaS environments, shared hosting) or you lack the deployment maturity to manage that.
  • You need vendor support, security review, or SOC2-grade assurance from the driver layer — pick a better-established libSQL PHP client or the official SDK path instead.
  • Your workload is write-heavy with strong transactional/OLTP guarantees typical of Postgres; Turso may be the wrong database, making the installer moot.
  • You can achieve the goal with the libSQL HTTP client and the extension's latency win is not measurable at your scale.

How to Pitch It (Stakeholders)

For executives: "We're evaluating Turso, a distributed SQLite-compatible database, to cut read latency for users outside our primary region and reduce managed-database cost. This small MIT-licensed installer is what lets our existing PHP stack actually connect to it. It's a low-cost enabler for a proof of concept — not a platform commitment. Risk is contained: it's a build-time tool, it's open source, and we can pin it or drop it if the Turso evaluation doesn't stack up. Ask: approve a short spike and a Dockerfile change; the real spend decision on Turso comes after we see latency and cost numbers."

For engineering: "It's a native PHP extension installer for libSQL/Turso — we wire it into the build stage of our image, pin the version, and get a proper native driver instead of the HTTP client. Upside is real per-query latency and embedded-replica support; downside is we now own a native-extension build step in CI, a small/early dependency with one maintainer, and cross-platform build friction (Linux is fine, Windows/dev-parity needs thought). Recommend: spike it behind a feature flag against a non-critical read path, baseline latency and p95 versus our current DB, and document the build step in the base-image repo before anyone depends on it in production."

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.
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus