ikechukwukalu/dynamicmailconfig 问题修复 & 功能扩展

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

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

ikechukwukalu/dynamicmailconfig

最新稳定版本:v3.0.0

Composer 安装命令:

composer require ikechukwukalu/dynamicmailconfig

包简介

A laravel package that enables each user to send emails through your platform, using their own unique email configuration

README 文档

README

Latest Version on Packagist Quality Score Code Quality Known Vulnerabilities Github Workflow Status Total Downloads Licence

A laravel package that enables each user to send emails through your app using their own unique email configuration.

REQUIREMENTS

  • PHP 8.0+
  • Laravel 9+

STEPS TO INSTALL

composer require ikechukwukalu/dynamicmailconfig
  • php artisan vendor:publish --tag=dmc-migrations
  • php artisan migrate

Hash Database Fields

MAIL_FIELDS_HASH=true

How To Use

use Illuminate\Support\Facades\Route;


Route::middleware(['dynamic.mail.config'])->group(function () {
    Route::post('/', [\namespace\SomethingController::class, 'functionName']);
});

Route::post('/', [\namespace\SomethingController::class, 'functionName'])->middleware('dynamic.mail.config');

Model

use Ikechukwukalu\Dynamicmailconfig\Models\UserEmailConfiguration;

protected $hidden = [
    'name',
    'address',
    'driver',
    'host',
    'port',
    'encryption',
    'username',
    'password'
];

NOTE

The default mail configuration will be used if a user does not have a custom mail configuration in place.

PUBLISH CONFIG

  • php artisan vendor:publish --tag=dmc-config

LICENSE

The DMC package is an open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-16