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 2d 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

798d ago

Major Versions

0.2 → v1.0.0-alpha2024-04-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6400261?v=4)[Morten Moesgaard](/maintainers/moesgaard)[@moesgaard](https://github.com/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

[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)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28150.5k](/packages/phpro-http-tools)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

1003.9M50](/packages/getbrevo-brevo-php)[laudis/neo4j-php-client

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

185702.8k44](/packages/laudis-neo4j-php-client)

PHPackages © 2026

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