2017 © Pedro Peláez
 

library riak

Official Riak client for PHP

image

basho/riak

Official Riak client for PHP

  • Thursday, April 6, 2017
  • by christophermancini
  • Repository
  • 100 Watchers
  • 159 Stars
  • 140,846 Installations
  • PHP
  • 10 Dependents
  • 3 Suggesters
  • 74 Forks
  • 2 Open issues
  • 26 Versions
  • 10 % Grown

The README.md

Riak Client for PHP

Packagist, (*1)

Riak PHP Client is a library which makes it easy to communicate with Riak, an open source, distributed database that focuses on high availability, horizontal scalability, and predictable latency. This library communicates with Riak's HTTP interface using the cURL extension. If you want to communicate with Riak using the Protocol Buffers interface, use the Official PHP PB Client. Both Riak and this library are maintained by Basho Technologies., (*2)

To see other clients available for use with Riak visit our Documentation Site, (*3)

  1. Installation
  2. Documentation
  3. Contributing
  4. Roadmap
  5. License and Authors

Installation

Dependencies

Composer Install

This library has been added to Packagist to simplify the installation process. Run the following composer command:, (*4)

$ composer require "basho/riak": "3.0.*"

Alternately, manually add the following to your composer.json, in the require section:, (*5)

"require": {
    "basho/riak": "3.0.*"
}

And then run composer update to ensure the module is installed., (*6)

Documentation

  • Master: Build Status

A fully traversable version of the API documentation for this library can be found on Github Pages., (*7)

Example Usage

Below is a short example of using the client. More substantial sample code is available in examples., (*8)

// lib classes are included via the Composer autoloader files
use Basho\Riak;
use Basho\Riak\Node;
use Basho\Riak\Command;

// define the connection info to our Riak nodes
$nodes = (new Node\Builder)
    ->onPort(10018)
    ->buildCluster(['riak1.company.com', 'riak2.company.com', 'riak3.company.com',]);

// instantiate the Riak client
$riak = new Riak($nodes);

// build a command to be executed against Riak
$command = (new Command\Builder\StoreObject($riak))
    ->buildObject('some_data')
    ->buildBucket('users')
    ->build();

// Receive a response object
$response = $command->execute();

// Retrieve the Location of our newly stored object from the Response object
$object_location = $response->getLocation();

Contributing

This repo's maintainers are engineers at Basho and we welcome your contribution to the project! You can start by reviewing CONTRIBUTING.md for information on everything from testing to coding standards., (*9)

An honest disclaimer

Due to our obsession with stability and our rich ecosystem of users, community updates on this repo may take a little longer to review., (*10)

The most helpful way to contribute is by reporting your experience through issues. Issues may not be updated while we review internally, but they're still incredibly appreciated., (*11)

Thank you for being part of the community! We love you for it., (*12)

Roadmap

  • Current develop & master branches contain feature support for Riak version 2.1+
  • Add support for Riak TS Q2 2016

License and Authors

  • Author: Christopher Mancini (https://github.com/christophermancini)
  • Author: Alex Moore (https://github.com/alexmoore)
  • Author: Luke Bakken (https://github.com/lukebakken)

Copyright (c) 2015 Basho Technologies, Inc. Licensed under the Apache License, Version 2.0 (the "License"). For more details, see License., (*13)

The Versions

06/04 2017

dev-develop

dev-develop http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • php >=5.4
  • ext-json *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

06/04 2017

3.4.0

3.4.0.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

09/03 2017

dev-list-keys-integration-test

dev-list-keys-integration-test http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

15/12 2016

3.3.0

3.3.0.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

17/11 2016

dev-master

9999999-dev http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • php >=5.4
  • ext-json *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

17/11 2016

3.2.0

3.2.0.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

28/10 2016

dev-fixes/lrb/add-socket-timeouts

dev-fixes/lrb/add-socket-timeouts http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

16/05 2016

v3.1.0

3.1.0.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

09/02 2016

v3.0.2

3.0.2.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

14/01 2016

v3.0.1

3.0.1.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

31/12 2015

2.1.x-dev

2.1.9999999.9999999-dev http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

29/12 2015

v3.0.0

3.0.0.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

21/12 2015

v3.0.0-beta

3.0.0.0-beta http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

09/12 2015

v2.1.1

2.1.1.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

01/12 2015

dev-pogz-template-functions

dev-pogz-template-functions http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

09/11 2015

v2.1.0

2.1.0.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

24/09 2015

v3.0.0-alpha

3.0.0.0-alpha http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

21/08 2015

v2.0.3

2.0.3.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

10/06 2015

1.4.x-dev

1.4.9999999.9999999-dev http://basho.com/riak/

Official Riak PHP client for PHP 5.3

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0
  • ext-curl *

 

database nosql client driver riak

10/06 2015

v1.4.3

1.4.3.0 http://basho.com/riak/

Official Riak PHP client for PHP 5.3

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0
  • ext-curl *

 

database nosql client driver riak

29/05 2015

v2.0.2

2.0.2.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

16/04 2015

v2.0.1

2.0.1.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver data riak basho datatype kv crdt

25/03 2015

2.0.0

2.0.0.0 http://basho.com/riak/

Official Riak client for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-json *
  • ext-curl *

 

The Development Requires

database nosql client driver riak

30/12 2014

v1.4.2

1.4.2.0 http://basho.com/riak/

Official Riak PHP client for PHP 5.3

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0
  • ext-curl *

 

database nosql client driver riak

22/12 2014

v1.4.1

1.4.1.0 http://basho.com/riak/

Official Riak PHP client for PHP 5.3

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0
  • ext-curl *

 

database nosql client driver riak

12/02 2014

1.4.0

1.4.0.0 http://basho.com/riak/

Official Riak PHP client for PHP 5.3

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0
  • ext-curl *

 

database nosql client driver riak