larablocks/emailsms
最新稳定版本:5.5.0
Composer 安装命令:
composer require larablocks/emailsms
包简介
Send free sms messages from an email account
关键字:
README 文档
README
EmailSMS
EmailSMS is a simple package that facilitates sending free text messages from email accounts. Simply pass an object that binds to the interface (EmailSMSInterface) to send a text message to the phone number specified in the object
Installation
Add larablocks/emailsms as a requirement to composer.json:
{ "require": { "larablocks/emailsms": "5.0.*" } }
Note: All Larablocks packages will have versions in line with the laravel framework.
Update your packages with composer update or install with composer install.
Laravel Integration
To wire this up in your Laravel project you need to add the service provider. Open app.php, and add a new item to the providers array.
'Larablocks\EmailSMS\EmailSMSServiceProvider',
Then, add a Facade for more convenient usage. In your app.php config file add the following line to the aliases array.
Note: The EmailSMS facade will load automatically, so you don't have to add it to the app.php file but you may still want to keep record of the alias.
'EmailSMS' => 'Larablocks\EmailSMS\EmailSMS',
Usage as a Facade to send a text message
####Send Message:
EmailSMS::send($objectThatImplements_EmailSMSInterface);
License
EmailSMS is open-sourced software licensed under the MIT license
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-13