PHPackages                             gios-asu/waggle-email-maker - 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. gios-asu/waggle-email-maker

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

gios-asu/waggle-email-maker
===========================

PHP email utilities for creating email safe HTML

0.0.1(10y ago)201MITPHP

Since Oct 30Pushed 10y ago3 watchersCompare

[ Source](https://github.com/gios-asu/waggle-email-maker)[ Packagist](https://packagist.org/packages/gios-asu/waggle-email-maker)[ RSS](/packages/gios-asu-waggle-email-maker/feed)WikiDiscussions develop Synced today

READMEChangelog (1)Dependencies (9)Versions (5)Used By (0)

Waggle Email Maker
==================

[](#waggle-email-maker)

[![Build Status](https://camo.githubusercontent.com/52ad4e6a0bdb4343fa9f4725a3bd5035042e512375c2a936e2cca003ec97162c/68747470733a2f2f7472617669732d63692e6f72672f67696f732d6173752f776167676c652d656d61696c2d6d616b65722e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/gios-asu/waggle-email-maker?branch=develop)[![Coverage Status](https://camo.githubusercontent.com/8f89542d8934e3485ba14fa8a3b5e75391bd99103b0749a4cfedb8515e81bce6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f67696f732d6173752f776167676c652d656d61696c2d6d616b65722f62616467652e7376673f6272616e63683d646576656c6f7026736572766963653d676974687562)](https://coveralls.io/github/gios-asu/waggle-email-maker?branch=develop)[![Code Climate](https://camo.githubusercontent.com/e29ded53fe2f96853d12a6337bfa821ee3aa6a18e5312e10040a528d7b9736c1/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f67696f732d6173752f776167676c652d656d61696c2d6d616b65722f6261646765732f6770612e737667)](https://codeclimate.com/github/gios-asu/waggle-email-maker)

PHP email utilities for creating email safe HTML

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

[](#documentation)

### Installation

[](#installation)

```
composer require gios-asu/waggle-email-maker

```

### Email Handlebars Factory

[](#email-handlebars-factory)

Basic usage:

```
use Waggle\Factories\EmailHandlebarsFactory;

$factory = new EmailHandlebarsFactory();
$factory->set_data( array( 'title' => 'My Awesome Email' ) );
$factory->set_css( 'h1 { font-size: 20px }' );
$factory->set_handlebars( '{{title}}' );
echo $factory->build();
```

The constructor for `EmailHandlebarsFactory` allows for dependency injection, which you can use to pass in your own `scss`, `Handlebars`, or `Emogrifier`objects:

```
use Waggle\Factories\EmailHandlebarsFactory;
use Handlebars\Handlebars;

$handlebars = new Handlebars(
    array(
      'loader' => new \Handlebars\Loader\FilesystemLoader( '/var/www/html/email-templates' ),
    )
);

$factory = new EmailHandlebarsFactory( null, $handlebars );
$factory->set_data( array( 'title' => 'My Awesome Email' ) );
$factory->set_css( 'h1 { font-size: 20px }' );
$factory->set_handlebars( 'my-email.handlebars' );
echo $factory->build();
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

3900d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4863a2fa66fea9bbe58c3eecdcc1a108c4059fe6bb6a0cc5e498be9496470da4?d=identicon)[idmontie](/maintainers/idmontie)

---

Top Contributors

[![idmontie](https://avatars.githubusercontent.com/u/412382?v=4)](https://github.com/idmontie "idmontie (28 commits)")

---

Tags

emailscsshandlebarsemorgify

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/gios-asu-waggle-email-maker/health.svg)

```
[![Health](https://phpackages.com/badges/gios-asu-waggle-email-maker/health.svg)](https://phpackages.com/packages/gios-asu-waggle-email-maker)
```

###  Alternatives

[egulias/email-validator

A library for validating emails against several RFCs

11.7k734.8M443](/packages/egulias-email-validator)[sendgrid/sendgrid

This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.

1.6k50.9M190](/packages/sendgrid-sendgrid)[pelago/emogrifier

Converts CSS styles into inline style attributes in your HTML code

94746.7M138](/packages/pelago-emogrifier)[zbateson/mail-mime-parser

MIME email message parser

54753.3M90](/packages/zbateson-mail-mime-parser)[snowfire/beautymail

Send beautiful html emails with Laravel

1.3k752.6k2](/packages/snowfire-beautymail)[soundasleep/html2text

A PHP script to convert HTML into a plain text format

48021.2M91](/packages/soundasleep-html2text)

PHPackages © 2026

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