File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -20,31 +20,31 @@ Symfony bundle for handling Mailjet API V3 using this wrapper: <https://github.c
20
20
21
21
## Setup
22
22
23
- Add bundle to your project:
24
-
25
- ``` bash
26
- composer require mailjet/mailjet-bundle
27
- ```
28
-
29
- Add ` Mailjet\MailjetBundle\MailjetBundle ` to your ` AppKernel.php ` :
23
+ Add ` Mailjet\MailjetBundle\MailjetBundle ` to your ` bundles.php ` :
30
24
31
25
``` php
32
26
$bundles = [
33
27
// ...
34
- new Mailjet\MailjetBundle\MailjetBundle(),
28
+ Mailjet\MailjetBundle\MailjetBundle::class => ['all' => true]
35
29
];
36
30
```
37
31
38
32
## Minimal Configuration
39
33
40
- In your ` config.yml ` :
34
+ In your ` config.yml ` add :
41
35
42
36
``` yaml
43
37
mailjet :
44
38
api_key : " %mailjet.api_key%"
45
39
secret_key : " %mailjet.secret_key%"
46
40
` ` `
47
41
42
+ Add bundle to your project:
43
+
44
+ ` ` ` bash
45
+ composer require mailjet/mailjet-bundle
46
+ ```
47
+
48
48
## ToDo
49
49
50
50
* More unit tests
Original file line number Diff line number Diff line change 32
32
"require" : {
33
33
"php" : " >=5.6" ,
34
34
"mailjet/mailjet-apiv3-php" : " ^1.2" ,
35
- "mailjet/mailjet-swiftmailer" : " ^1.0 "
35
+ "mailjet/mailjet-swiftmailer" : " dev-develop "
36
36
},
37
37
"require-dev" : {
38
38
"phpspec/phpspec" : " ~2@dev" ,
39
- "symfony/symfony" : " ~2.7 | ~3.0 "
39
+ "symfony/symfony" : " ~4.0 | ~4.1 "
40
40
},
41
41
"config" : {
42
42
"bin-dir" : " bin"
You can’t perform that action at this time.
0 commit comments