jeremykenedy/laravel-email-database-log 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

jeremykenedy/laravel-email-database-log

最新稳定版本:v12.0.0

Composer 安装命令:

composer require jeremykenedy/laravel-email-database-log

包简介

A database logger for all outgoing emails sent by your Laravel application.

README 文档

README

A database logger for all outgoing emails sent by your Laravel application.

Total Downloads StyleCI License: MIT Become a Patreon

Table of contents

Requirements

Installation Instructions

  1. From your projects root folder in terminal run:

        composer require jeremykenedy/laravel-email-database-log
  2. Register the package

  • Laravel 5.5 and up Uses package auto discovery feature, no need to edit the config/app.php file.

  • Laravel 5.4 and below Register the package with laravel in config/app.php under providers with the following:

    'providers' => [
        // ...
        jeremykenedy\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider::class,
    ];
  1. Publish the packages migration files by running the following from your projects root folder:
php artisan vendor:publish --tag=laravel-email-database-log-migration
  1. From your projects root folder in terminal run the migration:
php artisan migrate

Usage

After installation, any email sent by your application will be logged to email_log table in the site's database.

File Tree

laravel-email-database-log
├── .all-contributorsrc
├── .github
│   └── workflows
│       └── master.yml
├── .gitignore
├── .styleci.yml
├── LICENSE.md
├── README.md
├── composer.json
├── composer.lock
├── phpunit.xml
└── src
    ├── Database
    │   └── Migrations
    │       └── 2023_02_26_001638_create_email_log.php
    ├── EmailLogger.php
    ├── LaravelEmailDatabaseLogEventServiceProvider.php
    └── LaravelEmailDatabaseLogServiceProvider.php
  • Tree command can be installed using brew: brew install tree
  • File tree generated using command tree -a -I '.git|node_modules|vendor|storage|tests'

License

Laravel Email Database Log is licensed under the MIT license. Enjoy!

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-27