PHPackages                             adedaramola/termii-notification-channel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. adedaramola/termii-notification-channel

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

adedaramola/termii-notification-channel
=======================================

Termii Notification Channel for Laravel

1.0.0(3mo ago)00MITPHPPHP ^8.4

Since Mar 15Pushed 3mo agoCompare

[ Source](https://github.com/oxiginedev/termii-notification-channel)[ Packagist](https://packagist.org/packages/adedaramola/termii-notification-channel)[ Docs](https://github.com/oxiginedev/termii-notification-channel)[ RSS](/packages/adedaramola-termii-notification-channel/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Laravel Termii Notification Channel
===================================

[](#laravel-termii-notification-channel)

Contents
--------

[](#contents)

- [Installation](#installation)
- [Configuration](#configuration)
- [SMS Channel](#sms-channel)
- [Whatsapp Channel](#whatsapp-channel)
- [License](#license)

Installation
------------

[](#installation)

```
composer require adedaramola/termii-notification-channel
```

Configuration
-------------

[](#configuration)

Ensure you add the following key to your environment file

```
TERMII_URL=
TERMII_API_KEY=
TERMII_SENDER_ID=
```

SMS Channel
-----------

[](#sms-channel)

### Routing SMS Notifications

[](#routing-sms-notifications)

First, you need to define where the SMS notifications needs to be routed to. Define a `routeNotificationForTermiiSms` method on your notifiable entity. Ensure the phone number is internationally formatted (i.e, 2349001111222).

```
