定制 super-kernel/contract 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

super-kernel/contract

Composer 安装命令:

composer require super-kernel/contract

包简介

Core interface definitions for the Super Kernel framework.

README 文档

README

Latest Stable Version License

super-kernel/contract contains the small set of interfaces shared by Super Kernel core packages. It defines the runtime contracts for containers, application execution, attribute metadata, package discovery, class loading, reflection, logging, scanning, path resolution, and event listeners.

The package is intentionally implementation-light. It depends only on the PSR interfaces that its own interfaces extend: PSR-11 for containers and PSR-3 for logging.

Installation

Requires PHP 8.4 or later.

composer require super-kernel/contract

Attribute Metadata

PHP attributes are represented through two contracts:

  • AttributeMetadataInterface describes one collected attribute instance and its declaring target.
  • AttributeCollectorInterface exposes target-based and attribute-class-based lookup methods.

Supported targets are classes, methods, properties, class constants, and method parameters. The package uses Attribute terminology directly; older Annotation naming is intentionally not part of the core contract.

Core Boundaries

Core packages should depend on these interfaces instead of concrete implementations. Implementations may use any runtime library internally, but those choices should not leak into this package unless the interface itself extends an external standard.

License

The Super Kernel Contracts package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固