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)56.0k11MITPHPPHP ^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 today

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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

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

1079d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15877419?v=4)[Sascha Hemleb](/maintainers/saschahemleb)[@saschahemleb](https://github.com/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

[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[openai-php/client

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

5.8k28.0M318](/packages/openai-php-client)[deeplcom/deepl-php

Official DeepL API Client Library

2607.3M114](/packages/deeplcom-deepl-php)[private-packagist/api-client

Private Packagist API Client

3584.8k1](/packages/private-packagist-api-client)[brd6/notion-sdk-php

Notion SDK for PHP

6123.0k](/packages/brd6-notion-sdk-php)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9515.8M76](/packages/m4tthumphrey-php-gitlab-api)

PHPackages © 2026

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