ping2me/php

Ping2me PHP client

v0.2.5 2023-12-24 07:29 UTC

This package is auto-updated.

Last update: 2024-11-17 09:00:58 UTC


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!');