承接 saschahemleb/php-grafana-api-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-27