New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ibonly/laravel-etextemail

A laravel app that is built on etextmail api
28 1

Larablocks Analysis

ibonly/laravel-etextemail works with Laravel 5 (latest release 1.0.3, Aug 25, 2016), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Aug 25, 2016)
  • 0 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Aug 25, 2016.
  • No releases in the last 12 months.
  • First released: Jul 26, 2016.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.

Install
composer require ibonly/laravel-etextemail
Latest Version:1.0.3
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Sep 26, 2017
Links: GitHub  ·  Packagist
Maintainer: andela-iadeniyi

Build Status Coverage Status Scrutinizer Code Quality Code Climate

#Laravel-EtextMail Laravel-etextmail is built on etextmail api (http://etextmail.com) 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

$ vendor/bin/phpunit test

Contributing

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

Credits

Laravel-etextmail is created and maintained by Ibraheem ADENIYI.

Alternatives to ibonly/laravel-etextemail

unicodeveloper/laravel-paystack

A Laravel Package for Paystack

1,250,701 649
kingflamez/laravelrave

A Laravel Package for Flutterwave Rave

368,129 152
victorybiz/geoip-location

Get the geographical location of website visitors based on their IP addresses. S...

183,870 21
goodway/laravel-nats

Nats jetstream queue driver with client for Laravel

9,821 37
infinitypaul/laravel-database-filter

Need to filter database results with a query string? Here's a beautiful, easy to...

50,082 26

Version History

Version Released PHP Laravel License
1.0.3 >=5.5.9 5.2.* MIT
1.0.2 >=5.5.9 5.2.* MIT
v1.0.1 >=5.5.9 5.2.* MIT
v1.0.0 >=5.5.9 5.2.* MIT