singlestoredb/singlestoredb-laravel
Official SingleStoreDB driver for Laravel. Wraps Laravel’s MySQL support to improve compatibility and add SingleStore features: Eloquent/migration extensions (columnstore/rowstore, shard/sort keys, etc.), JSON column support, query fixes, and tested across PHP/Laravel versions.
Strengths:
shardKey(), sortKey()) via fluent migration syntax. Reduces boilerplate for schema design.PDO::ATTR_PERSISTENT) and SSL/TLS optimizations, critical for high-throughput applications.Weaknesses:
ORDER BY in DELETE/UPDATE) may not translate directly to SingleStoreDB syntax, requiring configuration overrides (e.g., ignore_order_by_in_deletes).PDO::ATTR_EMULATE_PREPARES bugs, adding complexity.config/database.php. Supports queue failed jobs and migrations out of the box.ORDER BY in DELETE) may break without explicit configuration.ORDER BY in updates) may need refactoring.shardKey) require downtime or careful backfilling.singlestore_bundle.pem).FULLTEXT indexes).config/database.php to use the singlestore driver.PDO::ATTR_PERSISTENT, SSL) based on deployment.shardKey(), sortKey()) to define SingleStoreDB-specific optimizations.ORDER BY in DELETE/UPDATE queries if needed (via connection config).LIMIT with ORDER BY in updates).ignore_order_by_in_updates).reference(), global()).laravel-debugbar) may need patches.DatabaseMigrations or DatabaseTransactions fixtures to validate compatibility.config/database.php).mysqldump or Laravel’s migrations for schema + data).shardKey) add complexity to schema changes. Document these in migration files or a central schema registry.Schema::hasTable() and Schema::hasColumn() for idempotent migrations.pdo_mysql is installed and compatible with the PHP version.ORDER BY clauses).EXPLAIN and SHOW TABLE STATUS to diagnose slow queries or suboptimal sharding.How can I help you explore Laravel packages today?