You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reccomended way to install MonologPHPMailer is with [Composer][link-composer], dependency manager for PHP.
22
+
The recommended way to install MonologPHPMailer is with [Composer][link-composer], a dependency manager for PHP.
25
23
26
24
You should just add `filips123/monolog-phpmailer` to your project dependencies in `composer.json`. It will also install Monolog and PHPMailer, but it is recommended to add them manually to `composer.json`.
27
25
@@ -39,11 +37,11 @@ Do not forget to run `composer install` and add `require 'vendor/autoload.php';`
39
37
40
38
### Manually Installation
41
39
42
-
Alternatively, you could download all files in directory[`src`][link-handlers] from GitHub and then manually include them in your script. You also have to install Monolog and PHPMailer manually.
40
+
Alternatively, you could download all files in the[`src`][link-handlers] directory from GitHub and then manually include them in your script. You also have to install Monolog and PHPMailer manually.
43
41
44
42
## Usage
45
43
46
-
You should just add handler `MonologPHPMailer\PHPMailerHandler` to your logger. It's first argument must be PHPMailer instance.
44
+
You should just add the handler `MonologPHPMailer\PHPMailerHandler` to your logger. Its first argument must be a PHPMailer instance.
47
45
48
46
## Example
49
47
@@ -89,9 +87,11 @@ $logger->alert('Something went wrong!');
89
87
```
90
88
91
89
## Versioning
90
+
92
91
This library uses [SemVer][link-semver] SemVer for versioning. For the versions available, see the [tags on this repository][link-tags].
93
92
94
93
## License
94
+
95
95
This library is licensed under the MIT license. See the [LICENSE][link-license-file] file for details.
0 commit comments