PHPackages                             josegonzalez/cakephp-mail-preview - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. josegonzalez/cakephp-mail-preview

AbandonedArchivedCakephp-plugin[Mail &amp; Notifications](/categories/mail)

josegonzalez/cakephp-mail-preview
=================================

CakePHP plugin for use with previewing emails during development

0.0.1(9y ago)126.6k↓50%2MITPHPPHP &gt;=5.5

Since Dec 21Pushed 7y ago2 watchersCompare

[ Source](https://github.com/josegonzalez/cakephp-mail-preview)[ Packagist](https://packagist.org/packages/josegonzalez/cakephp-mail-preview)[ Docs](https://github.com/josegonzalez/cakephp-mail-preview)[ RSS](/packages/josegonzalez-cakephp-mail-preview/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/9b2d653c9d98df52995d3e2b83e0c1ee611775d41da0c2955cb63a1fc14ae950/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6f7365676f6e7a616c657a2f63616b657068702d6d61696c2d707265766965772f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/josegonzalez/cakephp-mail-preview)[![Coverage Status](https://camo.githubusercontent.com/c459b9aca37fa2ea538660fd99c9d74ab361283b10a9d28f61a2c11988cbca04/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6a6f7365676f6e7a616c657a2f63616b657068702d6d61696c2d707265766965772e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/josegonzalez/cakephp-mail-preview?branch=master)[![Total Downloads](https://camo.githubusercontent.com/c087184356dbce2a816b2d77fa5e2d08f9ded9ac5d1b0704e13419839218a43e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f7365676f6e7a616c657a2f63616b657068702d6d61696c2d707265766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/josegonzalez/cakephp-mail-preview)[![Latest Stable Version](https://camo.githubusercontent.com/f93b57bee139f6af0dc8b7cd5de5a86a02b279fa4396722414facef96ab25276/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f7365676f6e7a616c657a2f63616b657068702d6d61696c2d707265766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/josegonzalez/cakephp-mail-preview)[![Documentation Status](https://camo.githubusercontent.com/7c7cf7aa5181f18c416876813562f37c5df94c48a9104df0290655cfe58a7f46/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f63616b657068702d6d61696c2d707265766965772f62616467652f3f76657273696f6e3d6c6174657374267374796c653d666c61742d737175617265)](https://readthedocs.org/projects/cakephp-mail-preview/?badge=latest)[![Gratipay](https://camo.githubusercontent.com/40a48c7b3fc02e9d39dd715fe09e404c4cb2e89288c6ace0773d2aab6913b46f/68747470733a2f2f696d672e736869656c64732e696f2f67726174697061792f6a6f7365676f6e7a616c657a2e7376673f7374796c653d666c61742d737175617265)](https://gratipay.com/~josegonzalez/)

MailPreview Plugin
==================

[](#mailpreview-plugin)

This is Deprecated in favor of functionality built into [DebugKit](https://book.cakephp.org/3.0/en/debug-kit.html)
==================================================================================================================

[](#this-is-deprecated-in-favor-of-functionality-built-into-debugkit)

A simple CakePHP plugin for use with previewing emails during development.

This plugin was inspired by the Rails 4.1 feature, Action Mailer Previews, as well as the 37signals `mail_view` gem.

Alternatives to this plugin include any of the following:

- [CatchMe](https://github.com/Pentiado/catch-me): A nodejs app to catch, display and validate emails
- [MailCatcher](https://mailcatcher.me/): A super simple SMTP server which catches any message sent to it to display in a web interface.
- [MailHog](https://github.com/mailhog/MailHog): A Web and API based SMTP testing service.
- [MailTrap](https://mailtrap.io/): An email testing service

This plugin is *specifically* meant to bring Rapid Application Development to email development by enabling developers to simply update a template and reload the browser. Developers are encouraged to use other tools as their needs change.

Requirements
------------

[](#requirements)

- CakePHP 3.x
- PHP 5.5+

Features
--------

[](#features)

- preview HTML or plain text emails from within your web browser
- emails are reloaded with each view so you can tweak/save/refresh for instant verification
- integrates perfectly with existing test fixtures
- only exposes routes in development mode to prevent leaking into production mode

Documentation
-------------

[](#documentation)

For documentation, please see [the docs](http://cakephp-mail-preview.readthedocs.org/en/latest/).

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2016 Jose Diaz-Gonzalez

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3426d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f38b500117ee9754ea7a4c56b800c8151ca0605b1715a3b2ff054aae504f7393?d=identicon)[josegonzalez](/maintainers/josegonzalez)

---

Top Contributors

[![josegonzalez](https://avatars.githubusercontent.com/u/65675?v=4)](https://github.com/josegonzalez "josegonzalez (43 commits)")

---

Tags

mailemailcakephppreview

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/josegonzalez-cakephp-mail-preview/health.svg)

```
[![Health](https://phpackages.com/badges/josegonzalez-cakephp-mail-preview/health.svg)](https://phpackages.com/packages/josegonzalez-cakephp-mail-preview)
```

###  Alternatives

[zbateson/mail-mime-parser

MIME email message parser

53949.2M79](/packages/zbateson-mail-mime-parser)[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[lorenzo/cakephp-email-queue

Queue, preview and and send emails stored in the database

57121.5k1](/packages/lorenzo-cakephp-email-queue)[opcodesio/mail-parser

Parse emails without the mailparse extension

216.8M8](/packages/opcodesio-mail-parser)[narendravaghela/cakephp-mailgun

Mailgun plugin for CakePHP - Send emails using Mailgun API

23356.6k](/packages/narendravaghela-cakephp-mailgun)[gourmet/email

Gourmet Email Plugin for rapid CakePHP application development.

175.2k](/packages/gourmet-email)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
