Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
<?php
Route::get('notify', function () {
$user = \App\User::find(1);
$user->notify(new \App\Notifications\NewNotification());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment