php artisan event:generate ExecutingDatabase
php artisan make:listener ProcessExecutingDatabase --event=ExecutingDatabase
EventServiceProvider
protected $listen = [
ExecutingDatabase::class => [ProcessExecutingDatabase::class]
];
event(new ExecutingDatabase);
// или
ExecutingDatabase::dispatch();