定制 ramnzys/filament-email-log 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ramnzys/filament-email-log

最新稳定版本:0.2.2

Composer 安装命令:

composer require ramnzys/filament-email-log

包简介

This package provides a Filament resource to view all Laravel outgoing emails.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package provides a Filament resource to view all Laravel outgoing emails. It also provides a Model for the database stored emails.

Installation

You can install the package via composer:

composer require ramnzys/filament-email-log

You can publish and run the migrations with:

php artisan vendor:publish --tag="filament-email-log-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="filament-email-log-config"

This is the contents of the published config file:

return [

    'resource' => [
        'group' => null,
        'sort' => null,
    ],

    'keep_email_for_days' => 90,

];

Usage

This package will automatically register the EmailResource. You will be able to see it when you visit your Filament admin panel.

Customization

Group and sort order. You can customize the navigation group for the EmailResource by publishing the configuration file and updating the resource.group and resource.sort values.

Prunable model. You can customize how many days to keep the email in the database by updating the keep_email_for_days value. Then you can use or schedule the command artisan model:prune --model="Ramnzys\FilamentEmailLog\Models\Email". This will delete emails older than keep_email_for_days days old.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Contributions are welcome. Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 52
  • Watchers: 4
  • Forks: 18
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-17