PHPackages                             moesgaard/zabbix-api - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. moesgaard/zabbix-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

moesgaard/zabbix-api
====================

A Php way to communicate with Zabbix Api, Using auto discovery of Clients to use for http calls

0.2(2y ago)471[1 issues](https://github.com/moestv2dk/zabbixApi/issues)MITPHP

Since Apr 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/moestv2dk/zabbixApi)[ Packagist](https://packagist.org/packages/moesgaard/zabbix-api)[ RSS](/packages/moesgaard-zabbix-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

zabbixApi
=========

[](#zabbixapi)

This for communication to the zabbix API via PHP To get this to work the following Constants has to be set

```
ZABBIXTOKEN
ZABBIXHOST

```

Structure
=========

[](#structure)

The structure is PSR-4 based. The basic of this library is teh API call is performed via the src/Api/ZbxApi and the src/Method if for the calls. In the src/Help/ there is a HelpClass that you can use to see the parameters Zabbix takes for each function in the api.

NOTE !!! This is Work in progress!!! This the Generation of those calls can also be done in src/Method/CustomCalls.php, where you can fill out the corresponding parameters in the call.

```
use ZbxApi\Help;
$problem = new HelpCalls();
print_r($problem->action_get());

```

This will return

```
Array ( [method] => action.get [params] => Array ( [filter] => Array ) )

```

wich in json is

```
{"method":"action.get","params":{"filter":"Array"}}

```

So you can modify the Json directly or you can fill out the parameters needed in CustomCalls that has the same name but each parameter in "Params" is a parameter in the call. BUT you don have to fill out each parameter as if it is no set it wont be returned.

```
use ZbxApi;
$problem = new CustomCalls();
print_r($problem->action_get(array( "ids" => 1 )));

```

###  Health Score

17

↓

LowBetter than 6% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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 ~5 days

Total

2

Last Release

743d ago

Major Versions

0.2 → v1.0.0-alpha2024-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/73e6f230bfa664c57e32c924e939776410027c1ed46c6cabb1c4c5779dc85c47?d=identicon)[moesgaard](/maintainers/moesgaard)

---

Top Contributors

[![moestv2dk](https://avatars.githubusercontent.com/u/25665440?v=4)](https://github.com/moestv2dk "moestv2dk (7 commits)")

### Embed Badge

![Health badge](/badges/moesgaard-zabbix-api/health.svg)

```
[![Health](https://phpackages.com/badges/moesgaard-zabbix-api/health.svg)](https://phpackages.com/packages/moesgaard-zabbix-api)
```

###  Alternatives

[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[friendsofsymfony/http-cache

Tools to manage HTTP caching proxies with PHP

36114.7M36](/packages/friendsofsymfony-http-cache)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[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)

PHPackages © 2026

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