nelisys / ping
PHP Class for fping command
Installs: 1 058
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 2
Open Issues: 0
pkg:composer/nelisys/ping
This package is auto-updated.
Last update: 2025-10-12 00:36:11 UTC
README
PHP Class for fping command
Requirements
Requires: fping
For RedHat/CentOS 6, 7
[root@centos ~]# yum install epel-release [root@centos ~]# yum install fping
Installation with Composer
$ composer require nelisys/ping
Usage
Example php file.
// test-ping.php require 'vendor/autoload.php'; use Nelisys\Ping; $host = new Ping('127.0.0.1'); var_dump($host->ping());
Test run php file.
$ php test-ping.php
Array
(
[127.0.0.1] => 0.14
)