drupal-events

Community

Orchestrate Drupal events with PSR-14 subscribers.

Authoredutrul
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides guidance to implement and reason about Drupal's event-driven architecture using PSR-14 event subscribers, KernelEvents, and services.yml tags, helping teams decide between subscribers and hooks.

Core Features & Use Cases

  • Guidance on when to use event subscribers vs OOP hooks in Drupal 11
  • Examples of subscribing to KernelEvents and configuring subscribers via services.yml
  • Use cases across HTTP lifecycle, routing, and custom event handling

Quick Start

Create a minimal module and implement a KernelEvents::REQUEST subscriber that logs each request.

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: drupal-events
Download link: https://github.com/edutrul/drupal-ai/archive/main.zip#drupal-events

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.