Download the PHP package basho/riak-pb without Composer

On this page you can find all versions of the php package basho/riak-pb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package riak-pb

Riak PB Client for PHP

Riak PHP PB Client is a client which makes it easy to communicate with Riak, an open source, distributed database that focuses on high availability, horizontal scalability, and predictable latency. Both Riak and this code is maintained by Basho.

To see other clients available for use with Riak visit our Documentation Site

Installation

Dependencies

This library requires PHP 5.4+ and allegro/protobuf PHP extension (instructions below).

Composer Install

Run the following composer command:

Alternately, manually add the following to your composer.json, in the require section:

And then run composer update to ensure the module is installed and all dependencies retrieved.

Next, you need to run the following command to install the needed extension for PB support:

Finally, you need to make sure the newly installed extension is being included with your PHP environment via php.ini or a php configuration file (*.conf).

You can confirm that it is enabled for the command line environment with the following command.

Documentation

A fully traversable version of the API documentation for this library can be found on Github Pages.

Example Usage

Below is a short example of using the client. More substantial sample code is available in examples.

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.

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.

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.

Thank you for being part of the community! We love you for it.

License and Authors

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


All versions of riak-pb with dependencies

PHP Build Version
Package Version
Requires basho/riak Version ^3.3
php Version >=5.5
ext-json Version *
ext-curl Version *
allegro/protobuf Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package basho/riak-pb contains the following files

Loading the files please wait ....