From 31a19b409c53d40d957bd4b55df5bfc400293995 Mon Sep 17 00:00:00 2001 From: aleckvincent Date: Tue, 17 Oct 2023 11:04:15 +0200 Subject: [PATCH] ajout postmark mailer --- .env | 4 ++ .idea/php.xml | 2 + .idea/simpleReporting.iml | 2 + composer.json | 2 + composer.lock | 148 +++++++++++++++++++++++++++++++++++++- symfony.lock | 9 +++ 6 files changed, 166 insertions(+), 1 deletion(-) diff --git a/.env b/.env index f33c788e..365c5b31 100644 --- a/.env +++ b/.env @@ -43,3 +43,7 @@ METABASE_DASHBOARD=42 ###> symfony/mailer ### # MAILER_DSN=smtp://localhost ###< symfony/mailer ### + +###> symfony/postmark-mailer ### +# MAILER_DSN=postmark://ID@default +###< symfony/postmark-mailer ### diff --git a/.idea/php.xml b/.idea/php.xml index 25c95824..e32edeea 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -209,6 +209,8 @@ + + diff --git a/.idea/simpleReporting.iml b/.idea/simpleReporting.iml index 5c6ab171..0ca396a2 100644 --- a/.idea/simpleReporting.iml +++ b/.idea/simpleReporting.iml @@ -196,6 +196,8 @@ + + diff --git a/composer.json b/composer.json index d1be8b93..05e91bf7 100644 --- a/composer.json +++ b/composer.json @@ -37,8 +37,10 @@ "symfony/flex": "^1.3.1", "symfony/form": "4.4.*", "symfony/framework-bundle": "4.4.*", + "symfony/http-client": "4.4.*", "symfony/mailer": "4.4.*", "symfony/monolog-bundle": "^3.1", + "symfony/postmark-mailer": "4.4.*", "symfony/process": "4.4.*", "symfony/property-access": "^4.4", "symfony/property-info": "^4.4", diff --git a/composer.lock b/composer.lock index fe0a7ea5..e40d0a1a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "86eb0e7f5c9890301989cf29b9d62c1e", + "content-hash": "498d17a641d07e75ff7baa04b34b75c2", "packages": [ { "name": "behat/transliterator", @@ -6885,6 +6885,87 @@ ], "time": "2022-11-05T15:42:31+00:00" }, + { + "name": "symfony/http-client", + "version": "v4.4.49", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client.git", + "reference": "0185497cd61440bdf68df7d81241b97a543e9c3f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client/zipball/0185497cd61440bdf68df7d81241b97a543e9c3f", + "reference": "0185497cd61440bdf68df7d81241b97a543e9c3f", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "psr/log": "^1|^2|^3", + "symfony/http-client-contracts": "^1.1.10|^2", + "symfony/polyfill-php73": "^1.11", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.0|^2" + }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "1.0", + "symfony/http-client-implementation": "1.1|2.0" + }, + "require-dev": { + "guzzlehttp/promises": "^1.4", + "nyholm/psr7": "^1.0", + "php-http/httplug": "^1.0|^2.0", + "psr/http-client": "^1.0", + "symfony/dependency-injection": "^4.3|^5.0", + "symfony/http-kernel": "^4.4.13", + "symfony/process": "^4.2|^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpClient\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-client/tree/v4.4.49" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T19:03:45+00:00" + }, { "name": "symfony/http-client-contracts", "version": "v2.5.2", @@ -8419,6 +8500,71 @@ ], "time": "2022-11-03T14:55:06+00:00" }, + { + "name": "symfony/postmark-mailer", + "version": "v4.4.40", + "source": { + "type": "git", + "url": "https://github.com/symfony/postmark-mailer.git", + "reference": "30a5a8538696fa59d6280ecaeab0e0a401244e15" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/postmark-mailer/zipball/30a5a8538696fa59d6280ecaeab0e0a401244e15", + "reference": "30a5a8538696fa59d6280ecaeab0e0a401244e15", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "symfony/mailer": "^4.4.21|^5.2.6" + }, + "require-dev": { + "symfony/http-client": "^4.3|^5.0" + }, + "type": "symfony-bridge", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mailer\\Bridge\\Postmark\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Postmark Mailer Bridge", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/postmark-mailer/tree/v4.4.40" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-03-22T15:24:15+00:00" + }, { "name": "symfony/process", "version": "v4.4.44", diff --git a/symfony.lock b/symfony.lock index 24a2d3c5..cb233c8f 100644 --- a/symfony.lock +++ b/symfony.lock @@ -579,6 +579,15 @@ "symfony/polyfill-php81": { "version": "v1.24.0" }, + "symfony/postmark-mailer": { + "version": "4.4", + "recipe": { + "repo": "github.com/symfony/recipes", + "branch": "main", + "version": "4.4", + "ref": "631f81f2fbf58126ae699a04b1d0984442613a19" + } + }, "symfony/process": { "version": "v4.2.3" },