PHPackages                             vipsoft/network-interfaces - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. vipsoft/network-interfaces

ActiveLibrary[HTTP &amp; Networking](/categories/http)

vipsoft/network-interfaces
==========================

net\_get\_interfaces class wrapper

1.0.0(2y ago)018MITPHPPHP &gt;=5.3.6

Since Dec 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vipsoft/network-interfaces)[ Packagist](https://packagist.org/packages/vipsoft/network-interfaces)[ Docs](http://github.com/vipsoft/)[ RSS](/packages/vipsoft-network-interfaces/feed)WikiDiscussions master Synced 1mo ago

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

VIPSoft\\NetworkInterfaces
==========================

[](#vipsoftnetworkinterfaces)

A class wrapper to get network interfaces. Provides a shim (using `ifconfig`) for `net_get_interfaces` (added in PHP 7.3).

Features
--------

[](#features)

- Simple to use!

    ```
    use VIPSoft\NetworkInterfaces;

    $netif = new NetworkInterfaces;

    // gets the host name
    $host = $netif->getHostAddr();

    // get network interfaces
    $interfaces = $netif->getNetworkInterfaces();
    ```

Copyright
---------

[](#copyright)

Copyright (c) 2023 Anthon Pang. See LICENSE for details.

Contributors
------------

[](#contributors)

- Anthon Pang [robocoder](http://github.com/robocoder)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

898d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdee67d29c3391bdda34f2255b1bb2200f23295c57de075cd93c50e3822ee7b5?d=identicon)[vipsoft](/maintainers/vipsoft)

---

Top Contributors

[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (2 commits)")

---

Tags

interfacesnetworkifconfignet\_get\_interfaces

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vipsoft-network-interfaces/health.svg)

```
[![Health](https://phpackages.com/badges/vipsoft-network-interfaces/health.svg)](https://phpackages.com/packages/vipsoft-network-interfaces)
```

###  Alternatives

[symfony/http-client-contracts

Generic abstractions related to HTTP clients

2.0k402.7M267](/packages/symfony-http-client-contracts)

PHPackages © 2026

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