Download the PHP package codelieutenant/scylla-driver without Composer
On this page you can find all versions of the php package codelieutenant/scylla-driver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codelieutenant/scylla-driver
More information about codelieutenant/scylla-driver
Files in codelieutenant/scylla-driver
Package scylla-driver
Short Description ScyllaDB/Cassandra PHP driver
License Apache-2.0
Informations about the package scylla-driver
ScyllaDB/CassandraDB Driver for PHP
A modern, feature-rich and highly tunable PHP client library for ScyllaDB and Apache Cassandra 3.0+ using exclusively Cassandra's binary protocol.
This is a wrapper around the [ScyllaDB C/C++ Driver].
Getting the Driver
Binary versions of the driver, available for Linux systems and officialy supported versions of PHP (8.1 and 8.2), can be obtained from GitHub Releases (soon).
You're also can compile the driver by yourself or use Dockerfile with a pre-set environment to run your tests.
What's new in v1.2.0/v1.3.8
- ScyllaDB C/C++ Shard Aware driver implemented
- Support for
duration
Session::execute()
andSession::executeAsync()
now support a simple string for the query CQL and a simple array for the query execution option- Full support for Apache Cassandra 3.0+
- Support for
tinyint
andsmallint
- Support for
time
- Support for user-defined function and aggregate metadata
- Support for materialized view metadata
Last Development Status
v1.3.8
- Migration from C to C++
- Removing PHP Build system in favor of CMake
- Upgraded
Cassandra\Cluster\Builder
class to new PHP argument parsing API - Reduce memory usage from
Cassandra\Cluster\Builder
- Migrate from Behat to PestPHP
- Migrated from TravisCI to Github Actions.
Compatibility
This driver works exclusively with the Cassandra Query Language v3 (CQL3) and Cassandra's native protocol. The current version works with:
- ScyllaDB 4.4.x and 5.x +
- Apache Cassandra versions 3.0+
- PHP 8.1 and 8.2
- 64-bit (x64)
- Thread safe (TS) and non-thread safe (NTS)
- Compilers: GCC 13.0+, Clang 16+ and c++23
Getting Help
- If you're able to fix a bug yourself, you can fork the repository and submit a pull request with the fix.
- If you're not able to fix a bug yourself, please open an issue , describe it with the most details possible and wait until one of our maintainers join the conversation.
Quick Start
Installation
Before you compile your driver, first check if your php
and php-config
matches the supported versions. If not,
please checkout to the available versions.
Supported Versions: 8.1 and 8.2.
Next you will learn how to build the driver to:
- Release/Production
- Debug/Development
- Optimized for Production (CAREFUL!!)
BEFORE YOU START
!Make sure first you cloned the repository with --recursive flag!
!Make sure you first install LibUV and LibCassandra/LibScyllaDB!
Installing LibUV
Install LibUV from your package manager. -> Preferred Way
Installing From Source
Installing LibCassandra/LibScyllaDB
Installing From Source (Only Way to get the latest version)
CMAKE Options and Presets
We provide common setups using CMake Presets. You can use them by passing the preset name to CMake:
- Release
- RelWithInfo
- CI (Used by GitHub Actions)
- Debug
- ReleaseLibCassandra (Release with LibCassandra)
`
Compiling Release Build
This build you can use it for Production purposes.
To build your Driver, you should first download a few dependencies:
Debian/Ubuntu
`
After that, you can run the build command inside the repository root folder:
`
Contributing
Read our contribution policy for a detailed description of the process.
Running tests
Soon.
Copyright
© DataStax, Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
All versions of scylla-driver with dependencies
ext-date Version *