Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera uno-de-piera/routes.php Secret
Created May 29, 2018

Embed
What would you like to do?
<?php
Route::get('notify', function () {
(new User)->forceFill([
'name' => request('name'),
'email' => request('email'),
])->notify(new \App\Notifications\NewNotification());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.