datastax/php-driver
PHP extension (wrapper over DataStax C/C++ driver) providing a feature-rich, tunable client for Apache Cassandra 2.1+ via CQL3 and the native binary protocol. Prebuilt binaries available. Driver is in maintenance mode; use DSE PHP driver for DSE.
FutureSession, Timestamp::toDateTime()) and hashing inconsistencies (e.g., IS_TRUE/IS_FALSE values), directly impacting Laravel queue workers or high-throughput APIs.Adopt if:
executeAsync()) to improve Laravel job queue performance.Look elsewhere if:
For Executives: "This package provides a production-ready, open-source bridge between Laravel and Cassandra, enabling us to scale horizontally for high-volume data workloads without vendor lock-in. By leveraging DataStax’s maintained PHP driver, we avoid the 6–12 months of development needed to build a custom solution while ensuring enterprise-grade stability—critical for [industry-specific use case, e.g., fraud detection, logistics tracking]. The driver’s asynchronous execution and memory leak fixes directly improve API response times and queue worker reliability, reducing operational costs. Given its Apache 2.0 license, we retain full control over our data layer while benefiting from community-backed bug fixes."
For Engineering Teams: *"The DataStax PHP Driver gives us a mature, feature-rich way to interact with Cassandra from Laravel, supporting everything from simple CRUD to complex CQL queries with UDTs, materialized views, and async execution. Key benefits:
FutureSession) and optimizes hashing for consistency.For Developers: *"If you’re working with Cassandra in Laravel, this driver saves weeks of dev time by providing:
executeAsync() to offload blocking I/O from your app’s main thread.DateTime) and Cassandra types (e.g., timestamp).Decimal parsing) need workarounds.
Example use case: Replace a slow MySQL SELECT * with a Cassandra query for time-series analytics—this driver makes it trivial to fetch paginated results efficiently."*How can I help you explore Laravel packages today?