1. Go to this page and download the library: Download preflow/notify 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/ */
preflow / notify example snippets
use Preflow\Notify\Email;
use Preflow\Notify\Notifier;
use Preflow\Notify\Sms;
$notifier->send(new Email(to: '[email protected]', subject: 'Hi', text: 'Hello there'));
$notifier->send(new Sms(to: '+41790000000', text: 'Your code: 4711'));