wp-oop/wordpress-interface
最新稳定版本:v0.1.0-alpha2
Composer 安装命令:
composer require wp-oop/wordpress-interface
包简介
Interfaces for interop within WordPress
README 文档
README
Interfaces for interop within WordPress.
Details
Often, multiple packages need to operate on the various aspects of WordPress, while centralizing them. Unfortunately, many of these aspects are not represented by any type in WordPress. An example of this is a modular plugin, where each module needs to independently interface with such a part of WordPress that is centralized, like a Plugin or Post entity.
Also, it can be useful to write code that addresses a specific aspect of WordPress, and type-safety is desirable, but WordPress feels too bulky to include. While WordPress can be added as a dev-dependency, the dependency graph will not reflect these hidden requirements. For example, a Post type would be useful to represents a post.
In addition, some modules can be developed in a way to be usable in a variety of platforms. In these cases it would be necessary to rely on a proprietary standard.
This interop standard aims to address the above concerns by providing types for common aspects of WordPress.
统计信息
- 总下载量: 86.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-19