PHP code example of abdallahmohammed / alsaad-notification-channel
1. Go to this page and download the library: Download abdallahmohammed/alsaad-notification-channel 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/ */
abdallahmohammed / alsaad-notification-channel example snippets
/**
* Get the SMS representation of the notification.
*
* @param mixed $notifiable
* @return AlsaadMessage
*/
public function toAlsaad($notifiable)
{
return (new AlsaadMessage)
->content('Hello World');
}