ping2me/php

Ping2me PHP 客户端

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

This package is auto-updated.

Last update: 2024-09-24 09:11:22 UTC


README

安装

composer require ping2me/php

使用

设置

// Set up your endpoint once at the beginning of your application 
// before sending any messages.
Ping2me\Php\Ping::$endpoint = '@daudau/debug'

使用类样式

use Ping2me\Php\Ping;

Ping::make()->send('New user Bob registered!');

使用函数样式

ping('New user Bob registered!');