Laravel.io
$user->notify(new VerifyEmail());

return response()->json([
    'status' => true,
    'messages' => [
        [__('auth.register_success')]
    ],
], 200);

Please note that all pasted data is publicly available.