tkeer/mailbase
最新稳定版本:v2.0.1
Composer 安装命令:
composer require tkeer/mailbase
包简介
Catch laravel emails for local development
README 文档
README
This package include a new mailbase driver which will catch all the sent emails and save it to the database.
It then exposes a route /mailbase which you can visit to preview all the mails.
Installation
Laravel 7.x or higher
To install run the following command in your terminal:
composer require tkeer/mailbase --dev
Then run the migration
php artisan migrate
Finally, change MAIL_MAILER to mailbase in your .env file:
MAIL_MAILER=mailbase
Laravel (5.x|6.x)
composer require tkeer/mailbase ^0.4 --dev
php artisan migrate
change MAIL_DRIVER to mailbase in your .env file:
Usage
Send dummy email
You can run following command to test mailbase driver by sending a dummy email.
php artisan mailbase:test
Clearing Saved Emails
If you want to clear any of the saved emails that are in the database, use the following command:
php artisan mailbase:clear
统计信息
- 总下载量: 13.22k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 107
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-14
