2017 © Pedro Peláez
 

library cloud-iot

Google Cloud IoT Core Client for PHP

image

google/cloud-iot

Google Cloud IoT Core Client for PHP

  • Thursday, July 19, 2018
  • by bshaffer
  • Repository
  • 45 Watchers
  • 1 Stars
  • 749 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 54 % Grown

The README.md

Google Cloud IoT Core for PHP

Idiomatic PHP client for Google Cloud IoT Core., (*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 service for securely connecting and managing IoT devices, from a few to millions. Ingest data from connected devices and build rich applications that integrate with the other big data services of Google Cloud Platform., (*4)

Installation

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

Now install this component:, (*6)

$ composer require google/cloud-iot

Authentication

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

Sample

require 'vendor/autoload.php';

use Google\Cloud\Iot\V1\DeviceManagerClient;

$deviceManager = new DeviceManagerClient();

$projectId = '[MY_PROJECT_ID]';
$location = 'us-central1';
$registryId = '[MY_REGISTRY_ID]';
$registryName = $deviceManager->registryName($projectId, $location, $registryId);
$devices = $deviceManager->listDevices($registryName);
foreach ($devices->iterateAllElements() as $device) {
    printf('Device: %s : %s' . PHP_EOL,
        $device->getNumId(),
        $device->getId()
    );
}

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., (*8)

Next Steps

  1. Understand the official documentation.
  2. Take a look at in-depth usage samples.

The Versions

19/07 2018

dev-master

9999999-dev

Google Cloud IoT Core Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

19/07 2018

v0.3.2

0.3.2.0

Google Cloud IoT Core 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 IoT Core 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 IoT Core 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 IoT Core 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 IoT Core Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

08/05 2018

v0.1.3

0.1.3.0

Google Cloud IoT Core Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

16/04 2018

v0.1.2

0.1.2.0

Google Cloud IoT Core Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

11/04 2018

v0.1.1

0.1.1.0

Google Cloud IoT Core Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

03/04 2018

v0.1.0

0.1.0.0

Google Cloud IoT Core Client for PHP

  Sources   Download

Apache-2.0

The Requires