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

Abandoned → [Mizzrym/php\_send\_nsca](/?search=Mizzrym%2Fphp_send_nsca)Library[Utility &amp; Helpers](/categories/utility)

uni-tel/php\_send\_nsca
=======================

NSCA

2.0.2(9y ago)13231MITPHPPHP &gt;=5.3.0

Since Jul 10Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/Uni-tel/php_send_nsca)[ Packagist](https://packagist.org/packages/uni-tel/php_send_nsca)[ RSS](/packages/uni-tel-php-send-nsca/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (6)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

39

—

LowBetter than 85% of packages

Maintenance57

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

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 ~0 days

Total

4

Last Release

3428d ago

Major Versions

1.0.1 → 2.0.12017-02-08

### Community

Maintainers

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

---

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/uni-tel-php-send-nsca/health.svg)

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

###  Alternatives

[bennettstone/magicmin

MagicMin is a PHP based javascript and stylesheet minification and merging class designed to generate minified, merged, and automatically updating files to simplify the process of minified file usage and updating when going between production and development environments.

495.8k](/packages/bennettstone-magicmin)[feature-ninja/cva

Class variance authority implementation in php

1817.0k3](/packages/feature-ninja-cva)

PHPackages © 2026

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