PHP code example of ping2me / laravel
1. Go to this page and download the library: Download ping2me/laravel 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 / laravel example snippets
// other services
'ping2me' => [
'endpoint' => env('PING2ME_ENDPOINT'),
],
\Ping2Me\Laravel\Facades\Ping::send('Hello world!');
// or
ping('Hello world!');