Skip to content

Instantly share code, notes, and snippets.

@hapidjus
Created December 16, 2019 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hapidjus/99e15f2f33272959cb46e183cce2bdaa to your computer and use it in GitHub Desktop.
Save hapidjus/99e15f2f33272959cb46e183cce2bdaa to your computer and use it in GitHub Desktop.
Test Laravel mailables in browser
Route::get('mailable', function () {
$ticket = App\BidCollection::find(1)->first();
$user = Auth::user();
return (new App\Notifications\BidInvite($ticket, $user))
->toMail($user);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment