PHPackages                             adedaramola/laravel-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. adedaramola/laravel-termii

ActiveLibrary

adedaramola/laravel-termii
==========================

A Laravel Package to work with Termii API

v0.0.4(2y ago)011Apache-2.0PHPPHP ^8.1

Since Oct 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Adedaramola/laravel-termii)[ Packagist](https://packagist.org/packages/adedaramola/laravel-termii)[ Docs](https://github.com/adedaramola/laravel-termii)[ RSS](/packages/adedaramola-laravel-termii/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

Laravel Termii
==============

[](#laravel-termii)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e829ad53da7c7c5391036bfc6c8fced4a48bb4ae1e2c950fad5aab74b4c5884b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616465646172616d6f6c612f6c61726176656c2d7465726d69692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adedaramola/laravel-termii)[![Total Downloads](https://camo.githubusercontent.com/dc510686093ad02a4c4a130bd9cbef21df3a3332a775886f1a8dd645beb609e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616465646172616d6f6c612f6c61726176656c2d7465726d69692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adedaramola/laravel-termii)

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

[](#installation)

You can install the package via composer:

```
composer require adedaramola/laravel-termii
```

You can publish the config file with:

```
php artisan vendor:publish --tag="termii-config"
```

Set up
------

[](#set-up)

To start using this package, you need to add environment variables for:

- `TERMII_URL` - Optional, not really needed as this has a default
- `TERMII_API_KEY` - You can get this from your [Termii dashboard](https://accounts.termii.com).

The package will pick these up in its configuration and use these when it resolves an instance of the `TermiiClient`.

Usage
-----

[](#usage)

This package can be used by injecting the `Adedaramola\Termii\Http\TermiiClient` into a method to instantiate the client:

```
