PHP code example of akk7300 / pushy
1. Go to this page and download the library: Download akk7300/pushy 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/ */
akk7300 / pushy example snippets
use Akk7300\Pushy\Facade\Pushy;
Pushy::withTitle('Testing')
->withBody('Testing message')
->withData(['message' => 'This is an message field'])
->sendTo(['pushy-token']);