PHPackages                             dcortez/snmp - 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. dcortez/snmp

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

dcortez/snmp
============

PHP Class for net-snmp commands

1.2.0(8y ago)131MITPHP

Since Nov 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dcortez/snmp)[ Packagist](https://packagist.org/packages/dcortez/snmp)[ RSS](/packages/dcortez-snmp/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

snmp
====

[](#snmp)

PHP Class for net-snmp commands

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

[](#requirements)

Requires: net-snmp-utils

For RedHat/CentOS 6, 7

```
[root@centos ~]# yum install net-snmp-utils
```

For Debian/Ubuntu

```
[root@debian ~]# apt-get install snmp
```

Installation with Composer
--------------------------

[](#installation-with-composer)

```
$ composer require dcortez/snmp
```

Usage
-----

[](#usage)

Example php file.

```
// test-snmp.php
require 'vendor/autoload.php';

use dcortez\Snmp;

$snmp = new Snmp('127.0.0.1', 'public', '2c', '5'); // , , ,
print_r($snmp->get('.1.3.6.1.2.1.1.1.0'));
```

Test run php file.

```
$ php test-snmp.php
Array
(
    [.1.3.6.1.2.1.1.1.0] => Linux test.example.com
)
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~297 days

Total

4

Last Release

2947d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01b3132a16c130e6447075feffee0fc80b573ec4d03d884b804194744d8cf936?d=identicon)[dcortez](/maintainers/dcortez)

---

Top Contributors

[![dcortez](https://avatars.githubusercontent.com/u/332630?v=4)](https://github.com/dcortez "dcortez (5 commits)")[![jorgeslima](https://avatars.githubusercontent.com/u/8495352?v=4)](https://github.com/jorgeslima "jorgeslima (3 commits)")

### Embed Badge

![Health badge](/badges/dcortez-snmp/health.svg)

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

###  Alternatives

[smart-crowd/simple-sms-drivers

Addition providers for simple SMS laravel package

101.0k](/packages/smart-crowd-simple-sms-drivers)

PHPackages © 2026

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