remo/fetch-service-provider

Tedivm/Fetch integration for Silex.

dev-master 2013-11-28 16:48 UTC

This package is not auto-updated.

Last update: 2024-03-26 02:26:23 UTC


README

Service provider wrapping Tedivm/Fetch to make its functionality available in Silex.

Sample Usage

// set configuration
$app['fetch.options'] = array(
    'host' => 'localhost',
    'user' => 'root',
    'password' => ''
);

$app->register(new Tedivm\Fetch\FetchServiceProvider());

$mail = $app['fetch'];
$messages = $mail->getMessages();