Registry / database / datastax-php-driver

datastax-php-driver

JSON →
library1.3.2phppackagistunverified

PHP driver for interacting with Apache Cassandra databases.

composer require datastax/php-driver
INSTALL
IMPORT
SIG · DATASTAX-PHP-DRIVE
D
datastax-php-driver
databasephpv1.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cluster
✓ use Cassandra\Cluster;

Connects to a Cassandra cluster and executes a query.

use Cassandra\Cluster; $cluster = Cluster::build()->withContactPoints('127.0.0.1')->build(); $session = $cluster->connect('my_keyspace'); $result = $session->execute(new Cassandra\SimpleStatement('SELECT * FROM users'));
Debug
Known issues
breakingRequires the DataStax PHP extension (cassandra.so) installed.
fix
Install the extension via PECL or build from source.
affects: *
Upgrade
Version history
1.3.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Amazon
1
Resources
datastax-php-driver — pip install datastax-php-driver · libregistry