mansoor/slick-mail 问题修复 & 功能扩展

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

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

mansoor/slick-mail

最新稳定版本:v1.0.1

Composer 安装命令:

composer require mansoor/slick-mail

包简介

Slick mail template/theme for Laravel (with dark-mode 😎)

README 文档

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Slick Mail is a simple and minimal mail theme / template for Laravel applications. It provides a fresh look, dark mode support and configuration options to set primary color and logo without publishing the views.

Installation

You can install the package via composer:

composer require mansoorkhan/slick-mail

Configuration

Once you have installed the package, you will need to instruct Laravel to load the mail views from Slick Mail. You can do so by adding following configuration to config/mail.php file.

'markdown' => [
    'paths' => [
        __DIR__.'/../vendor/mansoor/slick-mail/resources/views',
    ],
]

That's it! You should be able to see a new theme in your emails.

The package provides a configuration file which allows you to change the primary color and the mail logo. You can publish the config file using:

php artisan vendor:publish --tag="slick-mail-config"

Customization

You may customize the Slick Mail components and the theme CSS file. It is very similar to how you would do it for the default Laravel mail. You will need to publish the slick mail views and apply your changes.

You can publish the views using

php artisan vendor:publish --tag="slick-mail-views"

Make sure to update the config/mail.php to point to the newly published views.

'markdown' => [
    'paths' => [
        resource_path('views/vendor/slick-mail'),
    ],
]

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-09