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.
Consider it when all of the following hold:
Look elsewhere when:
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."
How can I help you explore Laravel packages today?