Registry / networking / geerlingguy-ping

geerlingguy-ping

JSON →
library1.2.1phppackagistunverified

A PHP class to ping hosts using ICMP or TCP.

composer require geerlingguy/ping
INSTALL
IMPORT
SIG · GEERLINGGUY-PING
G
geerlingguy-ping
networkingphpv1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ping
✓ use Geerlingguy\Ping\Ping;

Ping a remote host and get latency.

use Geerlingguy\Ping\Ping; $ping = new Ping('example.com'); $latency = $ping->ping(); echo $latency;
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Bingbot
1
OpenAI (training)
1
Resources
geerlingguy-ping — pip install geerlingguy-ping · libregistry