{"id":14983855,"url":"https://github.com/symfony/sendgrid-mailer","last_synced_at":"2025-05-16T01:05:16.133Z","repository":{"id":45265655,"uuid":"178553416","full_name":"symfony/sendgrid-mailer","owner":"symfony","description":"Symfony Sendgrid Mailer Bridge","archived":false,"fork":false,"pushed_at":"2025-05-02T09:23:45.000Z","size":183,"stargazers_count":65,"open_issues_count":0,"forks_count":12,"subscribers_count":4,"default_branch":"7.2","last_synced_at":"2025-05-05T06:44:16.654Z","etag":null,"topics":["component","php","symfony","symfony-component"],"latest_commit_sha":null,"homepage":"https://symfony.com/mailer","language":"PHP","has_issues":false,"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/symfony.png","metadata":{"funding":{"github":"fabpot","tidelift":"packagist/symfony/symfony","custom":"https://symfony.com/sponsor"},"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-30T12:04:33.000Z","updated_at":"2025-02-22T16:54:04.000Z","dependencies_parsed_at":"2023-01-31T21:15:27.400Z","dependency_job_id":"e59719c3-71c8-4b7f-8325-1d1803e6a898","html_url":"https://github.com/symfony/sendgrid-mailer","commit_stats":{"total_commits":90,"total_committers":25,"mean_commits":3.6,"dds":0.6777777777777778,"last_synced_commit":"abe5989dcb57e762d3e39b96ff564d2196a40160"},"previous_names":[],"tags_count":157,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fsendgrid-mailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fsendgrid-mailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fsendgrid-mailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fsendgrid-mailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/symfony","download_url":"https://codeload.github.com/symfony/sendgrid-mailer/tar.gz/refs/heads/7.2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["component","php","symfony","symfony-component"],"created_at":"2024-09-24T14:08:04.739Z","updated_at":"2025-05-16T01:05:16.074Z","avatar_url":"https://github.com/symfony.png","language":"PHP","funding_links":["https://github.com/sponsors/fabpot","https://tidelift.com/funding/github/packagist/symfony/symfony","https://symfony.com/sponsor"],"categories":[],"sub_categories":[],"readme":"Sendgrid Bridge\n===============\n\nProvides Sendgrid integration for Symfony Mailer.\n\nConfiguration example:\n\n```env\n# SMTP\nMAILER_DSN=sendgrid+smtp://KEY@default?region=REGION\n\n# API\nMAILER_DSN=sendgrid+api://KEY@default?region=REGION\n```\n\nwhere:\n - `KEY` is your Sendgrid API Key\n - `REGION` is Sendgrid selected region (default to global)\n\nWebhook\n-------\n\nCreate a route:\n\n```yaml\nframework:\n    webhook:\n        routing:\n            sendgrid:\n                service: mailer.webhook.request_parser.sendgrid\n                secret: '!SENDGRID_VALIDATION_SECRET!' # Leave blank if you dont want to use the signature validation\n```\n\nAnd a consume:\n\n```php\n#[\\Symfony\\Component\\RemoteEvent\\Attribute\\AsRemoteEventConsumer(name: 'sendgrid')]\nclass SendGridConsumer implements ConsumerInterface\n{\n    public function consume(RemoteEvent|MailerDeliveryEvent $event): void\n    {\n        // your code\n    }\n}\n```\n\nResources\n---------\n\n * [Contributing](https://symfony.com/doc/current/contributing/index.html)\n * [Report issues](https://github.com/symfony/symfony/issues) and\n   [send Pull Requests](https://github.com/symfony/symfony/pulls)\n   in the [main Symfony repository](https://github.com/symfony/symfony)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfony%2Fsendgrid-mailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymfony%2Fsendgrid-mailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfony%2Fsendgrid-mailer/lists"}