Skip to content

Commit

Permalink
OP-446 - Add mailer file
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPalen committed Jul 30, 2024
1 parent 1f3c257 commit a34b718
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This **open-source plugin was developed to help the Sylius community**. If you h

We work on stable, supported and up-to-date versions of packages. We recommend you to do the same.
```bash
$ composer require bitbag/quadpay-plugin
composer require bitbag/quadpay-plugin
```

Add plugin dependencies to your `config/bundles.php` file:
Expand Down Expand Up @@ -82,13 +82,13 @@ parameters:

Install assets:

```
$ bin/console assets:install
```bash
bin/console assets:install
```
Clear cache:

```
$ bin/console cache:clear
```bash
bin/console cache:clear
```
Add widget to product page: `show.html.twig`
```twig
Expand Down
13 changes: 1 addition & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"license": "MIT",
"require": {
"php": "^8.0 || ^8.1 || ^8.2 || ^8.3",
"sylius/sylius": "~1.12.0",
"sylius/sylius": " ~1.12.0 || ~1.13.0 ",
"symfony/webpack-encore-bundle": "^1.16",
"php-http/message-factory": "^1.1"
},
Expand Down Expand Up @@ -54,17 +54,6 @@
"phpstan/extension-installer": false
}
},
"scripts": {
"post-install-cmd": [
"php bin/create_node_symlink.php"
],
"post-update-cmd": [
"php bin/create_node_symlink.php"
],
"post-create-project-cmd": [
"php bin/create_node_symlink.php"
]
},
"autoload": {
"psr-4": {
"BitBag\\SyliusQuadPayPlugin\\": "src/",
Expand Down
3 changes: 3 additions & 0 deletions tests/Application/config/packages/mailer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
framework:
mailer:
dsn: '%env(MAILER_DSN)%'

0 comments on commit a34b718

Please sign in to comment.