marcotroisi / pingphp
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/marcotroisi/pingphp
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-11-03 20:34:49 UTC
README
A simple class that checks if a web application is up.
Usage
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
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 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...
- Include in your project the class Ping.php
- Pratical usage of the class is in demo.php
Issues
Should you need any help, please write to hello AT marcotroisi DOT com.