Skip to content

Commit 7094dc7

Browse files
authored
PHP-191: Updates to README and copyright dates
* Adding features to documentation section * Adding rewrite rule for GitHub and documentor usage
1 parent 89e2064 commit 7094dc7

File tree

195 files changed

+296
-240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+296
-240
lines changed

README.md

Lines changed: 91 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,64 @@
33
[![Build Status: Linux](https://travis-ci.org/datastax/php-driver.svg)](https://travis-ci.org/datastax/php-driver)
44
[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/8vrxpkfl4xm2f3nm?svg=true)](https://ci.appveyor.com/project/DataStax/php-driver)
55

6-
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]__.
710

8-
This is a wrapper around [the DataStax C/C++ Driver for Apache Cassandra and DataStax Enterprise](http://datastax.github.io/cpp-driver/).
9-
10-
* Binaries: [http://downloads.datastax.com/php-driver/](http://downloads.datastax.com/php-driver/)
11-
* Docs: [http://datastax.github.io/php-driver/](http://datastax.github.io/php-driver/)
12-
* Code: [https://github.com/datastax/php-driver](https://github.com/datastax/php-driver)
13-
* Jira: [https://datastax-oss.atlassian.net/browse/PHP](https://datastax-oss.atlassian.net/browse/PHP)
14-
* Mailing List: [https://groups.google.com/a/lists.datastax.com/forum/#!forum/php-driver-user](https://groups.google.com/a/lists.datastax.com/forum/#!forum/php-driver-user)
15-
* IRC: #datastax-drivers on [irc.freenode.net](http://freenode.net>)
11+
This is a wrapper around the [DataStax C/C++ Driver for Apache Cassandra].
1612

1713
__Note__: DataStax products do not support big-endian systems.
1814

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__.
2021

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
2328
* 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
46+
better compatibility.
47+
48+
## Documentation
49+
50+
* [Home]
51+
* [API]
52+
* [Features]
53+
54+
## Getting Help
55+
56+
* JIRA: https://datastax-oss.atlassian.net/browse/PHP
57+
* Mailing List: https://groups.google.com/a/lists.datastax.com/forum/#!forum/php-driver-user
58+
* DataStax Academy via Slack: https://academy.datastax.com/slack
2859

2960
## Feedback Requested
3061

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).
3264

3365
## Quick Start
3466

@@ -55,28 +87,20 @@ foreach ($result as $row) { // results and rows implement
5587
pecl install cassandra
5688
```
5789

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]
6992

7093
## Contributing
7194

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.
7397

7498
## Code examples
7599

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].
80104

81105
## Running tests
82106

@@ -101,10 +125,37 @@ cd /usr/local/src/php-driver
101125

102126
## Copyright
103127

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
107-
108-
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
109-
110-
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.
140+
141+
[Apache Cassandra]: http://cassandra.apache.org
142+
[DSE PHP driver]: http://docs.datastax.com/en/developer/php-driver-dse/latest
143+
[DataStax Enterprise]: http://www.datastax.com/products/datastax-enterprise
144+
[DataStax C/C++ Driver for Apache Cassandra]: http://docs.datastax.com/en/developer/cpp-driver/latest
145+
[DataStax download server]: http://downloads.datastax.com/php-driver
146+
[GitHub]: https://github.com/datastax/php-driver
147+
[Home]: http://docs.datastax.com/en/developer/php-driver/latest
148+
[API]: http://docs.datastax.com/en/developer/php-driver/latest/api
149+
[Provide your input]: http://goo.gl/forms/HbSiIJ2tLP
150+
[installing-details]: https://github.com/datastax/php-driver/blob/master/ext/README.md
151+
[contribution-policy]: https://github.com/datastax/php-driver/blob/master/CONTRIBUTING.md
152+
[Behat Framework]: http://docs.behat.org
153+
[Features]: /features
154+
[`duration`]: /features/duration.feature
155+
[simple string]: /features/simple_string_queries.feature
156+
[`tinyint` and `smallint`]: /features/datatypes.feature#L92
157+
[`date`]: /features/datatypes.feature#L135
158+
[`time`]: /features/datatypes.feature#L170
159+
[user-defined function and aggregate]: /features/function_and_aggregate_metadata.feature
160+
[secondary index]: /features/secondary_index_metadata.feature
161+
[materialized view]: /features/materialized_view_metadata.feature

docs.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,26 @@ sections:
1818
config: |
1919
RECURSIVE = YES
2020
FILE_PATTERNS = *.php
21-
EXCLUDE = ext/doc/generate_doc.php ext/doc/generate_doc_yaml.php
21+
EXCLUDE = ext/doc/generate_doc.php ext/doc/generate_doc_common.php ext/doc/generate_doc_yaml.php
2222
INPUT_FILTER = ./doxygen.rb
23+
rewrites:
24+
- \.feature: ''
25+
- \#L92: '#using-cassandra-the-tinyint-and-smallint-types'
26+
- \#L135: '#using-cassandra-date-type'
27+
- \#L170: '#using-cassandra-time-type'
2328
links:
2429
- title: Binaries
25-
href: http://downloads.datastax.com/php-driver/
30+
href: http://downloads.datastax.com/php-driver
2631
- title: Code
27-
href: https://github.com/datastax/php-driver/
32+
href: https://github.com/datastax/php-driver
2833
- title: Docs
29-
href: http://datastax.github.io/php-driver/
34+
href: http://docs.datastax.com/en/developer/php-driver
3035
- title: Issues
31-
href: https://datastax-oss.atlassian.net/browse/PHP/
36+
href: https://datastax-oss.atlassian.net/browse/PHP
3237
- title: Mailing List
3338
href: https://groups.google.com/a/lists.datastax.com/forum/#!forum/php-driver-user
34-
- title: IRC Channel
35-
href: irc://irc.freenode.net/datastax-drivers
39+
- title: Slack
40+
href: https://academy.datastax.com/slack
3641
- title: Releases
3742
href: https://github.com/datastax/php-driver/releases
3843
rewrites:

ext/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2013-2016 DataStax, Inc.
1+
Copyright 2013-2017 DataStax, Inc.
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

ext/php_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2015-2016 DataStax, Inc.
2+
* Copyright 2015-2017 DataStax, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

ext/php_driver_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2015-2016 DataStax, Inc.
2+
* Copyright 2015-2017 DataStax, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

ext/src/Aggregate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2015-2016 DataStax, Inc.
2+
* Copyright 2015-2017 DataStax, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

ext/src/BatchStatement.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2015-2016 DataStax, Inc.
2+
* Copyright 2015-2017 DataStax, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

ext/src/Bigint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2015-2016 DataStax, Inc.
2+
* Copyright 2015-2017 DataStax, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

ext/src/Bigint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2015-2016 DataStax, Inc.
2+
* Copyright 2015-2017 DataStax, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

ext/src/Blob.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2015-2016 DataStax, Inc.
2+
* Copyright 2015-2017 DataStax, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)