{"id":20154598,"url":"https://github.com/roundpartner/mail-service","last_synced_at":"2026-06-08T19:31:24.518Z","repository":{"id":165604945,"uuid":"52089602","full_name":"roundpartner/mail-service","owner":"roundpartner","description":"Service for email transactions","archived":false,"fork":false,"pushed_at":"2017-09-10T17:26:26.000Z","size":37,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T01:31:44.827Z","etag":null,"topics":["email-transactions","mailgun-php","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roundpartner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-19T13:31:42.000Z","updated_at":"2017-06-24T13:00:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"cec3b4fa-f030-4484-9f32-5caf7a051561","html_url":"https://github.com/roundpartner/mail-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roundpartner/mail-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Fmail-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Fmail-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Fmail-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Fmail-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roundpartner","download_url":"https://codeload.github.com/roundpartner/mail-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Fmail-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34078019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["email-transactions","mailgun-php","php"],"created_at":"2024-11-13T23:27:35.532Z","updated_at":"2026-06-08T19:31:24.489Z","avatar_url":"https://github.com/roundpartner.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/roundpartner/mail-service.svg?branch=master)](https://travis-ci.org/roundpartner/mail-service)\n# Mail Service\nA service for sending email transactions.\n## Initialising\nThe factory method uses MailGun service by default which requires an api key and an endpoint\n```php\n$service = new \\MailService\\MailServiceFactory($key, $endpoint);\n```\n## Sending Mail\n```php\n$service = new \\MailService\\MailServiceFactory($key, $endpoint);\n$service-\u003esendMessage($postData);\n```\n## Testing\nMailguns api is mocked to allow for testing of this services functionality.\n```bash\nvendor/bin/phpunit\n```\n## Plugins\nAny plugin can be used as long as they implement the MailServiceInterface interface and placed inside the plugin directory.\n\nThe plugin can be loaded by setting the plugin variable in the configuration\n```php\n$config = new Configuration();\n$config-\u003eplugin = 'MyCustomPlugin';\nreturn new MailService($config);\n```\n## Clean Code\n```bash\nvendor/bin/phpcbf --standard=psr2 ./src\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froundpartner%2Fmail-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froundpartner%2Fmail-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froundpartner%2Fmail-service/lists"}