From b6767030e585eb44bbaadd1f12b6345f76f5c330 Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Sun, 14 Jun 2015 11:36:23 +0200 Subject: [PATCH 1/4] Minor on docs --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2d5171146..5c58daaad 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,12 @@ Just use composer } ``` +## Use it + Add new points: ```php -$client->mark("app.search", [ +$client->mark("app-search", [ "key" => "this is my search" ]); ``` @@ -54,11 +56,10 @@ $client->mark([ ]); ``` - Retrieve existing points: ```php -$results = $client->query('select * from "app.search"'); +$results = $client->query('select * from "app-search"'); ``` ## InfluxDB client adapters From e4c38883ad0a5ee9b7a20744c625098f1d36921e Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Sun, 14 Jun 2015 11:46:00 +0200 Subject: [PATCH 2/4] Removed senso insight (shows no medal when kudos) --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 5c58daaad..35fbd43d6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # InfluxDB PHP SDK -[![SensioLabsInsight](https://insight.sensiolabs.com/projects/699a9a78-39aa-41d0-bb60-41dbf0f1251d/big.png)](https://insight.sensiolabs.com/projects/699a9a78-39aa-41d0-bb60-41dbf0f1251d) - * Master: [![Build Status](https://travis-ci.org/corley/influxdb-php-sdk.svg?branch=master)](https://travis-ci.org/corley/influxdb-php-sdk) * Develop: [![Build Status](https://travis-ci.org/corley/influxdb-php-sdk.svg?branch=develop)](https://travis-ci.org/corley/influxdb-php-sdk) From 06fe10bc9d75c6a580ff4d24b9a4d13203eff386 Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Sun, 14 Jun 2015 11:49:27 +0200 Subject: [PATCH 3/4] Moved sockets compile section to bottom --- README.md | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 35fbd43d6..bd9a47b19 100644 --- a/README.md +++ b/README.md @@ -71,22 +71,6 @@ Actually we supports two network adapters In order to use the UDP/IP adapter your must have PHP compiled with the `sockets` extension. -To verify if you have the `sockets` extension just issue a: - -```bash -php -m | grep sockets -``` - -If you don't have the `sockets` extension, you can proceed in two ways: - - - Recompile your PHP whith the `--enable-sockets` flag - - Or just compile the `sockets` extension extracting it from the PHP source. - - 1. Download the source relative to the PHP version that you on from [here](https://github.com/php/php-src/releases) - 2. Enter in the `ext/sockets` directory - 3. Issue a `phpize && ./configure && make -j && sudo make install` - 4. Add `extension=sockets.so` to your php.ini - **Usage** ```php @@ -287,3 +271,23 @@ Corley\Benchmarks\InfluxDB\MessageToInlineProtocolEvent convertMessageToInlineProtocolWithDifferentTagLevels: [10,000 ] [0.0000343942404] [29,074.63543] ``` +## FAQ + +### Add sockets support to your PHP + +To verify if you have the `sockets` extension just issue a: + +```bash +php -m | grep sockets +``` + +If you don't have the `sockets` extension, you can proceed in two ways: + + - Recompile your PHP whith the `--enable-sockets` flag + - Or just compile the `sockets` extension extracting it from the PHP source. + + 1. Download the source relative to the PHP version that you on from [here](https://github.com/php/php-src/releases) + 2. Enter in the `ext/sockets` directory + 3. Issue a `phpize && ./configure && make -j && sudo make install` + 4. Add `extension=sockets.so` to your php.ini + From c04de6d075cec6f42731d0579fdce2fde36cf106 Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Sun, 14 Jun 2015 11:51:04 +0200 Subject: [PATCH 4/4] Bumped version 0.4.5 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 6f2743d65..0bfccb080 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.4 +0.4.5