sachoo / cassandra-stubs
PHP stubs for the php cassandra extension.
Installs: 15 192
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: >=5.3
- ext-cassandra: *
This package is not auto-updated.
Last update: 2025-03-21 21:11:11 UTC
README
PHP stubs for the php cassandra extension.
Requirements
- PHP >= 5.3
- Cassandra php driver https://github.com/datastax/php-driver
Cassandra php driver (https://github.com/datastax/php-driver) hasn't appropriate version number. The only version number available is for C/C++ driver version (wich is not the version of the extension itself). Because of it, version of this library follow the cassandra php-driver real version.
If you need to use cassandra php-driver v1.2.2, please install our library at 1.2.2 Follow the exact same logic for other available versions.
Installing via Composer
Install composer in a common location or in your project:
curl -s http://getcomposer.org/installer | php
Create the composer.json file as follows:
{ "require-dev": { "sachoo/cassandra-stubs": "1.3.0" } }
Run the composer installer:
php composer.phar install