承接 liquidrazor/event-manager 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

liquidrazor/event-manager

最新稳定版本:v0.1.0

Composer 安装命令:

composer require liquidrazor/event-manager

包简介

Deterministic event infrastructure for immutable event contracts, registries, and synchronous dispatch.

README 文档

README

Overview

liquidrazor/event-manager is a PHP 8.3 library for deterministic event infrastructure.

It provides:

  • immutable event contracts
  • kernel-state and process event family markers
  • lockable event registries
  • strict event validation and classification
  • synchronous listener dispatch
  • loader primitives for externally discovered classes

It does not provide:

  • concrete kernel lifecycle events
  • concrete process event catalogs
  • filesystem scanning
  • async or distributed event delivery
  • framework-specific wiring

The package is designed to work alongside discovery tools such as liquidrazor/file-locator and liquidrazor/class-locator, while keeping event semantics outside this repository.

Documentation

Key Guarantees

  • Concrete events must implement exactly one supported family: KernelStateEventInterface or ProcessEventInterface.
  • Dispatch is synchronous and deterministic: listeners are ordered by priority, then by registration sequence.
  • Registries are family-specific and lockable, and the process registry advertises additive-only behavior.
  • Discovery remains external; this package validates and loads discovered metadata but does not scan the filesystem.

Implementation Notes

  • StrictEventValidator performs both event family resolution and validation.
  • DiscoveredEventLoader routes validated DiscoveredClass metadata into the correct registry.
  • KernelEventRegistry and ProcessEventRegistry enforce family segregation, duplicate protection, and lock checks.
  • OrderedListenerProvider and SynchronousEventDispatcher provide explicit, in-process listener execution.

Registry phase timing is architectural policy, not automatic runtime behavior in this package. The code provides locking primitives; the integrating application decides when registries are locked.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 9
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固