You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A modern, [feature-rich](features) and highly tunable PHP client library for [Apache Cassandra](http://cassandra.apache.org/) (1.2+) and [DataStax Enterprise](http://www.datastax.com/products/products-index) (3.1+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3.
6
+
A modern, [feature-rich][Features] and highly tunable PHP client library for
7
+
[Apache Cassandra] 2.1+ using exclusively Cassandra's binary protocol and
8
+
Cassandra Query Language v3. __Use the [DSE PHP driver] for better compatibility
9
+
and support for [DataStax Enterprise]__.
7
10
8
-
This is a wrapper around [the DataStax C/C++ Driver for Apache Cassandra and DataStax Enterprise](http://datastax.github.io/cpp-driver/).
* IRC: #datastax-drivers on [irc.freenode.net](http://freenode.net>)
11
+
This is a wrapper around the [DataStax C/C++ Driver for Apache Cassandra].
16
12
17
13
__Note__: DataStax products do not support big-endian systems.
18
14
19
-
## What's new in v1.2.0/v1.3.0:
15
+
## Getting the Driver
16
+
17
+
Binary versions of the driver, available for multiple operating systems and
18
+
multiple versions of PHP, can be obtained from our [download server]. The
19
+
source code is made available via [GitHub]. __If using [DataStax Enterprise]
20
+
use the [DSE PHP driver] instead__.
20
21
21
-
* Support for [`duration`](http://datastax.github.io/php-driver/api/Cassandra/class.Duration/)
22
-
*`Session::execute()` and `Session::executeAsync()` now support a [simple string](http://datastax.github.io/php-driver/features/simple_string_queries/) for the query CQL and a simple array for the query execution option.
22
+
## What's new in v1.2.0/v1.3.0
23
+
24
+
* Support for [`duration`]
25
+
*`Session::execute()` and `Session::executeAsync()` now support a
26
+
[simple string] for the query CQL and a simple array for the query execution
27
+
option
23
28
* Full support for Apache Cassandra 2.2 and 3.0+
24
-
* Support for [`tinyint` and `smallint`](http://datastax.github.io/php-driver/features/datatypes/#using-cassandra-the-tinyint-and-smallint-types)
25
-
* Support for [`date`](http://datastax.github.io/php-driver/features/datatypes/#using-cassandra-date-type) and [`time`](http://datastax.github.io/php-driver/features/datatypes/#using-cassandra-time-type)
26
-
* Support for [user-defined function and aggregate](http://datastax.github.io/php-driver/features/function_and_aggregate_metadata) metadata
27
-
* Support for [secondary index](http://datastax.github.io/php-driver/features/secondary_index_metadata) and [materialize view](http://datastax.github.io/php-driver/features/function_and_aggregate_metadata) metadata
29
+
* Support for [`tinyint` and `smallint`]
30
+
* Support for [`date`] and [`time`]
31
+
* Support for [user-defined function and aggregate] metadata
32
+
* Support for [secondary index] and [materialized view] metadata
33
+
34
+
## Compatibility
35
+
36
+
This driver works exclusively with the Cassandra Query Language v3 (CQL3) and
37
+
Cassandra's native protocol. The current version works with:
38
+
39
+
* Apache Cassandra versions 2.1, 2.2 and 3.0+
40
+
* PHP 5.6, PHP 7.0, and PHP 7.1
41
+
* 32-bit (x86) and 64-bit (x64)
42
+
* Thread safe (TS) and non-thread safe (NTS)
43
+
* Compilers: GCC 4.1.2+, Clang 3.4+, and MSVC 2010/2012/2013/2015
44
+
45
+
If using [DataStax Enterprise] the [DSE PHP driver] provides more features and
* DataStax Academy via Slack: https://academy.datastax.com/slack
28
59
29
60
## Feedback Requested
30
61
31
-
**Help us focus our efforts!**[Provide your input](http://goo.gl/forms/HbSiIJ2tLP) on the PHP Driver Platform and Runtime Survey (we kept it short).
62
+
**Help us focus our efforts!**[Provide your input] on the PHP Driver Platform
63
+
and Runtime Survey (we kept it short).
32
64
33
65
## Quick Start
34
66
@@ -55,28 +87,20 @@ foreach ($result as $row) { // results and rows implement
55
87
pecl install cassandra
56
88
```
57
89
58
-
[Read detailed instructions on building and installing the extension](https://github.com/datastax/php-driver/blob/master/ext/README.md)
59
-
60
-
## Compatibility
61
-
62
-
This driver works exclusively with the Cassandra Query Language v3 (CQL3) and
63
-
Cassandra's native protocol. The current version works with:
64
-
65
-
* Apache Cassandra versions 1.2, 2.0, 2.1, 2.2 and 3.0+
66
-
* DataStax Enterprise 3.1, 3.2, 4.0 and 4.5
67
-
* PHP 5.5+ and PHP 7.0+
68
-
* Compilers: GCC 4.1.2+, Clang 3.4+, and MSVC 2010/2012/2013/2015
90
+
[Read detailed instructions on building and installing the
91
+
extension][installing-details]
69
92
70
93
## Contributing
71
94
72
-
[Read our contribution policy](https://github.com/datastax/php-driver/blob/master/CONTRIBUTING.md) for a detailed description of the process.
95
+
[Read our contribution policy][contribution-policy] for a detailed description
96
+
of the process.
73
97
74
98
## Code examples
75
99
76
-
The DataStax PHP Driver uses the amazing [Behat Framework](http://docs.behat.org/)
77
-
for both end-to-end, or acceptance, testing and documentation. All of the features
78
-
supported by the driver have appropriate acceptance tests with [easy-to-copy code
79
-
examples in the `features/` directory](https://github.com/datastax/php-driver/tree/master/features).
100
+
The DataStax PHP Driver uses the amazing [Behat Framework] for both end-to-end,
101
+
or acceptance testing and documentation. All of the features supported by the
102
+
driver have appropriate acceptance tests with [easy-to-copy code examples in
103
+
the `features/` directory][Features].
80
104
81
105
## Running tests
82
106
@@ -101,10 +125,37 @@ cd /usr/local/src/php-driver
101
125
102
126
## Copyright
103
127
104
-
Copyright 2015-2016 DataStax, Inc.
105
-
106
-
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
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.
128
+
Copyright 2015-2017 DataStax, Inc.
129
+
130
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
131
+
this file except in compliance with the License. You may obtain a copy of the
132
+
License at
133
+
134
+
http://www.apache.org/licenses/LICENSE-2.0
135
+
136
+
Unless required by applicable law or agreed to in writing, software distributed
137
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
138
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
139
+
specific language governing permissions and limitations under the License.
0 commit comments