承接 aw-studio/laravel-maillog 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aw-studio/laravel-maillog

Composer 安装命令:

composer require aw-studio/laravel-maillog

包简介

Automatically log information about all outgoing mail in your Laravel application.

README 文档

README

Automatically log information about all outgoing mail in your Laravel application

Setup

You can install the package via composer:

composer require aw-studio/laravel-maillog

Your application will now log outgoing email information to a maillog.log file in the storage/logs folder.

Configuration

Log to Database

Additionally, if you want to log your outgoing mails to your database, you may do so with the following steps:

Publishing the package configuration and database migrations

php artisan vendor:publish --provider="AwStudio\Maillog\MaillogServiceProvider"

Run the migrations

php artisan migrate

Update the channels config in config/maillog.php:

    'channels' => [
        // 'log',
        'database',
    ],

Sending Event

By default, this package is configured so that it only logs when mails have been sent. You can change the configuration so that sending is also logged. This generates very similar data records, but can be useful to be able to trace whether problems have occurred on the way and the dispatch has failed unexpectedly.

'logs' => [
    'sent',
    'sending',
],

统计信息

  • 总下载量: 2.05k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固