mailzeet/mailzeet-laravel
Composer 安装命令:
composer require mailzeet/mailzeet-laravel
包简介
This is simple PHP Package for Laravel to interact with MailZeet API.
README 文档
README
MailZeet Laravel SDK
Website · Contact · Documentation
Requirements
Laravel 9 and later. PHP Requirements: PHP 8.1 and later. (Not tested on PHP 8.0, but it should work)
For PHP 7.4 and 8.0 or Laravel 8 and below , please use the mailzeet-php package.
Installation
You can install the package via composer:
composer require mailzeet/mailzeet-laravel
Configuration
After you've installed the package via composer, you can run this command:
php artisan mailzeet:install
This command will:
- Publish a
mailzeet.phpfile in your config directory - Append your
.envfile with theMONEROO_PUBLIC_KEYandMONEROO_SECRET_KEYvariables if they don't already exist.
You will have to replace 'your-public-key' and 'your-secret-key' with your actual MailZeet public key and secret key respectively.
MONEROO_PUBLIC_KEY=your-public-key MONEROO_SECRET_KEY=your-secret-key
Please keep in mind that these are sensitive keys and should not be publicly exposed. Laravel .env file is ignored by Git, which makes it a good place to store sensitive information.
Documentation
See the Laravel SDK documentation.
Development
1- Perform the tests
composer test
2- Format and analyze your code before commit and push.
composer format # Format your code with the required code style composer unused # check if there is an unused dependency composer analyze # Analyze your code with phpstan
DEV Mode
You can set (or add) mailzeet.devMode to true in your config/mailzeet.php file to enable the dev mode.
After enabling the dev mode, you can set mailzeet.devBaseUrl to customize the base URL of the MailZeet API you want to use.
In dev mode, the SDK will use the mailzeet.devBaseUrl instead of the default base URL https://api.mailzeet.com.
Notes
- The project is based on the KISS principle.
- Each time you make a change, you must run the tests and format your code.
- Each time you make a change, you must update the documentation.
- Each time you make a change, you must update the changelog.
- Each time you make a change, you must add test cases.
- Each time you make a change, you must update the version number.
- Each time you make a change, you must update the API documentation.
- Each time you make a change, you must update the README.md file.
Security Vulnerabilities
If you discover a security vulnerability within MailZeet Laravel SDK, please send an e-mail to MailZeet Security via hello@mailzeet.com. All security vulnerabilities will be promptly addressed.
License
The MailZeet Laravel SDK is open-sourced software licensed under the MIT license.
mailzeet/mailzeet-laravel 适用场景与选型建议
mailzeet/mailzeet-laravel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5.56k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 10 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「mail」 「AxaZara」 「mailzeet」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 mailzeet/mailzeet-laravel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mailzeet/mailzeet-laravel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 mailzeet/mailzeet-laravel 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This official Laravel Package for Laravel to interact with Moneroo API.
This is simple PHP Package for Laravel to interact with MailBluster API.
This is simple PHP Package to interact with MailZeet.
Courier offers a convenient and painless solution for creating emails tailored for your Kirby website.
This is simple PHP Package to interact with Moneroo API.
Mail libraries used by Zimbra Api
统计信息
- 总下载量: 5.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-23