2017 © Pedro Peláez
 

library cloud-redis

Google Cloud Redis Client for PHP

image

google/cloud-redis

Google Cloud Redis Client for PHP

  • Thursday, July 19, 2018
  • by bshaffer
  • Repository
  • 30 Watchers
  • 0 Stars
  • 433 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 43200 % Grown

The README.md

Google Cloud Redis for PHP

Idiomatic PHP client for Google Cloud Redis., (*1)

Latest Stable Version Packagist, (*2)

NOTE: This repository is part of Google Cloud PHP. Any support requests, bug reports, or development contributions should be directed to that project., (*3)

A fully managed Redis service for the Google Cloud Platform. Applications running on Google Cloud Platform can achieve extreme performance by leveraging the highly scalable, available, secure Redis service without the burden of managing complex Redis deployments., (*4)

Installation

To begin, install the preferred dependency manager for PHP, Composer., (*5)

Now install this component:, (*6)

$ composer require google/cloud-redis

This component requires the gRPC extension. Please see our gRPC installation guide for more information on how to configure the extension., (*7)

Authentication

Please see our Authentication guide for more information on authenticating your client. Once authenticated, you'll be ready to start making requests., (*8)

Sample

require 'vendor/autoload.php';

use Google\Cloud\Redis\V1\CloudRedisClient;

$client = new CloudRedisClient();

$projectId = '[MY_PROJECT_ID]';
$location = '-'; // The '-' wildcard refers to all regions available to the project for the listInstances method
$formattedLocationName = $client->locationName($projectId, $location);
$response = $client->listInstances($formattedLocationName);
foreach ($response->iterateAllElements() as $instance) {
    printf('Instance: %s : %s' . PHP_EOL,
        $instance->getDisplayName(),
        $instance->getName()
    );
}

Debugging

Please see our Debugging guide for more information about the debugging tools., (*9)

Version

This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in any minor or patch releases. We will address issues and requests with the highest priority., (*10)

Next Steps

Take a look at and understand the official documentation., (*11)

The Versions

19/07 2018

dev-master

9999999-dev

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

19/07 2018

v0.3.3

0.3.3.0

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

11/07 2018

v0.3.2

0.3.2.0

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

03/07 2018

v0.3.1

0.3.1.0

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

12/06 2018

v0.3.0

0.3.0.0

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

31/05 2018

v0.2.1

0.2.1.0

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

24/05 2018

v0.2.0

0.2.0.0

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

17/05 2018

v0.1.1

0.1.1.0

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

08/05 2018

v0.1.0

0.1.0.0

Google Cloud Redis Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires