jdavidbakr / mail-throttler
服务提供商,用于向发送邮件中添加Swift ThrottlerPlugin。
1.0
2016-06-30 20:19 UTC
Requires
- php: ~5.5|~7.0
- illuminate/support: ~5.1
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2024-08-29 01:30:13 UTC
README
MailThrottler会将Swift_Plugins_ThrottlerPlugin注册,以防止发送过多的邮件。
安装
通过Composer
$ composer require jdavidbakr/mail-throttler
将以下内容添加到config/app.php中的providers数组中
jdavidbakr\MailTracker\MailThrottlerServiceProvider::class,
发布配置文件
$ php artisan vendor:publish
使用方法
在config/mail-throttler.php配置文件中设置适当的值
致谢
许可证
MIT许可证(MIT)。请参阅许可证文件以获取更多信息。