This is an basic wrapper around the Laravel Mailer and provides a chainable api for constructing a mail message.
Please note that this package is in development and no stable version has been reached so far.
$ composer require thinktomorrow/sling
$sling->to('firstname.lastname@example.org','Ben Cavens')->from('email@example.com','Ben Cavens')->subject('This is a mail for you!')->template('mails.invite') // blade view->data(['name'=>'Ben Cavens']) // parameters for view->send();
Please see CHANGELOG for more information what has changed recently.