PHPackages                             ecomail/chimpdrill - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ecomail/chimpdrill

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ecomail/chimpdrill
==================

Simple Mailchimp / Mandrill Merge Tags Parser

v1.3.0(8y ago)0823.1k↑17.6%2CC0-1.0PHPPHP &gt;= 5.3.2

Since Sep 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Ecomailcz/ChimpDrill)[ Packagist](https://packagist.org/packages/ecomail/chimpdrill)[ RSS](/packages/ecomail-chimpdrill/feed)WikiDiscussions master Synced 1mo ago

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

ChimpDrill - Merge Tag Parser
=============================

[](#chimpdrill---merge-tag-parser)

Installation
------------

[](#installation)

Download ChimpDrill by using [composer](https://getcomposer.org):

```
php composer.phar require ecomail/chimpdrill:dev-master
```

Or add the code below to your `composer.json`:

```
{
    "require": {
        "ecomail/chimpdrill": "dev-master"
    }
}
```

Usage
-----

[](#usage)

```
$chimpdrill = new \Ecomail\ChimpDrill\ChimpDrill($message, $placeholder);

var_dump((string) $chimpdrill);
// or
var_dump($chimpdrill->getParsed());
```

Example
-------

[](#example)

**Message:**

```
Hi *|NAME|*

    *|IF:CUSTOMER|*
        We want your money!
    *|ELSE:|*
        We wish you all the best.
    *|END:IF|*

    *|IF:INVOICE_COUNT == 0|*
        All invoices payed. You are the best!
    *|ELSEIF:INVOICE_COUNT  'John Doe',
    'CUSTOMER' => true,
    'INVOICE_COUNT' => 18,
    'WEATHER' => 'rainy',
    'MOVIE' => 'The last song'
)
```

**Result:**

```
Hi John Doe

    We want your money!

    Are you kidding?

    The current year is: 2014
    Current weather: RAINY
    Best movie ever: The Last Song

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~407 days

Total

4

Last Release

3031d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2815391?v=4)[Tlapi](/maintainers/Tlapi)[@Tlapi](https://github.com/Tlapi)

---

Top Contributors

[![ecomail-cz](https://avatars.githubusercontent.com/u/64891310?v=4)](https://github.com/ecomail-cz "ecomail-cz (9 commits)")[![Tlapi](https://avatars.githubusercontent.com/u/2815391?v=4)](https://github.com/Tlapi "Tlapi (9 commits)")[![michaelbranny](https://avatars.githubusercontent.com/u/70572056?v=4)](https://github.com/michaelbranny "michaelbranny (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ecomail-chimpdrill/health.svg)

```
[![Health](https://phpackages.com/badges/ecomail-chimpdrill/health.svg)](https://phpackages.com/packages/ecomail-chimpdrill)
```

PHPackages © 2026

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