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

Singlestore Laravel Laravel Package

singlestore/singlestore-laravel

Official SingleStore integration for Laravel, providing a native database driver with Eloquent and query builder support. Connect Laravel apps to SingleStore for fast distributed SQL, migrations, schema management, and familiar Laravel workflows.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy on the analytics stack. The core PM decision this package de-risks is "do we stand up a separate OLAP system (ClickHouse/Druid/BigQuery) plus an ETL pipeline, or do we consolidate transactional and analytical workloads on one MySQL-wire-compatible database?" An official Laravel driver lowers the integration cost of the latter to roughly a composer require and a connection config change.
  • Consolidating ETL out of the roadmap. If your product roadmap includes real-time dashboards, activity feeds, fraud/risk scoring, personalization, IoT telemetry, or tenant-facing reporting over live data, this package lets the application talk to the analytical store directly. That can remove a queue + warehouse + batch-job workstream from the backlog entirely.
  • Time-to-market on "live analytics" features. Because SingleStore speaks the MySQL protocol, Eloquent, query builder, and migrations largely work unchanged. The PM trade-off is feature breadth for speed-of-delivery — a feature that would take a quarter with a warehouse pipeline can be scoped in weeks.
  • Scaling decisions under write pressure. When a Postgres/MySQL primary becomes the bottleneck for both ingest and reporting, the decision "scale up vertically vs. re-platform" is informed by how cheaply the app layer can switch. A first-party, Apache-2.0 driver makes re-platforming a config-level decision rather than a rewrite.
  • Framework standardization. If the org has committed to Laravel as the application standard, the existence of an official driver from SingleStore Labs is a relevant input to "is SingleStore a viable vendor for us?"
  • Vendor selection / procurement. It is evidence that the vendor invests in the PHP/Laravel ecosystem specifically, not just Python/Java — worth weighing in an RFP against MySQL HeatWave, Vitess, or PlanetScale-style options.

When to Consider This Package

Adopt when all or most of these hold:

  • You are already a Laravel (or plain PHP) shop and the application is the primary consumer of the data. This package is an application-level dependency; if your data consumers are Python notebooks or BI tools, the driver is irrelevant to the decision.
  • You have a genuine HTAP need — sub-second queries over data that is being written continuously — and you have measured that a single-node relational database plus read replicas will not get you there.
  • Data volume or concurrency is above the "just add an index and a replica" threshold. For most products under a few hundred GB with modest write rates, Postgres/MySQL plus a materialized view is cheaper and simpler.
  • You have operational capacity for a specialized database — managed SingleStore (Helios) or a team that can run it. The driver does not remove the operational burden of the database itself.
  • You accept MySQL-compatibility semantics. This is a compatibility layer, not full MySQL parity. Validate your schema builder usage, JSON handling, foreign keys, and any raw SQL before committing.
  • You are comfortable pinning a version. 234 stars and 0 dependents means essentially no downstream ecosystem has hardened this driver in production for you. Treat it as vendor-supported but community-thin, and budget integration tests against a real SingleStore instance in CI.

Look elsewhere when:

  • Your workload is pure OLTP at small-to-medium scale. A boring managed Postgres is cheaper, better understood, and has a vastly larger hiring pool.
  • You depend on strict relational integrity, triggers, stored procedures, or Postgres-specific features (extensions, JSONB query patterns, LISTEN/NOTIFY, row-level security).
  • Cost sensitivity is high and predictable flat pricing matters — SingleStore's pricing model can surprise you at scale compared to commodity Postgres.
  • You are not on Laravel, or your data path runs through a service layer in another language. Use the native SingleStore connectors instead.
  • Vendor lock-in is a board-level concern. This driver, plus SingleStore-specific SQL, deepens dependency on a single commercial vendor with a comparatively small ecosystem.

How to Pitch It (Stakeholders)

For executives (one paragraph): We can ship real-time, data-heavy features — live dashboards, fraud scoring, tenant analytics — without building and operating a separate data warehouse and ETL pipeline. This is the official SingleStore driver for Laravel, published by the vendor under Apache-2.0, which means the "plumbing" cost of adopting SingleStore is measured in days, not a quarter of engineering. The strategic upside is one fewer system to run and a materially shorter path from data to customer-facing insight. The strategic risk is concentration: SingleStore is a commercial vendor with a smaller ecosystem than Postgres, and this driver has a small community (a few hundred stars, no downstream packages depending on it), so we would be an early-ish adopter. Recommendation: pilot on one analytics-facing feature, keep the schema portable, and gate broader adoption on measured performance and total cost.

For engineering (one paragraph): It is a first-party Laravel database driver for SingleStoreDB — register the connection in config/database.php, run migrations, and Eloquent/query builder work over the MySQL wire protocol. License is Apache-2.0, the repo is actively released (latest 2026-06-09), and it lives under the vendor's own GitHub org rather than a random maintainer, which is the main trust signal. Caveats to plan for: MySQL compatibility is close but not identical, so pin the version, add integration tests against a real SingleStore instance in CI, and avoid leaning on foreign-key enforcement and MySQL-specific DDL. The "0 dependents" figure is expected for a leaf integration package but does mean we are the ones finding the edge cases — treat it as vendor-supported, community-thin.

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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib