mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
66 lines
2.6 KiB
JSON
66 lines
2.6 KiB
JSON
{
|
|
"locks": {
|
|
"symfony/mailer": {
|
|
"version": "4.3",
|
|
"recipe": {
|
|
"repo": "4.3",
|
|
"branch": "master",
|
|
"version": "4.3",
|
|
"ref": "bbfc7e27257d3a3f12a6fb0a42540a42d9623a37"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"symfony/mailer": {
|
|
"repository": "github.com/symfony/recipes",
|
|
"package": "symfony/mailer",
|
|
"version": "4.3",
|
|
"manifest": {
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"env": {
|
|
"#1": "MAILER_DSN=smtp://localhost"
|
|
},
|
|
"docker-compose": {
|
|
"docker-compose.override.yml": {
|
|
"services": [
|
|
"mailer:",
|
|
" image: schickling/mailcatcher",
|
|
" ports: [1025, 1080]"
|
|
]
|
|
}
|
|
},
|
|
"aliases": [
|
|
"mailer",
|
|
"mail"
|
|
],
|
|
"post-install-output": [
|
|
" * You're ready to send emails.",
|
|
"",
|
|
" * If you want to send emails via a supported email provider, install",
|
|
" the corresponding bridge.",
|
|
" For instance, <info>composer require mailgun-mailer</> for Mailgun.",
|
|
"",
|
|
" * If you want to send emails asynchronously:",
|
|
"",
|
|
" 1. Install the messenger component by running <info>composer require messenger</>;",
|
|
" 2. Add <info>'Symfony\\Component\\Mailer\\Messenger\\SendEmailMessage': amqp</> to the",
|
|
" <info>config/packages/messenger.yaml</> file under <info>framework.messenger.routing</>",
|
|
" and replace <info>amqp</> with your transport name of choice.",
|
|
"",
|
|
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc/master/mailer.html</>"
|
|
]
|
|
},
|
|
"files": {
|
|
"config/packages/mailer.yaml": {
|
|
"contents": "framework:\n mailer:\n dsn: '%env(MAILER_DSN)%'\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "symfony/mailer:4.3@github.com/symfony/recipes:master",
|
|
"is_contrib": false
|
|
}
|
|
}
|
|
} |