for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
'Illuminate\Auth\Events\Login' => [
'App\Listeners\LogSuccessfulLogin',
],
'Illuminate\Auth\Events\Failed' => [
'App\Listeners\LogFailedLogin',
'App\Events\UserCreated' => [
'App\Listeners\LogUserCreated',
'App\Events\UserUpdated' => [
'App\Listeners\CheckUserRole',
'App\Listeners\LogUserUpdated',
'App\Events\JobSaved' => [
'App\Listeners\SendScreenCandidatesEmail',
'App\Listeners\RecordJobStatusTransition',
'App\Listeners\JobPosterQuestionInitializer',
'App\Events\ApplicationRetrieved' => [
'App\Listeners\LogApplicationRetrieved',
'App\Events\ApplicationSaved' => [
'App\Listeners\ApplicationStatusChanged',
];
* Register any events for your application.
* @return void
public function boot(): void
parent::boot();
}