1. Go to this page and download the library: Download kineticamobile/lubichannel 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/ */
use Illuminate\Notifications\Notification;
use Kineticamobile\Ubicual\UbicualMessage;
class AccountApproved extends Notification
{
public function via($notifiable)
{
return ["ubicual"];
}
public function toUbicual($notifiable)
{
return (new UbicualMessage)->content("Your account was approved!");
}
}
public function routeNotificationForUbicual()
{
return $this->phone_number;
}