ping2me / php
Ping2me PHP client
v0.2.5
2023-12-24 07:29 UTC
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!');