- Notifications
You must be signed in to change notification settings - Fork0
Get instant LIVE pings.
NotificationsYou must be signed in to change notification settings
pingmelive/php.lib
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a library which helps you to get LIVE notifications of actions taking place on your websites and applications.Just Copy past the below codes and get live updates of errors and actions. Make Categories of pings based on projects (etc) and assign it to your team mates.That's what PingMeLive does.Easy right!.
https://pingmelive.comand get yourAPI KEY
.
Include pingMeLive Library
Note
Its Extra light(<3KB).
<?phprequire_once("pingMeLive.lib.php");$pingmelive =newpingMeLive("apiKey","projectID","errorStatus(true/false)","errorName");?>
...and you are done!
You can also use pingMeLive for sending custom events.
<?php//To trigger Simple Event, Just call the below function.$pingMeLive->simpleEvent("groupTitle","eventMessage");?>
If you want to send some detailed long description you can useDetailed event
<?php//To trigger Detailed Event, Just call the below function.$pingMeLive->detailedEvent("groupTitle","eventMessage","detailDescription");?>
- apiKey : To get an
API KEY
, register on pingmelive.com. Its free to use. - projectID : Once registered, Click on New Project to create.
- errorStatus :
true
/false
(Boolen Value). - errorName : This will be your
Group Title/Name
where all the error will be pinged.(This works whenerrorStatus
is set astrue
. - groupTitle : This will be your
Group Tilte/Name
under which , you will get all your pings. - eventMessage : The
errorMessage
is limited to 360 character in length. Any additional characters beyond 360 character will be truncated. - detailDescription : The
detailDescription
is does not have any length limitation. You can also send JSON Formatted String / or simple plain string.
- If you only want error pings, Just include the
pingMeLive library
and andIntialize
it. - You can smartly use
groupTitle
for creating uniques group for your pings.