1. Go to this page and download the library: Download notific/notific-php-sdk 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/ */
notific / notific-php-sdk example snippets
$notific = new Notific\PhpSdk\Notific(APP_ID, API_TOKEN);
$notification->update([
'title' => 'Boom!'
'body' => 'This is the updated body of the notification.'
]);
$notification->delete();
$notific->recipients();
$notific->createRecipient([
'id' => '123', // Unique identifier for the user. You can use integers, hashes or what ever suites you best.
'name' => 'Kung Fury',
'email' => '[email protected]'
'phone' => '+358 40 123 456' // You can add meta information to recipient as key => value pairs.
]);