Download the PHP package tooma/laravel-sms-api without Composer
On this page you can find all versions of the php package tooma/laravel-sms-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tooma/laravel-sms-api
More information about tooma/laravel-sms-api
Files in tooma/laravel-sms-api
Package laravel-sms-api
Short Description Send and receive SMS anywhere in the world using our web services
License MIT
Homepage http://www.tooma.co.ke
Informations about the package laravel-sms-api
Laravel-tooma
Send and receive SMS anywhere in the world using Tooma web services
Integrate TOOMA SMS API with Laravel
Laravel package to provide ntegration for TOOMA SMS service
Installation
Require this package with composer:
Once the package is added, add the ServiceProvider to the providers array in :
Once done, publish the config to your config folder using:
Configuration
Once the config file is published, open
Edit config
Edit default configuration such as
: Your API key provider by Tooma
: Default path to ssl certificate if using a different certificate from default one
: Default sender name defaults to TOOMA_SMS (in Kenya)
Usage
Retrive ApiKey
Once you get your API key, add it to the config file, please note you only run this function once, you can also get your API key by going to tooma.co.ke > settings > api
Sending Message
Sending SMS is as easy as just
Sending Bulk Messages
Sending multiple message
Retrive All Messages
Retrieve Message Status
Get account balancce
Getting balance just call balance as follows
Send Message from CSV files
You can also send message from a csv file as follows
Working with Message templates
You can also send message from a saved or new templat as follows
Schedule Message
You can send SMS at a later stage by enableing schedule, the shedule format follows the cron format
Support
Feel free to post your issues in the issues section.