PHPackages                             tilleuls/ymlp-bundle - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. tilleuls/ymlp-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

tilleuls/ymlp-bundle
====================

Integrates YMLP API for Symfony

v1.1.1(9y ago)53.6k1MITPHPPHP &gt;=5.4

Since Jul 28Pushed 9y ago22 watchersCompare

[ Source](https://github.com/coopTilleuls/CoopTilleulsYmlpBundle)[ Packagist](https://packagist.org/packages/tilleuls/ymlp-bundle)[ Docs](http://les-tilleuls.coop)[ RSS](/packages/tilleuls-ymlp-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

CoopTilleulsYmlpBundle, YMLP API for Symfony
============================================

[](#cooptilleulsymlpbundle-ymlp-api-for-symfony)

This bundle integrates the [Your Mailing List Provider (YMLP)](http://www.ymlp.com/) API into [Symfony](http://symfony.com) projects.

[![Latest Stable Version](https://camo.githubusercontent.com/a6e0e40e2b76b429ebc7ec53d2c9ce7aa1fe00a3a5c344c4fc41045d5fec8dca/68747470733a2f2f706f7365722e707567782e6f72672f74696c6c65756c732f796d6c702d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/tilleuls/ymlp-bundle) [![Build Status](https://camo.githubusercontent.com/e33702e8c8e8ffd165cec055e861749cb3ed6a302b2e8d033e7c368fd81467a5/68747470733a2f2f7472617669732d63692e6f72672f636f6f7054696c6c65756c732f436f6f7054696c6c65756c73596d6c7042756e646c652e737667)](https://travis-ci.org/coopTilleuls/CoopTilleulsYmlpBundle) [![SensioLabsInsight](https://camo.githubusercontent.com/eab1efdd94f04e1367cb0312f710deda06a54bfd0059f45ecbb00dc4e7f7232f/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35626537363431392d306237372d343238332d383263392d3733333364636634333539352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/5be76419-0b77-4283-82c9-7333dcf43595)

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

[](#installation)

Use [Composer](http://getcomposer.org/) to install this bundle:

```
composer require tilleuls/ymlp-bundle

```

Add the bundle in your application kernel:

```
// app/AppKernel.php

public function registerBundles()
{
    return [
        // ...
        new CoopTilleuls\Bundle\YmlpBundle\CoopTilleulsYmlpBundle(),
        // ...
    ];
}
```

Configuration
-------------

[](#configuration)

```
# app/config/config.yml

coop_tilleuls_ymlp:
    # YMLP URL for API calls (default to https://www.ymlp.com/api/)
    api_url: https://www.ymlp.com/api/
    # Your YMLP API key (no default)
    api_key: YOURSECRETAPIKEY1234
    # Your YMLP username (no default)
    api_username: tilleuls
```

Usage
-----

[](#usage)

```
use CoopTilleuls\Bundle\YmlpBundle\Ymlp\Exception\YmlpException;

// Get an instance of the YMLP API client as a service
$ymlpClient = $this->get('coop_tilleuls_ymlp.client');

// Call the simple Ping() command of the YMLP API
$pingResponse = $ymlpClient->call('Ping');

// Add a new contact to one or more groups with exception handling
try {
    $contactsAddResponse = $ymlpClient->call('Contacts.Add', ['Email' => 'baptiste@les-tilleuls.coop', 'GroupID' => 1]);
} catch (YmlpException $e) {
    //...
}
```

The `call()` method returns an array containing the response or throws an exception of type `\CoopTilleuls\Bundle\YmlpBundle\Ymlp\Exception\YmlpException`.

You can obtain a list of all the commands of the API, their parameters and their responses on the [YMLP API page](http://www.ymlp.com/app/api.php) (require YMLP credentials).

Credits
-------

[](#credits)

This bundle has been written by Baptiste Meyer for [Les-Tilleuls.coop](http://les-tilleuls.coop).

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~479 days

Total

3

Last Release

3344d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57224?v=4)[Kévin Dunglas](/maintainers/dunglas)[@dunglas](https://github.com/dunglas)

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

---

Top Contributors

[![meyerbaptiste](https://avatars.githubusercontent.com/u/4034907?v=4)](https://github.com/meyerbaptiste "meyerbaptiste (14 commits)")[![dunglas](https://avatars.githubusercontent.com/u/57224?v=4)](https://github.com/dunglas "dunglas (1 commits)")[![frenchcomp](https://avatars.githubusercontent.com/u/1397905?v=4)](https://github.com/frenchcomp "frenchcomp (1 commits)")

---

Tags

apiguzzlenewsletterphpsymfonysymfony-bundlesymfony2symfony3ymlpymlp-apiapiGuzzlenewslettercustomerymlp

### Embed Badge

![Health badge](/badges/tilleuls-ymlp-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tilleuls-ymlp-bundle/health.svg)](https://phpackages.com/packages/tilleuls-ymlp-bundle)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M232](/packages/nelmio-api-doc-bundle)[playbloom/guzzle-bundle

Provide Symfony2 web profiler for Guzzle

82311.0k1](/packages/playbloom-guzzle-bundle)[hamburgscleanest/guzzle-advanced-throttle

A Guzzle middleware that can throttle requests according to (multiple) defined rules. It is also possible to define a caching strategy, e.g. get response from cache when rate limit is exceeded or always get cached value to spare your rate limits.

13033.4k1](/packages/hamburgscleanest-guzzle-advanced-throttle)[facile-it/crossbar-http-publisher-bundle

This bundle allows to submit PubSub events via HTTP/POST requests to a Crossbar HTTP Publisher.

1114.4k](/packages/facile-it-crossbar-http-publisher-bundle)[antoinelemaire/aircall-php

Aircall API client built on top of Guzzle 6

1049.6k](/packages/antoinelemaire-aircall-php)

PHPackages © 2026

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