{"id":38582114,"url":"https://github.com/badams/symfony-mailer-amazon-sdk","last_synced_at":"2026-01-17T08:16:28.950Z","repository":{"id":52221330,"uuid":"236642512","full_name":"badams/symfony-mailer-amazon-sdk","owner":"badams","description":"Transport for the mailer component that utilizes aws-sdk-php for authentication","archived":false,"fork":false,"pushed_at":"2021-05-04T17:16:41.000Z","size":31,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-29T03:45:36.086Z","etag":null,"topics":["aws-credentials","aws-ses","symfony-mailer"],"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/badams.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2020-01-28T02:32:27.000Z","updated_at":"2024-04-29T03:45:36.087Z","dependencies_parsed_at":"2022-08-24T14:50:39.014Z","dependency_job_id":null,"html_url":"https://github.com/badams/symfony-mailer-amazon-sdk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/badams/symfony-mailer-amazon-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badams%2Fsymfony-mailer-amazon-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badams%2Fsymfony-mailer-amazon-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badams%2Fsymfony-mailer-amazon-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badams%2Fsymfony-mailer-amazon-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badams","download_url":"https://codeload.github.com/badams/symfony-mailer-amazon-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badams%2Fsymfony-mailer-amazon-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"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":["aws-credentials","aws-ses","symfony-mailer"],"created_at":"2026-01-17T08:16:28.645Z","updated_at":"2026-01-17T08:16:28.937Z","avatar_url":"https://github.com/badams.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Symfony Mailer Amazon SDK Transport\n================================\n\n[![CI Action](https://github.com/badams/symfony-mailer-amazon-sdk/workflows/continuous-integration/badge.svg)](https://github.com/badams/symfony-mailer-amazon-sdk/workflows/continuous-integration)\n[![codecov](https://codecov.io/gh/badams/symfony-mailer-amazon-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/badams/symfony-mailer-amazon-sdk)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/badams/symfony-mailer-amazon-sdk/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/badams/symfony-mailer-amazon-sdk/?branch=master)\n\nAn SES transport for the [symfony/mailer](https://github.com/symfony/mailer) package which implements support for the official [aws/aws-sdk-php](https://github.com/aws/aws-sdk-php) package.\nThis differs from the official [symfony/amazon-mailer](https://github.com/symfony/amazon-mailer) as it relies on the official amazon sdk for authentication, meaning support for instance \nbased authentication on EC2 instances will work out of the box.  \n\nGetting Started\n--------------\n\nRead the [documentation](https://symfony.com/doc/current/components/mailer.html) for the symfony/mailer package.\n\nThe transport should be installed using composer. \n\n```bash\n composer require badams/symfony-mailer-amazon-sdk\n```\n\nBelow is an example of manually configuring the mailer component to use this transport\n```php\nuse Badams\\AmazonMailerSdk;\n\n$factory = new Symfony\\Component\\Mailer\\Transport([\n     new SesSdkTransportFactory()\n]);\n\n$transport = $factory-\u003efromString('ses+sdk://ap-south-2?credentials=env');\n$mailer =  new \\Symfony\\Component\\Mailer\\Mailer($transport);\n\n$mailer-\u003esend($email);\n```\n\nConfiguration\n------------\n\nThis transport supports configuration via DSN, below are example DSNs demonstrating how to configure the supported credential providers.\n\n| Authentication        | Example DSN | Docs |\n|-----------------------|-------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|\n| Default Provider      | ses+sdk://eu-east-1                       | [Link](https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Credentials.CredentialProvider.html#_defaultProvider) |\n| Static Credentials    | ses+sdk://ACCESS_KEY:SECRET_KEY@eu-west-1 | [Link](https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Credentials.CredentialProvider.html#_fromCredentials) |\n| Environment Variables | ses+sdk://eu-west-1?credentials=env       | [Link](https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Credentials.CredentialProvider.html#_env)             |\n| Instance Profile      | ses+sdk://ap-south-2?credentials=instance | [Link](https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Credentials.CredentialProvider.html#_instanceProfile) |\n| ECS                   | ses+sdk://us-east-1?credentials=ecs       | [Link](https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Credentials.CredentialProvider.html#_instanceProfile) |\n\n\n#### SES Configuration Sets\n\u003e Configuration sets are groups of rules that you can apply to the emails you send using Amazon SES. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email. For more information about specifying configuration sets in your emails, see Specifying a Configuration Set When You Send Email.\n- https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-configuration-sets.html\n\nThis transport supports Configuration Sets, all you need to do is specify the `ConfigurationSetName` as query string parameter in your DSN like so\n```\nses+sdk://eu-west1?ConfigurationSetName=MyConfigurationSet\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadams%2Fsymfony-mailer-amazon-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadams%2Fsymfony-mailer-amazon-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadams%2Fsymfony-mailer-amazon-sdk/lists"}