[GH-ISSUE #106] Trait 'Illuminate\Foundation\Events\Dispatchable' not found #517

Closed
opened 2026-03-14 12:02:50 +03:00 by kerem · 1 comment
Owner

Originally created by @InumanSoul on GitHub (Jun 2, 2018).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/106

The events files on google2fa-laravel/src/events not work for me on laravel 5.2.45, then i upgrade to 5.3 and still not work, i try to delete the Dispatchable and everything works fine, but i dont know how this affect other things... The event request example working for me are this

user = $user; } }
Originally created by @InumanSoul on GitHub (Jun 2, 2018). Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/106 The events files on google2fa-laravel/src/events not work for me on laravel 5.2.45, then i upgrade to 5.3 and still not work, i try to delete the Dispatchable and everything works fine, but i dont know how this affect other things... The event request example working for me are this <?php namespace PragmaRX\Google2FALaravel\Events; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Queue\SerializesModels; class OneTimePasswordRequested53 { use InteractsWithSockets, SerializesModels; public $user; /** * Create a new event instance. * * @param $user */ public function __construct($user) { $this->user = $user; } }
kerem closed this issue 2026-03-14 12:02:55 +03:00
Author
Owner

@antonioribeiro commented on GitHub (Oct 7, 2018):

Could you please open this one in the Laravel package?

<!-- gh-comment-id:427616001 --> @antonioribeiro commented on GitHub (Oct 7, 2018): Could you please open this one in the Laravel package?
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/google2fa#517
No description provided.