Download the PHP package mroosz/php-cassandra without Composer
On this page you can find all versions of the php package mroosz/php-cassandra. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-cassandra
Cassandra client library for PHP
Cassandra client library for PHP, which supports Protocol v5 (Cassandra 4.x, 5.x) and asynchronous requests.
https://packagist.org/packages/mroosz/php-cassandra
Features
- Using Protocol v5 (Cassandra 4.x, 5.x)
- Supports ssl/tls with stream transport layer
- Supports asynchronous and synchronous requests
- Support for logged, unlogged and counter batches
- The ability to specify the consistency, "serial consistency" and all flags defined in the protocol
- Supports query preparation
- Supports all data types, including collection types, tuples and UDTs
- Supports conditional update/insert
- 5 fetch methods (fetchAll, fetchRow, fetchPairs, fetchCol, fetchOne)
- Two transport layers - socket and stream.
- Uses exceptions to report errors
Installation
PHP 8.1+ is required. There is no need for additional libraries.
If you want to use the Bigint, Counter, Duration, Time or Timestamp types, a 64-bit system is required.
Using composer to install is recommended.
However, you may also fetch the repository from Github and load it via its own class loader:
Basic Usage
Fetch Data
Iterate over result
Query Asynchronously
Using preparation and data binding
Using Batch
Supported datatypes
All types are supported.
Using nested datatypes
Listening for events
Inspired by
Merged contributions for duoshuo/php-cassandra
All versions of php-cassandra with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1.0
The package mroosz/php-cassandra contains the following files
Loading the files please wait ....