Download the PHP package yeboahnanaosei/fayasms without Composer
On this page you can find all versions of the php package yeboahnanaosei/fayasms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yeboahnanaosei/fayasms
More information about yeboahnanaosei/fayasms
Files in yeboahnanaosei/fayasms
Package fayasms
Short Description FayaSMS provides an easy way to communicate with the FayaSMS API
License MIT
Homepage https://github.com/yeboahnanaosei/fayasms
Informations about the package fayasms
FayaSMS is a library that provides a simple interface to the FayaSMS
This library allows you to interact with the FayaSMS API seamlessly in your PHP application. The API from FayaSMS exposes endpoints that allow you to do several things like:
- Sending SMS (single or bulk)
- Checking your balance
- Get an estimate on how much an sms will cost
- Request a sender ID
- Get a list of all your sender IDs
- Retrieve messages (a single message or all your sent messages)
This library allows you to perform all the above mentioned actions . Lets take them one by one
NB: Please note that you need to have a registered app with FayaSMS in order to use their API. Head over to their website to create your account and register an app.
-
Contents
- Installation
- Usage:
- Sending single message
- Sending bulk messages
- Getting an estimate
- Retrieving all messages
- Retrieving single message
- Checking your balance
- Retrieving your sender IDs
- Requesting a new sender ID
- Contributing
Installation:
Easily installable via composer. Just run this command in your terminal at the root of your project. Visit Composer to see how to use and install composer on your machine.
Back to top
Usage:
Sending single message:
(To send a single message all you need is your appKey, appSecret and senderID. Of course you need a recipient and a message)
Back to top
Sending bulk messages:
(Sending bulk message is no different from sending a single message, you just need to provide multiple phone numbers)
Back to top
Getting an estimate:
(You can get an estimate on how many units it will cost you to send a message)
Back to top
Retrieving messages:
(FayaSMS allows you to retrieve all the messages you've sent. All you need is your appKey and appSecret. No sender id required)
Back to top
Retrieving single message:
(You are able to retrieve a single message. All you need is your appKey, appSecret and a message id. To get the id of the message you want, you will have to sift through all your sent messages for the id)
Back to top
Checking your balance:
(You can check your unit balance from FayaSMS to determine the number of messages you can send)
Back to top
Retrieving your sender IDs:
(You can retrieve all the sender IDs you have registered with your appKey and appSecret)
Back to top
Requesting a new sender ID:
(You can request a new sender ID using your appKey and appSecret)
Please note that the sender ID you request is subject to approval
Back to top
Contributing
Suggestions and improvements are welcome.
All versions of fayasms with dependencies
ext-curl Version *