PHPackages                             corbpie/networkspeed-json - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. corbpie/networkspeed-json

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

corbpie/networkspeed-json
=========================

A parser for network-speed.xyz which puts the speed test results and other information into formatted json data

v1.3(2y ago)05MITPHPPHP ^8.2

Since Nov 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cp6/speedtest-json)[ Packagist](https://packagist.org/packages/corbpie/networkspeed-json)[ RSS](/packages/corbpie-networkspeed-json/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Network Speed XYZ to Json
=========================

[](#network-speed-xyz-to-json)

A parser for Linux server network benchmarking script  to put the speed test results and other information into formatted json data.

Working for versions `2023.08.28` through to `2023.12.01`

Tested on the versions: `2023.08.28`, `2023.09.04`, `2023.09.22`, `2023.10.24`, `2023.11.13` and `2023.12.01`.

All you need is the filename from the URL. e.g `1699940146_TXQDAS_NA` is the filename from the URL below.

Install with:

`composer require corbpie/networkspeed-json`

Usage example:

```
require __DIR__ . '/vendor/autoload.php';

use Corbpie\NetworkSpeed;

$ns = new NetworkSpeed\NetworkSpeed("1700542086_ELGGKB_GLOBAL");

echo $ns->outputAsJson();
```

Example for [https://result.network-speed.xyz/r/1700542086\_ELGGKB\_GLOBAL.txt](https://result.network-speed.xyz/r/1700542086_ELGGKB_GLOBAL.txt)as JSON:

```
{
  "id": "ELGGKB",
  "filename": "1700542086_ELGGKB_GLOBAL",
  "version": "2023.11.13",
  "region": "GLOBAL",
  "system_time": "2023-11-21 04:57:48",
  "total_script_runs": 27570,
  "system": {
    "cpu": {
      "model": "Intel(R) Xeon(R) CPU E3-1270 v3",
      "base_freq": 3.5,
      "cores": 8,
      "freq": 2609.896
    },
    "ram": {
      "value": 31.3,
      "unit": "GB",
      "used_value": 1.1,
      "used_unit": "GB"
    },
    "swap": {
      "value": 2,
      "unit": "GB",
      "used_value": null,
      "used_unit": null
    },
    "disk": {
      "value": 438.1,
      "unit": "GB",
      "used_value": 14.8,
      "used_unit": "GB"
    },
    "uptime_minutes": 114913,
    "load": "0.69, 0.22, 0.13",
    "os": "Ubuntu 20.04.6 LTS",
    "arch": "x86_64 (64 Bit)",
    "kernel": "5.4.0-159-generic",
    "aes": true,
    "vmx": true,
    "virtualization": "NONE"
  },
  "network": {
    "primary_network": "IPv4",
    "ipv6_access": false,
    "ipv4_access": true,
    "isp": "Shock Hosting LLC",
    "asn": "AS395092 Shock Hosting LLC",
    "host": "Shock",
    "location": "Sydney, New South Wales-NSW, Australia"
  },
  "number_of_results": 25,
  "results": [
    {
      "location": "Nearest",
      "latency_ms": 0.15,
      "loss": 0,
      "dl_value": 943.03,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 941.35,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "TasmaNet Pty Ltd - Sydney"
    },
    {
      "location": "Kochi, IN",
      "latency_ms": 185.34,
      "loss": 0,
      "dl_value": 593.18,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 591.29,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Asianet Broadband - Cochin"
    },
    {
      "location": "Bangalore, IN",
      "latency_ms": 129.17,
      "loss": 0,
      "dl_value": 824.23,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 519.72,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Bharti Airtel Ltd - Bangalore"
    },
    {
      "location": "Chennai, IN",
      "latency_ms": 128.23,
      "loss": 0,
      "dl_value": 864.27,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 639.1,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Jio - Chennai"
    },
    {
      "location": "Mumbai, IN",
      "latency_ms": 195.87,
      "loss": 0,
      "dl_value": 774.75,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 338.06,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "i3D.net - Mumbai"
    },
    {
      "location": "Delhi, IN",
      "latency_ms": 217.19,
      "loss": 0,
      "dl_value": 473.76,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 203.84,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Tata Teleservices Ltd - New Delhi"
    },
    {
      "location": "Seattle, US",
      "latency_ms": 145.75,
      "loss": 0,
      "dl_value": 683.53,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 625.41,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Comcast - Seattle, WA"
    },
    {
      "location": "Los Angeles, US",
      "latency_ms": 208.24,
      "loss": 5.2,
      "dl_value": 661.21,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 2.01,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "ReliableSite Hosting - Los Angeles, CA"
    },
    {
      "location": "Dallas, US",
      "latency_ms": 205.07,
      "loss": 0,
      "dl_value": 692.69,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 451.04,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Hivelocity - Dallas, TX"
    },
    {
      "location": "Miami, US",
      "latency_ms": 218.8,
      "loss": 0,
      "dl_value": 593.67,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 408.41,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "AT&T - Miami, FL"
    },
    {
      "location": "New York, US",
      "latency_ms": 270.14,
      "loss": 0,
      "dl_value": 864.73,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 334.81,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "GSL Networks - New York, NY"
    },
    {
      "location": "Toronto, CA",
      "latency_ms": 202.64,
      "loss": 0,
      "dl_value": 497.2,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 436.42,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Rogers - Toronto, ON"
    },
    {
      "location": "London, UK",
      "latency_ms": 260.81,
      "loss": 5,
      "dl_value": 843.43,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 1.1,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "VeloxServ Communications - London"
    },
    {
      "location": "Amsterdam, NL",
      "latency_ms": 279.18,
      "loss": 0,
      "dl_value": 826.78,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 306,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "31173 Services AB - Amsterdam"
    },
    {
      "location": "Paris, FR",
      "latency_ms": 294.24,
      "loss": 0,
      "dl_value": 816.66,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 49.26,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Axione - Paris"
    },
    {
      "location": "Frankfurt, DE",
      "latency_ms": 289.2,
      "loss": 0,
      "dl_value": 476.1,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 320.7,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "23M GmbH - Frankfurt am Main"
    },
    {
      "location": "Warsaw, PL",
      "latency_ms": 320.96,
      "loss": 0,
      "dl_value": 535.33,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 279.37,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "UPC Polska - Warszawa"
    },
    {
      "location": "Bucharest, RO",
      "latency_ms": 288.54,
      "loss": 5,
      "dl_value": 575.83,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 1.17,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Vodafone Romania Fixed \u2013 Bucharest - Bucharest"
    },
    {
      "location": "Jeddah, SA",
      "latency_ms": 189.12,
      "loss": 5.3,
      "dl_value": 893.14,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 1.94,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "Saudi Telecom Company"
    },
    {
      "location": "Dubai, AE",
      "latency_ms": 292.23,
      "loss": 0,
      "dl_value": 536.04,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 313.8,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "du - Dubai"
    },
    {
      "location": "Fujairah, AE",
      "latency_ms": 261.86,
      "loss": 5,
      "dl_value": 799.68,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 1.35,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "ETISALAT-UAE - Fujairah"
    },
    {
      "location": "Tokyo, JP",
      "latency_ms": 98.64,
      "loss": 0,
      "dl_value": 731.21,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 859.7,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "fdcservers.net - Tokyo"
    },
    {
      "location": "Hong Kong, CN",
      "latency_ms": 120.89,
      "loss": 0,
      "dl_value": 751.26,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 1.81,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "STC - Hong Kong"
    },
    {
      "location": "Singapore, SG",
      "latency_ms": 92.91,
      "loss": 0,
      "dl_value": 919.14,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 876.48,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "i3D.net - Singapore"
    },
    {
      "location": "Jakarta, ID",
      "latency_ms": 109.26,
      "loss": 5,
      "dl_value": 805.07,
      "dl_unit": "Mbps",
      "dl_gbps": null,
      "up_value": 3.1,
      "up_unit": "Mbps",
      "up_gbps": null,
      "server": "PT. Telekomunikasi Indonesia - Jakarta"
    }
  ],
  "stats": {
    "avg_dl_value": 710.24,
    "avg_dl_unit": "Mbps",
    "avg_up_value": 326.5,
    "avg_up_unit": "Mbps",
    "total_dl_value": 26.44,
    "total_dl_unit": "GB",
    "total_up_value": 11.44,
    "total_up_unit": "GB",
    "total_data_value": 37.88,
    "total_data_unit": "GB",
    "duration": "00:14:47"
  },
  "parsed_at": "2023-11-27 12:08:25"
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~4 days

Total

4

Last Release

904d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d10a4771b8a6b05a8892e38d902bd35e3f05b0009b58360edf158cda1b1c221b?d=identicon)[corbpie](/maintainers/corbpie)

---

Top Contributors

[![cp6](https://avatars.githubusercontent.com/u/9095402?v=4)](https://github.com/cp6 "cp6 (31 commits)")

---

Tags

benchmarkingjsonnetwork-speedparserphp

### Embed Badge

![Health badge](/badges/corbpie-networkspeed-json/health.svg)

```
[![Health](https://phpackages.com/badges/corbpie-networkspeed-json/health.svg)](https://phpackages.com/packages/corbpie-networkspeed-json)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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