Download the PHP package iyngaran/sms-gateway without Composer

On this page you can find all versions of the php package iyngaran/sms-gateway. 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 sms-gateway

Laravel SMS gateway

Latest Stable Version Total Downloads Latest Unstable Version License

It is a Laravel package which will serve as gateway to send SMS through various providers. It supports multiple sms gateways, and easily extendable to support new gateways.

INSTALLING

composer require iyngaran/sms-gateway

After install follow one of these steps:

1) Run the command php artisan vendor:publish to publish the extension. It will also copy the sms_gateway.php into the config folder of your laravel application.

2) If the sms_gateway.php file does not exists in your application config folder, just copy the entire file and place into your config/ folder.

Then add your NEXMO_API_KEY,NEXMO_API_SECRET and NEXMO_SMS_FROM Key. To get your API Key, please visit

USAGE

Nexmo

Nexmo provides innovative communication SMS and Voice APIs that enable applications and enterprises to easily connect to their customers.

Website : www.nexmo.com

Developer Documentation: developer.nexmo.com

To send sms using Nexmo API, you need to get the API KEY and API SECRET from Nexmo.

When initially subscribing to Nexmo 2 EUR free test credit is granted for testing your application.

Nexmo Configuration

Open the config file config/sms_gateway.php and add your API KEY and API SECRET to the following section of the configuration file.

Sending SMS - Nexmo

Use the following code to send SMS.

Twilio

Twilio allows software developers to programmatically make and receive phone calls, send and receive text messages, and perform other communication functions using its web service APIs.

Website : twilio.com

Developer Documentation: Twilio API

To send sms using Twilio API, you need to get the SID and TOKEN from Twilio.

When initially subscribing to Twilio $15.50 free test credit is granted for testing your application.

Twilio Configuration

Open the config file config/sms_gateway.php and add your SID and TOKEN to the following section of the configuration file.

Sending SMS - Twilio

Use the following code to send SMS.

MessageBird

MessageBird is a powerful communication APIs and technical resources to help you build your communication solution.

Website : messagebird.com

Developer Documentation: developers.messagebird.com

To send sms using MessageBird API, you need to get the API KEY from MessageBird.

When initially subscribing to MessageBird 10 free SMS credit is granted for testing your application on live.

MessageBird Configuration

Open the config file config/sms_gateway.php and add your API_KEY to the following section of the configuration file.

Sending SMS - MessageBird

Use the following code to send SMS.

Dialog (Sri Lanka)

Dialog Axiata PLC has hence combined its innovativeness and technical superiority to bring out a solution that will enable you to tap into this opportunity by introducing Dialog Bulk SMS Solution which will enable you to communicate by SMS to a mass list of customers/staff through an easy to use web portal that can also be accessed from any location.

Website : dialog.lk

To send sms using Dialog SMS API, you need to get the API KEY from Dialog.

Dialog Configuration

Open the config file config/sms_gateway.php and add your API_KEY to the following section of the configuration file.

Sending SMS - Dialog

Use the following code to send SMS.

CONTRIBUTING

You can contribute with this module suggesting improvements, making tests and reporting bugs. Use issues for that.

ERRORS

Report errors opening Issues.


All versions of sms-gateway with dependencies

PHP Build Version
Package Version
Requires nexmo/client Version dev-master
twilio/sdk Version ^5.29
messagebird/php-rest-api Version ^1.13
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 iyngaran/sms-gateway contains the following files

Loading the files please wait ....