PHPackages                             phizzl/networktools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phizzl/networktools

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

phizzl/networktools
===================

v1(9y ago)2341PHP

Since May 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/phizzl/php-networktools)[ Packagist](https://packagist.org/packages/phizzl/networktools)[ RSS](/packages/phizzl-networktools/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

PHP network tools
=================

[](#php-network-tools)

A simple set of tools to perform network actions

- HTTP(S) keyword check
- Ping check
- TCP port check

HTTP(S) keyword check
---------------------

[](#https-keyword-check)

```
use Phizzl\NetworkTools\Http\HttpHeader;
use Phizzl\NetworkTools\Http\HttpRequest;

$header = new HttpHeader();
$header->set('X-Awesome', 'Foo');
$http = new HttpRequest();
$http->setHost("https://www.google.com");
$http->setHeader($header);
$response = $http->send();
$contents = $response->getBody()->getContents();

echo "www.google.com responded with status code {$response->getStatusCode()}\n";
```

Ping check
----------

[](#ping-check)

Note that the ping check makes use of the OS ping command. The command won't work with any other output as english (see geerlingguy/ping).

```
use Phizzl\NetworkTools\Ping\Ping;

$ping = new Ping("127.0.0.1");
$latency = $ping->ping();

echo "Latency {$latency}s for 127.0.0.1\n";
```

TCP port check
--------------

[](#tcp-port-check)

```
use Phizzl\NetworkTools\Tcp\Tcp;

$port = 22;
$tcp = new Tcp();
$tcp->setHost("github.com");
$tcp->setPort($port);

if($tcp->send()){
    echo "Githubs port $port is open\n";
}
else{
    echo "Githubs port $port is closed\n";
}
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity63

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3343d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c97e3bef66ef0074ad9f0fe89d74a6bec22b2940cf11f4cb41707e15c316589?d=identicon)[phizzl](/maintainers/phizzl)

### Embed Badge

![Health badge](/badges/phizzl-networktools/health.svg)

```
[![Health](https://phpackages.com/badges/phizzl-networktools/health.svg)](https://phpackages.com/packages/phizzl-networktools)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
