PHPackages                             mizzrym/php\_send\_nsca - 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. mizzrym/php\_send\_nsca

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

mizzrym/php\_send\_nsca
=======================

PHP implementation of NSCA client

3.0.3(4y ago)6121.7k↓41.8%7[1 issues](https://github.com/Mizzrym/php_send_nsca/issues)MITPHPPHP &gt;=7.0.0

Since Jul 11Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Mizzrym/php_send_nsca)[ Packagist](https://packagist.org/packages/mizzrym/php_send_nsca)[ RSS](/packages/mizzrym-php-send-nsca/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)DependenciesVersions (13)Used By (0)

php send nsca
=============

[](#php-send-nsca)

send nsca implementation in PHP for nagios.

compatibility
-------------

[](#compatibility)

For php versions lower than 7.0.0 use v3.0-

No support for php versions lower than 5.3. C'mon guys, it's 2019.

usage
-----

[](#usage)

If you don't know exactly what kind of encryptor you want to use, make use of the SendNscaFactory.

You have to provide a connection string like 'nagios.local', a cipher and a password. There is a list of constants for the ciphers available in interfaces/Ciphers.php, but you can also just copy&amp;paste the integer value from your nsca configuration, since they match the constants.

If you know what you're doing you can also construct SendNsca yourself. You have to pick from three encryptors however.

- use the XorEncryptor for Xor Encryption only
- use the OpenSslEncryptor for DES and Triple-DES encryption
- use the LegacyEncryptor for anything else, but keep in mind that it uses the mcrypt extension which was dropped in php 7.2

important
---------

[](#important)

"Be aware of bugs in the following code. I've only proved it correct, not tested it". Of course, it's not that kind of extreme, but be aware that i've only tested the code in my environment, where we only use triple DES encryption with NSCA. If you use any other kind of encryption consider yourself a testsubject. Also check how the encryption is called in PHPs mcrypt extension on your system. I've encountered a really old SuSE box where the name of the triple DES encryption in mcrypt was different from the newer debian boxes.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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 ~154 days

Recently: every ~246 days

Total

11

Last Release

1713d ago

Major Versions

1.1.3 → 2.0.12017-12-26

2.1 → 3.0.02019-01-21

PHP version history (3 changes)1.1.2PHP &gt;=5.3.0

2.0.1PHP &gt;=7.0.0

2.1PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3942111?v=4)[Michael Als](/maintainers/nueaf)[@nueaf](https://github.com/nueaf)

![](https://www.gravatar.com/avatar/4f3e5f2d195fcc8b4fe53604738d4e030776bb233de2e6835f8e7c4748afff21?d=identicon)[Mizzrym](/maintainers/Mizzrym)

---

Top Contributors

[![Mizzrym](https://avatars.githubusercontent.com/u/5637330?v=4)](https://github.com/Mizzrym "Mizzrym (52 commits)")[![sebob](https://avatars.githubusercontent.com/u/1643385?v=4)](https://github.com/sebob "sebob (5 commits)")[![nueaf](https://avatars.githubusercontent.com/u/3942111?v=4)](https://github.com/nueaf "nueaf (2 commits)")[![geoffroya](https://avatars.githubusercontent.com/u/8971729?v=4)](https://github.com/geoffroya "geoffroya (1 commits)")

### Embed Badge

![Health badge](/badges/mizzrym-php-send-nsca/health.svg)

```
[![Health](https://phpackages.com/badges/mizzrym-php-send-nsca/health.svg)](https://phpackages.com/packages/mizzrym-php-send-nsca)
```

###  Alternatives

[faryshta/yii2-enum

Enum classes for Yii2 models and forms

16351.6k](/packages/faryshta-yii2-enum)[denismitr/translit

Russian-English Yandex transliteration package primarily for making slugs

147.3k2](/packages/denismitr-translit)

PHPackages © 2026

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