remo / fetch-service-provider
Tedivm/Fetch integration for Silex.
dev-master
2013-11-28 16:48 UTC
Requires
- tedivm/fetch: ~0.4
This package is not auto-updated.
Last update: 2024-11-05 05:21:13 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();