aeruz/app-registry-common
最新稳定版本:1.0.0
Composer 安装命令:
composer require aeruz/app-registry-common
包简介
Common components for the Aeruz application registry (interfaces, models, and exceptions).
README 文档
README
This library provides a set of common elements (interfaces, traits, exceptions) shared by the server and client components of the Applications Registry application.
Installation
You can install this library via Composer:
composer require aeruz/app-registry-common
Content
The library is structured around two main axes:
Models (Interfaces & Traits)
It defines the base contracts for the applications managed in the registry:
ApplicationInterface: Base contract defining the properties of an application (identifier, type, label, description, etc.).DraftApplicationInterface: Interface for applications currently being drafted.PublishedApplicationInterface: Interface for published applications.ApplicationTrait: Default implementation ofApplicationInterfaceproperties using PHP 8.4 property hooks.
Exceptions
AppRegistryExceptionInterface: Base interface for all registry exceptions, also defining standard error codes ( unknown application, locked, disabled, etc.).
Prerequisites
- PHP 8.4 or higher.
License
This project is licensed under the MIT License. See the LICENSE file for details.
统计信息
- 总下载量: 246
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-14