Laravel 5 package for Ebulksms (Nigerian bulk sms platform)

in #utopian-io7 years ago (edited)

Details

Laravel Ebulksms is a Laravel 5 package to help sending sms' from your application a breeze. Ebulksms is a Nigerian company that provides mass sms service. This package works around their json api to help developers easily send sms' with very minimal configuration and also with a very intuitive api. The api looks like this;

$ebulk->composeMessage('Hello Utopian!')
                ->addRecipients('070********')
                ->send();

If you want to send a flash message instead, try

$ebulk->composeMessage('Hello Utopian!')
                ->addRecipients('070********')
                ->flash();

What if you want to set a sender name for your sms? just do this;

$ebulk->fromSender('Utopian Bot')
                ->composeMessage('Hello Utopian!')
                ->addRecipients('070********')
                ->send();

Please Note: The sender name can not be longer than 11 characters.

If you want to check your SMS Credit Balance, we have a convenience method

$ebulk->getBalance();
Examples
  • Create a route endpoint from your routes.php file
    Screenshot from 2018-01-13 01-17-24.png

  • Simply inject the therealsmat\Ebulksms\EbulkSMS class into your method and use as seen in the image below;
    Screenshot from 2018-01-13 01-17-12.png

You must have an Ebulksms account before using this package. Check the github readme for more information of how to create a free ebulksms account.
Also, you will need to generate an api key before using this package.

Check the github readme for more usage information.

Github Link:
https://github.com/therealSMAT/laravel-ebulksms

Components

Not Applicable to this post. The entire package was built by me

Related issues

Not Applicable

Sort:  

Thank you for the contribution. It has been approved.

  • Please use proper markdown for showing code samples instead of screenshots.
  • You uploaded the whole project to GitHub in one single commit. This makes it hard to evaluate the history of the project and the actual work that has been done. It's also not the way Git/GitHub are intended to be used and it can put you in suspicion of using old project. Please be careful about it in future contributions.
  • Sync your Utopian profile with Github so that its easy to verify your projects.

You can contact us on Discord.
[utopian-moderator]

Hey @therealsmat I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 64689.90
ETH 3450.92
USDT 1.00
SBD 2.50