PHPackages                             ibonly/laravel-etextemail - 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. [API Development](/categories/api)
4. /
5. ibonly/laravel-etextemail

ActiveLibrary[API Development](/categories/api)

ibonly/laravel-etextemail
=========================

A laravel app that is built on etextmail api

1.0.3(9y ago)128MITPHPPHP &gt;=5.5.9

Since Jul 26Pushed 8y ago2 watchersCompare

[ Source](https://github.com/andela-iadeniyi/laravel-etextmail)[ Packagist](https://packagist.org/packages/ibonly/laravel-etextemail)[ RSS](/packages/ibonly-laravel-etextemail/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (7)Versions (8)Used By (0)

[![Build Status](https://camo.githubusercontent.com/e32434130522d345ad89fb03062f4d3f3cc77291f87fe87b2f4f936274febd12/68747470733a2f2f7472617669732d63692e6f72672f616e64656c612d696164656e6979692f6c61726176656c2d65746578746d61696c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/andela-iadeniyi/laravel-etextmail)[![Coverage Status](https://camo.githubusercontent.com/1ecca86e058da98e53279bd54bba1f161167b09432764e52fd9dbae07b7ac8f0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f616e64656c612d696164656e6979692f6c61726176656c2d65746578746d61696c2f62616467652e737667)](https://coveralls.io/github/andela-iadeniyi/laravel-etextmail)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f50a26db4e743fd61674472dd92b3b4225ed2d65af83ed9d5d5b1949a384f5e9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616e64656c612d696164656e6979692f6c61726176656c2d65746578746d61696c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/andela-iadeniyi/laravel-etextmail/?branch=master)[![Code Climate](https://camo.githubusercontent.com/c9008c2bf9101bea3668235032d1f9d3661f8c677e13dd74cfd950136dac8809/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f616e64656c612d696164656e6979692f6c61726176656c2d65746578746d61696c2f6261646765732f6770612e737667)](https://codeclimate.com/github/andela-iadeniyi/laravel-etextmail)

\#Laravel-EtextMail Laravel-etextmail is built on etextmail api () which is an SMS gateway to send sms messages to cell phones on GSM and CDMA networks, Glo, MTN, Zain, Etisalat, Starcomms, Visafone in Nigeria and Globally.

To get the latest version of laravel-etextmail, simply

```
composer require ibonly\laravel-etextmail
```

Or include

```
"ibonly/laravel-etextmail: 1.0.*"
```

to your composer.json file and run `composer update` or `composer install`

Once Laravel EtextMail is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

```
 Ibonly\EtextMail\EtextMailServiceProvider::class,
```

Also, register the Facade like so:

```
'aliases' => [
    ...
    'EtextMail' => Ibonly\EtextMail\Facades\EtextMail::class,
    ...
]
```

\#configuration (step 1) Publish configuration file using the command bellow:

```
php artisan vendor:publish --provider="Ibonly\EtextMail\EtextMailServiceProvider"
```

A file `etextmail.php` containing default configuration settings will be added to `config/` directory.

```
return [
    'senderid' => getenv('ETEXTMAIL_SENDER'),

    'username' => getenv('ETEXTMAIL_EMAIL'),

    'password' => getenv('EXTEXTMAIL_PASSWORD'),

    'url'      => getenv('ETEXTMAIL_URL'),
];
```

\##configuration (step 2) Open your .env file and add your `SMS Sender Id`, `etextmail email`, `etextmail password` and `etextmail url`:

```
ETEXTMAIL_SENDER=xxxxx
ETEXTMAIL_EMAIL=xxxxx
EXTEXTMAIL_PASSWORD=xxxxx
ETEXTMAIL_URL=http://mail.etextmail.com
```

Note that resellers are to use their own url.

\##usage

```
use EtextMail;

class SMS
{
	/**
	 * @return float
	 */
	public function getSMSBalance()
	{
		dd(EtextMail::getCreditBalance())
	}

	/**
	 * @param  $message [the message to be processed]
	 * @return int
	 */
	public function	messageCount($message)
	{
		dd(EtextMail::getMessageCount($message));
	}

	/**
	 * @param  $message [the message to be processed]
	 * @return int
	 */
	public function characterCount($message)
	{
		dd(EtextMail::getCharacterCount($message));
	}

	/**
	 * @param  $destination [reciever's mobile number]
	 * @param  message      [the message to be processed]
	 * @return boolean
	 */
	public function sendSMS($destination, $message)
	{
		dd(EtextMail::sendMessage($destination, $message));
	}

	/**
	 * @param  $destination [reciever's mobile number]
	 * @param  $message     [the message to be processed]
	 * @param  $longSMS     [number of pages]
	 * @return boolean
	 */
	public function sendLongSMS($destination, $message, $longSMS)
	{
		dd(EtextMail::sendMessage($destination, $message, $longSMS))
	}

}
```

Testing
-------

[](#testing)

```
$ vendor/bin/phpunit test

```

Contributing
------------

[](#contributing)

To contribute and extend the scope of this package, Please check out [CONTRIBUTING](CONTRIBUTING.md) file for detailed contribution guidelines. Feel free to raise any issue or concern.

Credits
-------

[](#credits)

Laravel-etextmail is created and maintained by `Ibraheem ADENIYI`.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 91.5% 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.

###  Release Activity

Cadence

Every ~15 days

Total

5

Last Release

3514d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.5.9

v1.0.0.x-devPHP &gt;=5.6.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/4028d0b1999062969f9d9784052f850751f879e3a8d5adcfe0e7933025db6612?d=identicon)[andela-iadeniyi](/maintainers/andela-iadeniyi)

---

Top Contributors

[![ibonly](https://avatars.githubusercontent.com/u/7251019?v=4)](https://github.com/ibonly "ibonly (54 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (5 commits)")

---

Tags

phplaravelsmsgithubNigeriatelephoneopen-sourceafricaibonlyextextmaillaravel-extextmail

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ibonly-laravel-etextemail/health.svg)

```
[![Health](https://phpackages.com/badges/ibonly-laravel-etextemail/health.svg)](https://phpackages.com/packages/ibonly-laravel-etextemail)
```

###  Alternatives

[prismaticoder/maker-checker-laravel

A package for simplifying the integration of a maker-checker approval process to your Laravel application.

232.7k](/packages/prismaticoder-maker-checker-laravel)

PHPackages © 2026

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