PHP code example of ping2me / php

1. Go to this page and download the library: Download ping2me/php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ping2me / php example snippets


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