{"id":14966421,"url":"https://github.com/yiisoft/mailer-symfony","last_synced_at":"2026-04-01T19:36:24.994Z","repository":{"id":37794585,"uuid":"399035978","full_name":"yiisoft/mailer-symfony","owner":"yiisoft","description":"Yii Framework Symfony Mailer Integration","archived":false,"fork":false,"pushed_at":"2026-03-18T20:32:48.000Z","size":136,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":12,"default_branch":"master","last_synced_at":"2026-03-19T09:43:01.697Z","etag":null,"topics":["hacktoberfest","mailer","symfony","yii3"],"latest_commit_sha":null,"homepage":"https://www.yiiframework.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"yiisoft","github":["yiisoft"],"polar":"yiisoft"}},"created_at":"2021-08-23T08:55:50.000Z","updated_at":"2026-03-18T20:32:53.000Z","dependencies_parsed_at":"2024-01-11T14:12:19.957Z","dependency_job_id":"46a9c1fd-399a-4588-a510-69b96be7f17b","html_url":"https://github.com/yiisoft/mailer-symfony","commit_stats":{"total_commits":73,"total_committers":12,"mean_commits":6.083333333333333,"dds":0.6438356164383562,"last_synced_commit":"cde93910bfe044ddfc55ccaf67d7141f4fc93f49"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":"yiisoft/package-template","purl":"pkg:github/yiisoft/mailer-symfony","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fmailer-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fmailer-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fmailer-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fmailer-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/mailer-symfony/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fmailer-symfony/sbom","scorecard":{"id":1244396,"data":{"date":"2026-02-23","repo":{"name":"github.com/yiisoft/mailer-symfony","commit":"c332ac2b75fcbfbf1a621a58d736193e2bc1e7e5"},"scorecard":{"version":"v5.4.1-0.20260213160620-4eda2f56f70f","commit":"4eda2f56f70fa619b8785a63deb68aac8e3538ff"},"score":2.9,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":5,"reason":"Found 13/24 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#packaging"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 2 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/4eda2f56f70fa619b8785a63deb68aac8e3538ff/docs/checks.md#sast"}}]},"last_synced_at":"2026-03-05T18:19:06.087Z","repository_id":37794585,"created_at":"2026-03-05T18:19:06.087Z","updated_at":"2026-03-05T18:19:06.087Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":["hacktoberfest","mailer","symfony","yii3"],"created_at":"2024-09-24T13:36:21.610Z","updated_at":"2026-04-01T19:36:24.986Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yiisoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://yiisoft.github.io/docs/images/yii_logo.svg\" height=\"100px\" alt=\"Yii\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii Mailer - Symfony Mailer Extension\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/mailer-symfony/v)](https://packagist.org/packages/yiisoft/mailer-symfony)\n[![Total Downloads](https://poser.pugx.org/yiisoft/mailer-symfony/downloads)](https://packagist.org/packages/yiisoft/mailer-symfony)\n[![Build status](https://github.com/yiisoft/mailer-symfony/actions/workflows/build.yml/badge.svg)](https://github.com/yiisoft/mailer-symfony/actions/workflows/build.yml)\n[![Code Coverage](https://codecov.io/gh/yiisoft/mailer-symfony/graph/badge.svg?token=5QIVH0fbPD)](https://codecov.io/gh/yiisoft/mailer-symfony)\n[![Mutation testing badge](https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fyiisoft%2Fmailer-symfony%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/mailer-symfony/master)\n[![static analysis](https://github.com/yiisoft/mailer-symfony/workflows/static%20analysis/badge.svg)](https://github.com/yiisoft/mailer-symfony/actions?query=workflow%3A%22static+analysis%22)\n[![type-coverage](https://shepherd.dev/github/yiisoft/mailer-symfony/coverage.svg)](https://shepherd.dev/github/yiisoft/mailer-symfony)\n\nThis package is an adapter for [yiisoft/mailer](https://github.com/yiisoft/mailer) relying on\n[symfony/mailer](https://github.com/symfony/mailer).\n\n## Requirements\n\n- PHP 8.1 - 8.5.\n\n## Installation\n\nThe package could be installed with [Composer](https://getcomposer.org):\n\n```shell\ncomposer require yiisoft/mailer-symfony\n```\n\n## General usage\n\nCreating a mailer:\n\n```php\nuse Yiisoft\\Mailer\\Symfony\\Mailer;\n\n/**\n * @var \\Symfony\\Component\\Mailer\\Transport\\TransportInterface $transport\n */\n\n$mailer = new \\Yiisoft\\Mailer\\Symfony\\Mailer(\n    $transport,\n);\n```\n\nSending a mail message:\n\n```php\n$message = (new \\Yiisoft\\Mailer\\Message())\n    -\u003ewithFrom('from@domain.com')\n    -\u003ewithTo('to@domain.com')\n    -\u003ewithSubject('Message subject')\n    -\u003ewithTextBody('Plain text content')\n    -\u003ewithHtmlBody('\u003cb\u003eHTML content\u003c/b\u003e');\n    \n$mailer-\u003esend($message);\n// Or several\n$mailer-\u003esendMultiple([$message]);\n```\n\nAdditional methods of the `Yiisoft\\Mailer\\Symfony\\Mailer`:\n\n- `withEncryptor()` - Returns a new instance with the specified encryptor instance.\n- `withSigner()` - Returns a new instance with the specified signer instance.\n\nFor more information about signing and encrypting messages, see the corresponding section of the\n[documentation](https://symfony.com/doc/current/mailer.html#signing-and-encrypting-messages).\n\nFor use in the [Yii framework](https://www.yiiframework.com/), see the configuration files:\n  - [`config/di.php`](https://github.com/yiisoft/mailer-symfony/blob/master/config/di.php)\n  - [`config/params.php`](https://github.com/yiisoft/mailer-symfony/blob/master/config/params.php)\n\n## Documentation\n\n- [Yii guide to mailing](https://github.com/yiisoft/docs/blob/master/guide/en/tutorial/mailing.md)\n- [Symfony Mailer documentation](https://symfony.com/doc/current/mailer.html)\n- [Internals](docs/internals.md)\n\nIf you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.\nYou may also check out other [Yii Community Resources](https://www.yiiframework.com/community).\n\n## License\n\nThe Yii Mailer - Symfony Mailer Extension is free software. It is released under the terms of the BSD License.\nPlease see [`LICENSE`](./LICENSE.md) for more information.\n\nMaintained by [Yii Software](https://www.yiiframework.com/).\n\n## Support the project\n\n[![Open Collective](https://img.shields.io/badge/Open%20Collective-sponsor-7eadf1?logo=open%20collective\u0026logoColor=7eadf1\u0026labelColor=555555)](https://opencollective.com/yiisoft)\n\n## Follow updates\n\n[![Official website](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](https://www.yiiframework.com/)\n[![Twitter](https://img.shields.io/badge/twitter-follow-1DA1F2?logo=twitter\u0026logoColor=1DA1F2\u0026labelColor=555555?style=flat)](https://twitter.com/yiiframework)\n[![Telegram](https://img.shields.io/badge/telegram-join-1DA1F2?style=flat\u0026logo=telegram)](https://t.me/yii3en)\n[![Facebook](https://img.shields.io/badge/facebook-join-1DA1F2?style=flat\u0026logo=facebook\u0026logoColor=ffffff)](https://www.facebook.com/groups/yiitalk)\n[![Slack](https://img.shields.io/badge/slack-join-1DA1F2?style=flat\u0026logo=slack)](https://yiiframework.com/go/slack)\n","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft","https://polar.sh/yiisoft"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fmailer-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fmailer-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fmailer-symfony/lists"}