An open API service indexing awesome lists of open source software.

https://github.com/offizium-berndstorath/chirpstack-php

Grpc Php Api for Chirpstack
https://github.com/offizium-berndstorath/chirpstack-php

chirpstack

Last synced: 5 months ago
JSON representation

Grpc Php Api for Chirpstack

Awesome Lists containing this project

README

          

# chirpstack-api

ChirpStack gRPC API message and service wrappers for PHP.

## Install

With composer:

```sh
composer require chirpstack/chirpstack-api
```

## Usage

All messages, services, constants, etc. are auto-generated from the ChirpStack protobuf definitions. The result is that
this package structure matches that of the protobuf definitions.

The protobuf definitions can be found here: https://github.com/chirpstack/chirpstack/tree/master/api/proto

## Example

```php
ChannelCredentials::createInsecure()]);
$client = new ApplicationServiceClient('url', [], $channel);
$request = new ListApplicationsRequest();
$response = $client->List($request);
$data = $response->wait();
print_r($data);
}

main();
```