plugin-hook

Official

Easily add Symfony event hooks to your plugin.

Authormyadmin-plugins
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Adds a new Symfony EventDispatcher hook to the plugin to extend behavior without editing core files.

Core Features & Use Cases

  • Allows registering event handlers via getHooks() following the established naming conventions.
  • Ensures each hook has a matching public static method on Plugin and uses self::$module prefix for module-scoped events.
  • Helps maintain test coverage by updating test expectations when hooks are added.

Quick Start

Create a new public static handler in Plugin.php and register it in getHooks() following the established pattern.

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-hook
Download link: https://github.com/myadmin-plugins/opensrs-domains/archive/main.zip#plugin-hook

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 471,000+ vetted skills library on demand.