PHPackages                             wallacemyem/lara-termii - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wallacemyem/lara-termii

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wallacemyem/lara-termii
=======================

A Laravel Package for Termii - https://www.termii.com

00PHP

Since Mar 6Pushed 1y agoCompare

[ Source](https://github.com/wallacemyem/termii-laravel)[ Packagist](https://packagist.org/packages/wallacemyem/lara-termii)[ RSS](/packages/wallacemyem-lara-termii/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![](https://camo.githubusercontent.com/4e59320ae6bef0b9f9777595b317f2d39accf5a13d9d76cb9954e0b27ee8bd28/68747470733a2f2f7465726d69692e636f6d2f5f6e7578742f6c6f676f2e35636233333539632e737667 "Termii")](https://camo.githubusercontent.com/4e59320ae6bef0b9f9777595b317f2d39accf5a13d9d76cb9954e0b27ee8bd28/68747470733a2f2f7465726d69692e636f6d2f5f6e7578742f6c6f676f2e35636233333539632e737667)

Termii Laravel Package
----------------------

[](#termii-laravel-package)

Lara-Termii helps you Set up, test, and manage your Termii integration directly in your Laravel App.

[![Total Downloads](https://camo.githubusercontent.com/8c7236a6fc4377962ef66f045f7492d28d566c223a6d13634913525a3e4c4971/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f57616c6c6163656d79656d2f6c6172612d7465726d69692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Wallacemyem/lara-termii)

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

[](#installation)

You can install the package via composer:

```
composer require Wallacemyem/lara-termii
```

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

[](#configuration)

1. Add the service provider to `config/app.php` (Laravel will auto-discover it in most cases):

```
'providers' => [
    // ...
    Wallacemyem\LaraTermii\LaraTermiiServiceProvider::class,
],

'aliases' => [
    // ...
    'LaraTermii' => Wallacemyem\LaraTermii\Facades\LaraTermii::class,
],
```

2. Publish the configuration file:

```
php artisan vendor:publish --provider="Wallacemyem\LaraTermii\LaraTermiiServiceProvider"
```

3. Add your Termii API key to your `.env` file:

```
TERMII_API_KEY=your-api-key-here
```

Usage
-----

[](#usage)

You can use the facade or dependency injection:

```
// Using facade
use Wallacemyem\LaraTermii\Facades\LaraTermii;

LaraTermii::balance();

// Using dependency injection
use Wallacemyem\LaraTermii\LaraTermii;

public function someMethod(LaraTermii $termii)
{
    $balance = $termii->balance();
}
```

### Check your balance on Termii

[](#check-your-balance-on-termii)

- You can check your termii balance.
- Run `$termii->balance()`

### Reports for messages sent across the sms, voice &amp; whatsapp channels

[](#reports-for-messages-sent-across-the-sms-voice--whatsapp-channels)

- You can check reports for messages sent across the sms, voice &amp; whatsapp channels.
- Run `$termii->history()`

### Detect if a number is fake or has ported to a new network

[](#detect-if-a-number-is-fake-or-has-ported-to-a-new-network)

- You can check if a number is fake or has ported to a new network.
- Run `$termii->numberStatus($phone_number, $country_code)` and pass appropriate params

### Verify phone numbers and automatically detect their status

[](#verify-phone-numbers-and-automatically-detect-their-status)

- You can verify phone numbers and automatically detect their status.
- Run `$termii->searchNumber($phone_number)` and pass appropriate params

### Retrieve the status of all registered sender ID

[](#retrieve-the-status-of-all-registered-sender-id)

- You can retrieve the status of all registered sender IDs.
- Run `$termii->getSenderIds()`

### Request a new sender ID

[](#request-a-new-sender-id)

- You can request a new sender ID.
- Run `$termii->requestSenderId($sender_id, $usecase, $company)` and pass appropriate params

### Send Message

[](#send-message)

- You can a message.
- Run `$termii->sendMessage(int $to, string $from, string $sms, string $channel = "generic", bool $media = false, string $media_url = null, string $media_caption = null)` and pass appropriate params

### Send OTP

[](#send-otp)

- You can send OTP
- Run `$termii->sendOTP(int $to, string $from, string $message_type, int $pin_attempts, int $pin_time_to_live, int $pin_length, string $pin_placeholder, string $message_text, string $channel = "generic")` and pass appropriate params

### Send Voice OTP

[](#send-voice-otp)

- You can send OTP
- Run `$termii->sendVoiceOTP(int $to, int $pin_attempts, int $pin_time_to_live, int $pin_length)` and pass appropriate params

### Send Voice Call

[](#send-voice-call)

- You can send OTP
- Run `$termii->sendVoiceCall(int $to, int $code)` and pass appropriate params

### OTP Validation

[](#otp-validation)

- You can verify or validate OTP
- Run `$termii->verifyOTP(string $pinId, string $pin) ` pass appropriate params

### Send In-App OTP

[](#send-in-app-otp)

- You can send In-App OTP
- Run `$termii->sendInAppOTP(int $to, int $pin_attempts, int $pin_time_to_live, int $pin_length, string $pin_type)` and pass appropriate params

### Sotel eSIMs API

[](#sotel-esims-api)

- Coming soon

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker. This is a fork from  and I have added more fixes to make it work.

Credits
-------

[](#credits)

- [Wallace Aboiyar](https://github.com/Wallacemyem)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cbf2e4cfd63a6fd6d6ec7a503a022d46ad6b94ee11c329f93203cc855ba61cd?d=identicon)[wallacemyem](/maintainers/wallacemyem)

---

Top Contributors

[![zeevx](https://avatars.githubusercontent.com/u/44035730?v=4)](https://github.com/zeevx "zeevx (23 commits)")[![wallacemyem](https://avatars.githubusercontent.com/u/32508088?v=4)](https://github.com/wallacemyem "wallacemyem (10 commits)")[![drchibs](https://avatars.githubusercontent.com/u/66283877?v=4)](https://github.com/drchibs "drchibs (2 commits)")[![horlathunbhosun](https://avatars.githubusercontent.com/u/25985738?v=4)](https://github.com/horlathunbhosun "horlathunbhosun (2 commits)")

### Embed Badge

![Health badge](/badges/wallacemyem-lara-termii/health.svg)

```
[![Health](https://phpackages.com/badges/wallacemyem-lara-termii/health.svg)](https://phpackages.com/packages/wallacemyem-lara-termii)
```

###  Alternatives

[ohanzee/helpers

Collection of helpers, small static classes for general purpose use

552.5k1](/packages/ohanzee-helpers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
