nelisys / ping
PHP Class for fping command
1.0.0
2015-10-24 13:49 UTC
This package is auto-updated.
Last update: 2025-01-11 22:57:25 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
)