<?php 

use li3_swiftmailer\mailer\Transports;

Transports::config(array('default' => array(
    'adapter' => 'Smtp',
    'host' => 'smtp.google.com',
    'port' => 587,
    'encryption' => 'tls',
    'username' => 'you@gmail.com',
    'password' => '#########'
)));

?>