{"id":36992126,"url":"https://github.com/wellcometrust/dotmailer-php","last_synced_at":"2026-01-13T23:44:16.935Z","repository":{"id":57079779,"uuid":"128766893","full_name":"wellcometrust/dotmailer-php","owner":"wellcometrust","description":"Explorify Dotmailer config","archived":false,"fork":false,"pushed_at":"2019-07-30T12:06:06.000Z","size":45,"stargazers_count":6,"open_issues_count":3,"forks_count":6,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-10-02T10:57:30.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wellcometrust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-09T12:17:16.000Z","updated_at":"2021-03-08T16:24:40.000Z","dependencies_parsed_at":"2022-08-24T13:10:32.273Z","dependency_job_id":null,"html_url":"https://github.com/wellcometrust/dotmailer-php","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/wellcometrust/dotmailer-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcometrust%2Fdotmailer-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcometrust%2Fdotmailer-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcometrust%2Fdotmailer-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcometrust%2Fdotmailer-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wellcometrust","download_url":"https://codeload.github.com/wellcometrust/dotmailer-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcometrust%2Fdotmailer-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-13T23:44:16.864Z","updated_at":"2026-01-13T23:44:16.921Z","avatar_url":"https://github.com/wellcometrust.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dotmailer REST API (v2) PHP client [![Build Status](https://travis-ci.org/wellcometrust/dotmailer-php.svg?branch=master)](https://travis-ci.org/wellcometrust/dotmailer-php)\n\nPHP client library for the Dotmailer REST API (v2) described at https://developer.dotmailer.com/docs/\n\nInstallation\n---\n`composer require wellcometrust/dotmailer-php`\n\nUsage\n---\n```\n\u003c?php\n\nuse Dotmailer\\Adapter\\GuzzleAdapter;\nuse Dotmailer\\Dotmailer;\n\nrequire 'vendor/autoload.php';\n\n$adapter = GuzzleAdapter::fromCredentials('apiuser-XYZ@apiconnector.com', 'PASSWORD');\n$dotmailer = new Dotmailer($adapter);\n\n$addressBooks = $dotmailer-\u003egetAddressBooks();\nprint_r($addressBooks);\n```\n\nIf you are using Symfony, you may choose to configure the service as follows, and then use throughout your application:\n```\n# app/config/services.yml\n\nDotmailer\\Adapter:\n   factory: ['Dotmailer\\Adapter\\GuzzleAdapter', fromCredentials]\n   arguments: ['%dotmailer_username%', '%dotmailer_password%', '%dotmailer_uri%']\n\nDotmailer\\Dotmailer:\n   arguments: ['@Dotmailer\\Adapter']\n```\n\nCoverage\n---\nCurrently the following endpoints are covered:\n\n- [ ] **Address books**\n    - [x] Get address books\n- [ ] **Campaigns**\n    - [x] Get all campaigns\n    - [x] Get campaign\n- [ ] **Contacts**\n    - [x] Create contact\n    - [x] Delete contact\n    - [x] Update contact\n    - [x] Add contact to address book\n    - [x] Delete contact from address book\n    - [x] Get contact by email\n    - [x] Get contact address books\n    - [x] Get unsubscribed contacts since date\n    - [x] Unsubscribe contact\n    - [x] Resubscribe contact\n- [ ] **Contact data fields**\n    - [x] Create contact data field\n    - [x] Delete contact data field\n- [ ] **Programs**\n    - [x] Get programs\n    - [x] Create program enrolment\n- [ ] **Transactional email**\n    - [x] Send transactional email\n    - [x] Send transactional email using a triggered campaign\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellcometrust%2Fdotmailer-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwellcometrust%2Fdotmailer-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellcometrust%2Fdotmailer-php/lists"}