plugin-event-handler

Official

Add and register Hyper-V event listeners in Plugin.php

Authormyadmin-plugins
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Adds or modifies event handler methods in src/Plugin.php for the Detain\MyAdminHyperv namespace using Symfony GenericEvent. Use when user says 'add event', 'hook into', 'register listener', 'plugin event', or extends Plugin.php functionality with new event subscriptions. References getSoapClientParams() and getHooks() patterns. Do NOT use for standalone bin/ scripts or bin/async/ scripts.

Core Features & Use Cases

  • Public static function handlers for HyperV events
  • Hooks registration in getHooks() to ensure firing
  • Guard against non-HYPERV events and maintain compatibility with existing Plugin
  • Safe logging and propagation control to coordinate with other listeners

Quick Start

Use the plugin event handler to extend Plugin.php by defining a new public static method that accepts a GenericEvent and registering it in getHooks().

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: plugin-event-handler
Download link: https://github.com/myadmin-plugins/hyperv-vps/archive/main.zip#plugin-event-handler

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.