PHPackages                             piedweb/tiny-maillist-builder - 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. piedweb/tiny-maillist-builder

Abandoned → [piedweb/tiny-maillist-builder](/?search=piedweb%2Ftiny-maillist-builder)Library[Mail &amp; Notifications](/categories/mail)

piedweb/tiny-maillist-builder
=============================

1.0.0(7y ago)12MITPHPPHP ~7.1

Since Mar 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/PiedWeb/TinyMailListBuilder)[ Packagist](https://packagist.org/packages/piedweb/tiny-maillist-builder)[ Docs](https://dev.piedweb.com)[ RSS](/packages/piedweb-tiny-maillist-builder/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

[![Open Source Package](https://raw.githubusercontent.com/PiedWeb/piedweb-devoluix-theme/master/src/img/logo_title.png)](https://dev.piedweb.com)

Tiny MailList Builder...
========================

[](#tiny-maillist-builder)

... for almost hand-held newsletter.

Install
-------

[](#install)

Using composer : [Packagist](https://packagist.org/packages/piedweb/tiny-maillist-builder)

```
$ composer require piedweb/tiny-maillist-builder
```

Usage
-----

[](#usage)

This example demonstrate the possible usage on a static website on the one hand (where we want the user suscribe to our email list), and on the other hand, a dynamic server with a specific subdomain (eg: mail-list.example.tld).

The dynamic server will host our package and a simple controller like :

```
include 'vendor/autoload.php';

header("Access-Control-Allow-Origin: *");

if ($_SERVER['REQUEST_METHOD'] === 'POST')
{
    $list = new TinyMailListBuilder(['piedweb'], 'list');
    if ($list->add(trim($_POST['email'] ?? ''), $_POST['list'] ?? '')) {
        exit('OK');
    } else {
        exit('EVER');
    }

} else {
    header("HTTP/1.1 401 Unauthorized");
    exit('ERROR');
}
```

The static website will integrate in his front end something like :

```
import { tinyMailListBuilder } from "~/vendor/piedweb/tiny-maillist-builder/js/TinyMailListBuilder.js";

var form = document.getElementById("newsletter");
var config_list = 'piedweb';

form.addEventListener("submit", function(evt) {
    evt.preventDefault();
  form.querySelector('input[type="submit"]').value = '...';
  form.querySelector('input[type="submit"]').setAttribute('disabled', 'disabled');
    tinyMailListBuilder(form, function(text) {console.log(text);form.querySelector('input[type="submit"]').value = 'Stored !';});
}, config_list);
```

```

```

Contributing
------------

[](#contributing)

Please see [contributing](https://dev.piedweb.com/contributing)

Credits
-------

[](#credits)

- [PiedWeb](https://piedweb.com)
- [All Contributors](https://github.com/PiedWeb/:package_skake/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

[![Latest Version](https://camo.githubusercontent.com/c458b59e9a0a254a0ffec32279479052f489651013f6d48d7e75027eb13a3a4f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f506965645765622f54696e794d61696c4c6973744275696c6465722e7376673f7374796c653d666c6174266c6162656c3d72656c65617365)](https://github.com/PiedWeb/TinyMailListBuilder/tags)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE)[![Build Status](https://camo.githubusercontent.com/594f79b9b5135c3d01f5932a4d6939cbd16017535aa2348946b73ac73b82bae6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f506965645765622f54696e794d61696c4c6973744275696c6465722f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/PiedWeb/TinyMailListBuilder)[![Quality Score](https://camo.githubusercontent.com/776783ddf98b19d13ecbcaf461d215ed2b758249f24d8335bc064c8e0a54944d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f506965645765622f54696e794d61696c4c6973744275696c6465722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/PiedWeb/TinyMailListBuilder)[![Code Coverage](https://camo.githubusercontent.com/da9bef999cdda9039c3555f8eb438f8fd20c1a3cccc821bc05b112773069525d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f506965645765622f54696e794d61696c4c6973744275696c6465722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/PiedWeb/TinyMailListBuilder/code-structure)[![Total Downloads](https://camo.githubusercontent.com/5c17b61bdad85d1a130f6f36b061ede25c2f5d26a9402856237c6588c5752345/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706965647765622f74696e792d6d61696c6c6973742d6275696c6465722e7376673f7374796c653d666c6174)](https://packagist.org/packages/piedweb/tiny-maillist-builder)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

2621d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/afce4cf517928a50560237f1410d5957271fd808671b2216687ecf1422adaee0?d=identicon)[Robin D.](/maintainers/Robin%20D.)

---

Tags

newsletterPied WebMail List

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/piedweb-tiny-maillist-builder/health.svg)

```
[![Health](https://phpackages.com/badges/piedweb-tiny-maillist-builder/health.svg)](https://phpackages.com/packages/piedweb-tiny-maillist-builder)
```

###  Alternatives

[spatie/laravel-newsletter

Manage Mailcoach and MailChimp newsletters in Laravel

1.6k6.3M26](/packages/spatie-laravel-newsletter)[hocza/sendy

Sendy API implementation for Laravel

71195.5k](/packages/hocza-sendy)[directmailteam/direct-mail

Advanced Direct Mail/Newsletter mailer system with sophisticated options for personalization of emails including response statistics.

39209.3k2](/packages/directmailteam-direct-mail)[putyourlightson/craft-campaign

Send and manage email campaigns, contacts and mailing lists.

6435.0k1](/packages/putyourlightson-craft-campaign)[ecomailcz/ecomail

Ecomail.cz API Wrapper

17383.8k4](/packages/ecomailcz-ecomail)[in2code/luxletter

Free newsletter extension for TYPO3 for an individual email marketing. A lot of analytics and modern concepts. Works with and without EXT:lux.

2572.3k2](/packages/in2code-luxletter)

PHPackages © 2026

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