PHPackages                             persgeek/wazuh - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. persgeek/wazuh

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

persgeek/wazuh
==============

1.0.0(2y ago)08MITPHPPHP &gt;=7.4

Since May 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/persgeek/wazuh)[ Packagist](https://packagist.org/packages/persgeek/wazuh)[ RSS](/packages/persgeek-wazuh/feed)WikiDiscussions main Synced today

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

PHP Wazuh Library
=================

[](#php-wazuh-library)

This PHP library simplifies integrating with the Wazuh API, allowing developers to connect and utilize its features easily.

### How to install

[](#how-to-install)

```
composer require persgeek/wazuh
```

### How to login

[](#how-to-login)

```
$wazuh = new Wazuh('https://test.com');

$wazuh->setUsername($username)
    ->setPassword($password);

$token = $wazuh->login()
    ->getToken();

```

### Get list of agents

[](#get-list-of-agents)

```
$wazuh->setToken($token);

$agents = $wazuh->getAgents()
    ->getItems();
```

### Assign agent to group

[](#assign-agent-to-group)

```
$wazuh->setToken($token);

$message = $wazuh->assignGroup($agentId, $groupId)
    ->getMessage();
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

770d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/59645534?v=4)[Saeed Johari](/maintainers/persgeek)[@persgeek](https://github.com/persgeek)

---

Top Contributors

[![persgeek](https://avatars.githubusercontent.com/u/59645534?v=4)](https://github.com/persgeek "persgeek (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/persgeek-wazuh/health.svg)

```
[![Health](https://phpackages.com/badges/persgeek-wazuh/health.svg)](https://phpackages.com/packages/persgeek-wazuh)
```

###  Alternatives

[setono/sylius-feed-plugin

Plugin to generate feeds within the Sylius ecommerce platform

26478.3k](/packages/setono-sylius-feed-plugin)[kohkimakimoto/earray

EArray is a small PHP class to provide convenient ways to access a PHP array.

176.1k](/packages/kohkimakimoto-earray)

PHPackages © 2026

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