Download the PHP package moesgaard/zabbix-api without Composer
On this page you can find all versions of the php package moesgaard/zabbix-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download moesgaard/zabbix-api
More information about moesgaard/zabbix-api
Files in moesgaard/zabbix-api
Package zabbix-api
Short Description A Php way to communicate with Zabbix Api, Using auto discovery of Clients to use for http calls
License MIT
Informations about the package zabbix-api
zabbixApi
This for communication to the zabbix API via PHP To get this to work the following Constants has to be set
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.
This will return
wich in json is
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.
All versions of zabbix-api with dependencies
php-http/discovery Version ^1.17
psr/http-client-implementation Version *
symfony/http-client Version ^7.0
psr/http-client Version ^1.0
nyholm/psr7 Version ^1.8
psr/http-factory-implementation Version *
php-http/curl-client Version ^2.3
composer Version ^2.6
php-http/guzzle7-adapter Version ^1.0
php-http/client-common Version ^2.7