You can accept any parameters you want in the compose() method (and actually name it whatever you like). The important part is that you call the getMail() method on the base class. This will return a CodeZero\Mailer\Mail object, that you use to send() the message.
// Make or inject your mail composer class
$mail = app()->make('App\WelcomeMailComposer');
// Compose and send
$mail->compose('firstname.lastname@example.org', 'Example Name')->send();
This will call Laravel's Mail::queue() behind the scenes.
$ vendor/bin/phpspec run
If you discover any security related issues, please e-mail me instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.