publishesMigrations([ "{$root}/database/migrations" => database_path('migrations'), ], "{$ns}:migrations"); $this->mergeConfigFrom("$root/config/auth_log.php", 'auth_log'); $this->publishes([ "{$root}/config/auth_log.php" => config_path('auth_log.php'), ], "{$ns}:config"); if (config('auth_log.enabled')) { Event::subscribe(AuthSubscriber::class); } } }