PHPackages                             saschahemleb/php-grafana-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. saschahemleb/php-grafana-api-client

ActiveLibrary[API Development](/categories/api)

saschahemleb/php-grafana-api-client
===================================

Grafana API client written in PHP

v1.0.0-alpha.2(2y ago)55.4k11MITPHPPHP ^8.0

Since Feb 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/saschahemleb/php-grafana-api-client)[ Packagist](https://packagist.org/packages/saschahemleb/php-grafana-api-client)[ RSS](/packages/saschahemleb-php-grafana-api-client/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (2)Dependencies (7)Versions (3)Used By (1)

PHP Grafana API Client
======================

[](#php-grafana-api-client)

A client for the Grafana API, written in PHP.

Project Status
--------------

[](#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
------------

[](#installation)

Via Composer

```
$ composer require saschahemleb/php-grafana-api-client
```

### Framework Integration

[](#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](//github.com/saschahemleb/laravel-grafana).

Example
-------

[](#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
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~523 days

Total

2

Last Release

1024d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/19496e40b3596f641dde90b1d5af1399b5991c81456703a17af51c34517c59f0?d=identicon)[saschahemleb](/maintainers/saschahemleb)

---

Top Contributors

[![saschahemleb](https://avatars.githubusercontent.com/u/15877419?v=4)](https://github.com/saschahemleb "saschahemleb (12 commits)")

---

Tags

composergrafanaphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/saschahemleb-php-grafana-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/saschahemleb-php-grafana-api-client/health.svg)](https://phpackages.com/packages/saschahemleb-php-grafana-api-client)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/packages/jolicode-slack-php-api)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[mariosimao/notion-sdk-php

A complete Notion SDK for PHP developers.

171225.1k1](/packages/mariosimao-notion-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
