{"id":14983674,"url":"https://github.com/cooptilleuls/cooptilleulsymlpbundle","last_synced_at":"2026-04-01T17:02:02.690Z","repository":{"id":12177750,"uuid":"14777531","full_name":"coopTilleuls/CoopTilleulsYmlpBundle","owner":"coopTilleuls","description":"Integrates YMLP API for Symfony","archived":false,"fork":false,"pushed_at":"2017-03-14T11:02:53.000Z","size":23,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":22,"default_branch":"master","last_synced_at":"2026-03-27T23:42:21.610Z","etag":null,"topics":["api","guzzle","newsletter","php","symfony","symfony-bundle","symfony2","symfony3","ymlp","ymlp-api"],"latest_commit_sha":null,"homepage":"http://les-tilleuls.coop","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"camelot-framework/yatomata","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coopTilleuls.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-28T13:24:16.000Z","updated_at":"2024-05-06T00:23:33.000Z","dependencies_parsed_at":"2022-08-20T10:00:43.534Z","dependency_job_id":null,"html_url":"https://github.com/coopTilleuls/CoopTilleulsYmlpBundle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/coopTilleuls/CoopTilleulsYmlpBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopTilleuls%2FCoopTilleulsYmlpBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopTilleuls%2FCoopTilleulsYmlpBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopTilleuls%2FCoopTilleulsYmlpBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopTilleuls%2FCoopTilleulsYmlpBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coopTilleuls","download_url":"https://codeload.github.com/coopTilleuls/CoopTilleulsYmlpBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopTilleuls%2FCoopTilleulsYmlpBundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","guzzle","newsletter","php","symfony","symfony-bundle","symfony2","symfony3","ymlp","ymlp-api"],"created_at":"2024-09-24T14:07:45.939Z","updated_at":"2026-04-01T17:02:02.610Z","avatar_url":"https://github.com/coopTilleuls.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoopTilleulsYmlpBundle, YMLP API for Symfony\n\nThis bundle integrates the [Your Mailing List Provider (YMLP)](http://www.ymlp.com/) API into [Symfony](http://symfony.com) projects.\n\n[![Latest Stable Version](https://poser.pugx.org/tilleuls/ymlp-bundle/v/stable.svg)](https://packagist.org/packages/tilleuls/ymlp-bundle) [![Build Status](https://travis-ci.org/coopTilleuls/CoopTilleulsYmlpBundle.svg)](https://travis-ci.org/coopTilleuls/CoopTilleulsYmlpBundle) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/5be76419-0b77-4283-82c9-7333dcf43595/mini.png)](https://insight.sensiolabs.com/projects/5be76419-0b77-4283-82c9-7333dcf43595)\n\n## Installation\n\nUse [Composer](http://getcomposer.org/) to install this bundle:\n\n    composer require tilleuls/ymlp-bundle\n\nAdd the bundle in your application kernel:\n\n```php\n// app/AppKernel.php\n\npublic function registerBundles()\n{\n    return [\n        // ...\n        new CoopTilleuls\\Bundle\\YmlpBundle\\CoopTilleulsYmlpBundle(),\n        // ...\n    ];\n}\n```\n\n## Configuration\n\n```yaml\n# app/config/config.yml\n\ncoop_tilleuls_ymlp:\n    # YMLP URL for API calls (default to https://www.ymlp.com/api/)\n    api_url: https://www.ymlp.com/api/\n    # Your YMLP API key (no default)\n    api_key: YOURSECRETAPIKEY1234\n    # Your YMLP username (no default)\n    api_username: tilleuls\n```\nUsage\n-----\n\n```php\nuse CoopTilleuls\\Bundle\\YmlpBundle\\Ymlp\\Exception\\YmlpException;\n\n// Get an instance of the YMLP API client as a service\n$ymlpClient = $this-\u003eget('coop_tilleuls_ymlp.client');\n\n// Call the simple Ping() command of the YMLP API\n$pingResponse = $ymlpClient-\u003ecall('Ping');\n\n// Add a new contact to one or more groups with exception handling\ntry {\n    $contactsAddResponse = $ymlpClient-\u003ecall('Contacts.Add', ['Email' =\u003e 'baptiste@les-tilleuls.coop', 'GroupID' =\u003e 1]);\n} catch (YmlpException $e) {\n    //...\n}\n```\n\nThe `call()` method returns an array containing the response or throws an exception of type `\\CoopTilleuls\\Bundle\\YmlpBundle\\Ymlp\\Exception\\YmlpException`.\n\nYou 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).\n\n## Credits\n\nThis bundle has been written by Baptiste Meyer for [Les-Tilleuls.coop](http://les-tilleuls.coop).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcooptilleuls%2Fcooptilleulsymlpbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcooptilleuls%2Fcooptilleulsymlpbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcooptilleuls%2Fcooptilleulsymlpbundle/lists"}