weew / helpers-network
Collection of helper functions for network interactions.
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/weew/helpers-network
Requires (Dev)
- phpunit/phpunit: ^4.7
- satooshi/php-coveralls: ^0.6.1
This package is not auto-updated.
Last update: 2025-10-08 04:14:49 UTC
README
Table of contents
Installation
composer require weew/helpers-network
Introduction
This tiny library provides various helper functions for network interaction.
Functions
ping
Ping a host, returns latency if the host could be reached, otherwise returns false
. Note: works ony on Linux
and OS X
.
int|bool ping(string $host, [, int $timeout = 1 [, $ttl = 255]])