saschahemleb/php-grafana-api-client
最新稳定版本:v1.0.0-alpha.2
Composer 安装命令:
composer require saschahemleb/php-grafana-api-client
包简介
Grafana API client written in PHP
README 文档
README
A client for the Grafana API, written in PHP.
Project Status
This project is still in an alpha state; not all API endpoints are implemented yet, and the public package API is subject to major changes.
Installation
Via Composer
$ composer require saschahemleb/php-grafana-api-client
Framework Integration
I've written a bridge package for Laravel, providing a facade and a connection manager for controlling multiple grafana instances. You can find it here.
Example
use Saschahemleb\PhpGrafanaApiClient\Client; use Saschahemleb\PhpGrafanaApiClient\Authentication; $client = Client::create( new Uri('http://localhost:3000/'), // url to grafana Authentication::basicAuth('admin', 'admin') ); echo $client->other()->health()->getVersion(); // 8.3.6
统计信息
- 总下载量: 5.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-27