承接 kuantiko/ci4-dummy-mailer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

kuantiko/ci4-dummy-mailer

Composer 安装命令:

composer require kuantiko/ci4-dummy-mailer

包简介

Provides a dummy protocol to the Email library for development — simulates sending without delivering

README 文档

README

Provides a dummy protocol to CodeIgniter 4's Email library for development — simulates sending without delivering any email.

Installation

composer require --dev kuantiko/ci4-dummy-mailer

CI4 4.4+ auto-discovers the package via Composer PSR-4. No manual registration needed.

Usage

Set the protocol in your .env file:

email.protocol = dummy

Any call to service('email')->send() will return true without sending. Useful for local development and CI pipelines where outgoing email must be suppressed.

How it works

  • DummyMailer extends CodeIgniter\Email\Email — full CI4 Email API is available
  • Overrides send() to return true immediately
  • A Services.php override routes protocol=dummy to DummyMailer via CI4's service factory
  • Activate per environment via .env — no code changes needed

Requirements

  • PHP 8.2+
  • CodeIgniter 4.4+

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固