Download the PHP package orkhanahmadov/laravel-az-sms-sender without Composer

On this page you can find all versions of the php package orkhanahmadov/laravel-az-sms-sender. 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 laravel-az-sms-sender

Laravel SMS Sender for Azerbaijani SMS providers

SMS sender currently supports 2 providers:

Installation

Run Composer command:

Add this line to your provider list (app/config.app):

Add this line to your aliases list (app/config.app):

Lastly you need to add following lines to your .env file and fill their values:

If SMS_API_USE_DB is set to true the you need to migrate required tables to your database with artisan command:

Usage

To send SMS message anywhere in your app you can call:

To send bulk message to multiple numbers you need to give array of numbers to $number argument, like:

To send individual messages to different numbers you need to give array of numbers and messages to $number where key is number and value is message. Method will ignore $message argument so it can be skipped.

Config

You can dump config files to your root config directory with artisan command:

This command will create az-sms-sender folder inside your root config directory and dump all config files.

License

MIT

Todo


All versions of laravel-az-sms-sender with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
guzzlehttp/guzzle Version ^6.2
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 orkhanahmadov/laravel-az-sms-sender contains the following files

Loading the files please wait ....