LaravelPackages.net
Acme Inc.
Toggle sidebar
kubill/emay-for-laravel

emay SMS for laravel5.*

19
0
1.0.1
About kubill/emay-for-laravel

kubill/emay-for-laravel is a Laravel package for emay sms for laravel5.*. It currently has 0 GitHub stars and 19 downloads on Packagist (latest version 1.0.1). Install it with composer require kubill/emay-for-laravel. Discover more Laravel packages by kubill or browse all Laravel packages to compare alternatives.

Last updated

EmaySMS

亿美短信接口轮子

Installation

Install using composer:

composer require kubill/emay-for-laravel

Laravel version < 5.5 (optional)

Add the service provider in config/app.php:

Kubill\Emay\EmayServiceProvider::class,

And add the Agent alias to config/app.php:

'Emay' => Kubill\Emay\Facades\Emay::class,

Basic Usage

Start by creating an Emay instance (or use the Emay Facade if you are using Laravel):

use Kubill\Emay\Emay;

$emay = new Emay();
$emay->send(138xxxxxxxx,'hello world');

OR

use Kubill\Emay\Emay;
Emay::send(138xxxxxxxx,'hello world');

License

Laravel User Agent is licensed under The MIT License (MIT).

Comments