PHPackages                             marcotroisi/pingphp - 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. marcotroisi/pingphp

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

marcotroisi/pingphp
===================

18PHP

Since Aug 6Pushed 12y ago1 watchersCompare

[ Source](https://github.com/marcotroisi/pingphp)[ Packagist](https://packagist.org/packages/marcotroisi/pingphp)[ RSS](/packages/marcotroisi-pingphp/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PingPHP
=======

[](#pingphp)

A simple class that checks if a web application is up.

Usage
-----

[](#usage)

### Get the script

[](#get-the-script)

Get the script via one of the following routes:

**Route #1: Download the source here on GitHub**

Option #1: Download the [zip](https://github.com/marcotroisi/pingphp/archive/master.zip)

Option #2: Clone it (`git clone https://github.com/marcotroisi/pingphp.git`)

**Route #2: Get it from Composer**

Create a composer.json file in your root folder with this text:

```
{
  "require": {
    "marcotroisi/pingphp": "dev-master"
  }
}

```

Download [Composer](http://www.getcomposer.org) by running this in your Command Line: `curl -s http://getcomposer.org/installer | php`

Install the dependencies in your composer.json by running: `php composer.phar install`

### Then...

[](#then)

- Include in your project the class Ping.php
- Pratical usage of the class is in demo.php

Issues
------

[](#issues)

Should you need any help, please write to hello AT marcotroisi DOT com.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/429760?v=4)[Marco Troisi](/maintainers/marcotroisi)[@marcotroisi](https://github.com/marcotroisi)

---

Top Contributors

[![marcotroisi](https://avatars.githubusercontent.com/u/429760?v=4)](https://github.com/marcotroisi "marcotroisi (9 commits)")[![dubbleup](https://avatars.githubusercontent.com/u/5479317?v=4)](https://github.com/dubbleup "dubbleup (6 commits)")

### Embed Badge

![Health badge](/badges/marcotroisi-pingphp/health.svg)

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

###  Alternatives

[fresns/fresns

Cross-platform general-purpose multiple content forms social network service software.

4841.5k](/packages/fresns-fresns)

PHPackages © 2026

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