PHP Classes

PHP Network Monitor: Monitor the statistics of network interfaces

Recommend this page to a friend!
  Info   View files Example   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 115 All time: 9,471 This week: 200Up
Version License PHP version Categories
php-network-monitor 1.0.0Custom (specified...5Networking, Unix, PHP 8


This package can monitor the statistics of network interfaces.

It can check the available network interfaces in the current computer running under a Linux-based operating system.

The package can also retrieve statistics about a given network interface using the vnstat program or checking system virtual files containing values of several types of statistics of the traffic that goes through the specified network interface, like the number of transmitted bytes.

Innovation Award
PHP Programming Innovation award nominee
June 2021
Number 6
Monitoring aspects of a server running on the Internet can be useful to diagnose problems that need to be fixed quickly to avoid causing damages to businesses that depend on that server.

This package implements a solution to monitor network connections on a given Linux server using the vnstat program or checking the system virtual files related with networking connections.

Manuel Lemos
Picture of Isa Eken
  Performance   Level  
Name: Isa Eken <contact>
Classes: 19 packages by
Country: Turkey Turkey
Age: 21
All time rank: 285746 in Turkey Turkey
Week rank: 86 Up2 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 12x


Network Monitor

Network monitoring application for ubuntu written in PHP.


  • PHP ^8.0
  • Linux based operating system (Tested on Ubuntu 20.04)
  • vnstat


git clone network-monitor &&
cd network-monitor

composer install

sudo apt-get install vnstat &&
sudo service vnstat enable &&
sudo service vnstat start


Using with CLI

composer run monitor <interface> <?refresh>
composer run monitor eth0
composer run monitor eth0 refresh

Using in web

Host public folder using web server. (Nginx recommended)

Host using PHP development server:

php -S public


The MIT License (MIT). Please see License File for more information.

  Files folder image Files  
File Role Description
Files folder imagebin (1 file)
Files folder imagepublic (1 file)
Files folder imagesrc (2 files)
Plain text file composer.json Data Auxiliary data
Plain text file Lic. License text
Plain text file Doc. Documentation

  Files folder image Files  /  bin  
File Role Description
  Plain text file monitor.php Example Example script

  Files folder image Files  /  public  
File Role Description
  Plain text file index.php Example Example script

  Files folder image Files  /  src  
File Role Description
  Plain text file NetworkInterface.php Class Class source
  Plain text file NetworkMonitor.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,471
This week:200Up