PHPackages                             robinmglsk/data-merge-php - 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. robinmglsk/data-merge-php

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

robinmglsk/data-merge-php
=========================

Personalize your strings

1.0.1(6y ago)0190[1 issues](https://github.com/RobinMglsk/DataMergePHP/issues)MITPHPPHP &gt;=7.0

Since Nov 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/RobinMglsk/DataMergePHP)[ Packagist](https://packagist.org/packages/robinmglsk/data-merge-php)[ RSS](/packages/robinmglsk-data-merge-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (41)Used By (0)

DataMergePHP - Personalize your strings
=======================================

[](#datamergephp----personalize-your-strings)

Great for giving you users an easy way to personalize there mails / text messages with tags. More features then `str_ireplace`.

Usages
------

[](#usages)

Tag options
-----------

[](#tag-options)

- `{{ tag }}` - default tag
- `{{ ucwords(tag) }}` - Change first character of every word to uppercase
- `{{ ucfirst(tag) }}` - Change first character of string to uppercase
- `{{ strtolower(tag) }}` - Convert string to lowercase
- `{{ strtoupper(tag) }}` - Convert string to uppercase
- `{{ date( tag, format )}}` - Convert timestamp to string, for format you can use

You can use `||` inside your tag to define a default value. Example: `{{ tag || client }}` If the value of tag is empty client wil be used.

Examples
--------

[](#examples)

Check out our exampels in the example folder.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 81% 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

Every ~29 days

Total

2

Last Release

2352d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a9e19ad03ecadd6e32415cb5ef18eda13de732cb1a07f60858cb3bea8d1fde9?d=identicon)[RobinMglsk](/maintainers/RobinMglsk)

---

Top Contributors

[![RobinMglsk](https://avatars.githubusercontent.com/u/3244505?v=4)](https://github.com/RobinMglsk "RobinMglsk (17 commits)")[![snyk-bot](https://avatars.githubusercontent.com/u/19733683?v=4)](https://github.com/snyk-bot "snyk-bot (4 commits)")

### Embed Badge

![Health badge](/badges/robinmglsk-data-merge-php/health.svg)

```
[![Health](https://phpackages.com/badges/robinmglsk-data-merge-php/health.svg)](https://phpackages.com/packages/robinmglsk-data-merge-php)
```

###  Alternatives

[typo3/cms-rte-ckeditor

TYPO3 CMS RTE CKEditor - Integration of CKEditor as a Rich Text Editor for the TYPO3 backend.

198.7M157](/packages/typo3-cms-rte-ckeditor)[nathancox/minify

Minifies CSS requirements using Minify (http://code.google.com/p/minify/)

28143.4k1](/packages/nathancox-minify)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)

PHPackages © 2026

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