PHPackages                             mtxserv/wazuh-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. [API Development](/categories/api)
4. /
5. mtxserv/wazuh-api

ActiveLibrary[API Development](/categories/api)

mtxserv/wazuh-api
=================

PHP library for interacting with the Wazuh Rest API.

v1.0.1(2y ago)03.8k↓33.3%MITPHPPHP ^7.0|^8.0|^8.1

Since Jul 19Pushed 2y ago2 watchersCompare

[ Source](https://github.com/mTxServ/wazuh-api)[ Packagist](https://packagist.org/packages/mtxserv/wazuh-api)[ Docs](https://github.com/mTxServ/wazuh-api)[ RSS](/packages/mtxserv-wazuh-api/feed)WikiDiscussions main Synced 1mo ago

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

Wazuh API PHP Client
====================

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

[![Latest Stable Version](https://camo.githubusercontent.com/ce52216ccdca458bef98b63c5016b56530b0e71b5b9a5378d83df25a410e6ac1/68747470733a2f2f706f7365722e707567782e6f72672f6d7478736572762f77617a75682d6170692f762f737461626c652e706e67)](https://camo.githubusercontent.com/ce52216ccdca458bef98b63c5016b56530b0e71b5b9a5378d83df25a410e6ac1/68747470733a2f2f706f7365722e707567782e6f72672f6d7478736572762f77617a75682d6170692f762f737461626c652e706e67)

The Wazuh API PHP Client is a modern library built on top of [Guzzle](http://docs.guzzlephp.org/en/stable/), providing an efficient interface for interacting with the [Wazuh REST API](https://documentation.wazuh.com/current/user-manual/api/index.html).

Requirements
------------

[](#requirements)

- PHP 7 or 8

Installation
------------

[](#installation)

The recommended way to install the Wazuh API PHP Client is via [Composer](https://getcomposer.org/), a powerful package manager for PHP:

```
composer require mtxserv/wazuh-api
```

Usage
-----

[](#usage)

Below is a basic example illustrating how to instantiate the client and retrieve a list of agents:

```
