Download the PHP package smsfactor/smsfactor-laravel without Composer
On this page you can find all versions of the php package smsfactor/smsfactor-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smsfactor/smsfactor-laravel
More information about smsfactor/smsfactor-laravel
Files in smsfactor/smsfactor-laravel
Package smsfactor-laravel
Short Description Laravel package for SMSFactor API
License MIT
Informations about the package smsfactor-laravel
SMS API Package for Laravel
The Laravel Service Provider that allows you to use SMSFactor PHP Client library.
In order to use it, make sure to have an account. You can register here. Once your account is created, you need to generate your first API token. You can find the complete documentation of our API here.
Installation
We recommend using Composer to install the PHP client library to your project.
composer require smsfactor/smsfactor-laravel
Laravel 5.5+
If you're using Laravel 5.5 or above, the package will automatically register the provider and facades.
Laravel 5.4 and below
Add to the providers array in your :
If you want to use the a facade interface, you can any of them depending on your need:
Or add any alias in your :
Configuration
You can use to copy the distribution configuration file to your app's config directory:
Then update with your token.
Usage
To use the SMSFactor Client Library you can use the facades, or request an instance from the service container:
or
All versions of smsfactor-laravel with dependencies
guzzlehttp/guzzle Version ^7.0.1
smsfactor/smsfactor-php-sdk Version ^1.0.2