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
Filip Š edited this page Nov 10, 2018
·
3 revisions
Requirements
MonologPHPMailer requires PHP 5.5.0 or higher, Monolog 1.x or 2.x and PHPMailer 6.x.
Using Composer
The reccomended way to install MonologPHPMailer is with Composer, dependency manager for PHP.
You should just add filips123/monolog-phpmailer to your project dependencies in composer.json. It will also install Monolog and PHPMailer, but it is reccomended to add them manually to composer.json.
Do not forget to run composer install and add require 'vendor/autoload.php'; to your main script.
Manually Installation
Alternatively, you could download all files in directory src from GitHub and then manually include them in your script. You also have to install Monolog and PHPMailer manually.