fahedaljghine / laravel-exception-mail
该包允许您指定发送所有Laravel应用中发生的异常的电子邮件地址。
1.0.3
2022-06-24 15:52 UTC
Requires
- php: ^8.0
- illuminate/support: ^8.71|^9.0
Requires (Dev)
- orchestra/testbench: ^6.23|^7.0
- phpunit/phpunit: ^9.4
README
该包允许您指定发送所有Laravel应用中发生的异常的电子邮件地址。
联系我
您可以通过检查我的网站来查看我的所有信息。
安装
您可以通过composer安装该包
composer require fahedaljghine/laravel-exception-mail
该包将自动注册自己。
您必须使用以下命令发布配置
php artisan vendor:publish --provider="Fahedaljghine\ExceptionMail\ExceptionMailServiceProvider" --tag="config"
此文件的内容将在config/exception-mail.php
中发布
return [ /* * enable or disable the package */ 'enabled' => true, /* * Add email addresses you want them to receive the exception */ 'addresses' => [ //'developer1@companydomain.com', //'developer2@companydomain.com', ], ];
如果您想更改电子邮件模板,可以使用以下命令发布blade电子邮件模板
php artisan vendor:publish --provider="Fahedaljghine\ExceptionMail\ExceptionMailServiceProvider" --tag="blade"
blade模板将在resources/views/emails/exception-mail.blade.php
中发布
变更日志
请参阅CHANGELOG以获取更多最近更改的信息。
贡献
欢迎您做出贡献
Dontae
致谢
许可证
MIT许可证(MIT)。请参阅许可证文件以获取更多信息。