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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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:

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.




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

PHP Build Version
Package Version
Requires php Version ^7.0
ext-curl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yeboahnanaosei/fayasms contains the following files

Loading the files please wait ....