{"id":21328163,"url":"https://github.com/hampel/symfonymailer-sparkpost","last_synced_at":"2026-01-20T14:33:32.179Z","repository":{"id":252379668,"uuid":"840272089","full_name":"hampel/symfonymailer-sparkpost","owner":"hampel","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-30T10:57:44.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T02:31:29.753Z","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/hampel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-08-09T10:37:00.000Z","updated_at":"2025-08-30T10:57:48.000Z","dependencies_parsed_at":"2024-11-21T21:37:54.302Z","dependency_job_id":null,"html_url":"https://github.com/hampel/symfonymailer-sparkpost","commit_stats":null,"previous_names":["hampel/symfonymailer-sparkpost"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hampel/symfonymailer-sparkpost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsymfonymailer-sparkpost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsymfonymailer-sparkpost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsymfonymailer-sparkpost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsymfonymailer-sparkpost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hampel","download_url":"https://codeload.github.com/hampel/symfonymailer-sparkpost/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsymfonymailer-sparkpost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28604934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"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":[],"created_at":"2024-11-21T21:24:40.233Z","updated_at":"2026-01-20T14:33:32.162Z","avatar_url":"https://github.com/hampel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony Mailer SparkPost Driver\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/hampel/symfonymailer-sparkpost.svg?style=flat-square)](https://packagist.org/packages/hampel/symfonymailer-sparkpost)\n[![Total Downloads](https://img.shields.io/packagist/dt/hampel/symfonymailer-sparkpost.svg?style=flat-square)](https://packagist.org/packages/hampel/symfonymailer-sparkpost)\n[![Open Issues](https://img.shields.io/github/issues-raw/hampel/symfonymailer-sparkpost.svg?style=flat-square)](https://github.com/hampel/symfonymailer-sparkpost/issues)\n[![License](https://img.shields.io/packagist/l/hampel/symfonymailer-sparkpost.svg?style=flat-square)](https://packagist.org/packages/hampel/symfonymailer-sparkpost)\n\nBy [Simon Hampel](mailto:simon@hampelgroup.com)\n\n## Description\n\nStandalone implementation of Symfony Mailer SparkPost Driver based on https://github.com/gam6itko/sparkpost-mailer - but\nusing GuzzleHttp as the HTTP client rather than Symfony HTTP Client.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require hampel/symfonymailer-sparkpost\n```\n\n## Usage\n\nThe SparkPost options available are defined in the API: \n[SparkPost options](https://developers.sparkpost.com/api/transmissions/#header-request-body)\n\n```php\n\n$sparkpostOptions = [\n\t'options' =\u003e [\n\t\t'open_tracking' =\u003e false,\n\t\t'click_tracking' =\u003e true,\n\t\t'transactional' =\u003e true,\n\t],\n];\n\n$transport = new SparkPostApiTransport(\n\t'MYSPARKPOSTAPIKEY', \n\tnew GuzzleHttp\\Client\n);\n\nnew SparkPostEmail();\n$email-\u003esetOptions([\n    'click_tracking' =\u003e false,\n    'open_tracking' =\u003e true,\n    'transactional' =\u003e true,\n]);\n$email-\u003esetCampaignId('my-campaign');\n$email-\u003efrom('webmaster@example.com');\n$email-\u003eto('me@example.com');\n$email-\u003esubject('My subject');\n$email-\u003etext(...);\n$email-\u003ehtml(...);\n\n$result = $transport-\u003esend($email);\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhampel%2Fsymfonymailer-sparkpost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhampel%2Fsymfonymailer-sparkpost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhampel%2Fsymfonymailer-sparkpost/lists"}