ping2me / php
Ping2me PHP client
Installs: 113
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ping2me/php
Requires
- ext-curl: *
- ext-json: *
README
Installation
composer require ping2me/php
Usage
Setup
// Set up your endpoint once at the beginning of your application // before sending any messages. Ping2me\Php\Ping::$endpoint = '@daudau/debug'
Use class style
use Ping2me\Php\Ping; Ping::make()->send('New user Bob registered!');
Use function style
ping('New user Bob registered!');