PHP code example of remp / mailer-skeleton

1. Go to this page and download the library: Download remp/mailer-skeleton library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

remp / mailer-skeleton example snippets

bash
    echo '127.0.0.1 mailer.press' | sudo tee -a /etc/hosts
    
bash
    echo '127.0.0.1 mailhog.mailer.press' | sudo tee -a /etc/hosts
    
bash
php bin/command.php mail:sample-command