marcotroisi / pingphp
There is no license information available for the latest version (dev-master) of this package.
dev-master
2013-08-06 16:34 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-06-16 18:48:56 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.