yuyu-tech/mail-log
Composer 安装命令:
composer require yuyu-tech/mail-log
包简介
Laravel Package to log all outgoing email into database.
README 文档
README
A simple database logger for all outgoing emails sent by Laravel website.
Installation
Step 1: Composer
Laravel Email Database Log can be installed via composer by running this line in terminal:
composer require yuyu-tech/mail-log
Step 2: Configuration
You can skip this step if your version of Laravel is 5.5 or above. Otherwise, you have to add the following to your config/app.php in the providers array:
'providers' => [ // ... Yuyu\MailLog\Providers\MailLogServiceProvider::class, ],
Step 3: Publish vendor file
Now, run this in terminal:
php artisan vendor:publish --provider=Yuyu\MailLog\Providers\MailLogServiceProvider
Step 4: Migration
Now, run this in terminal:
php artisan migrate
Usage
After installation, any email sent by your website will be logged to email_log table in the site's database.
统计信息
- 总下载量: 127
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-26