sitegeist / pyranodis
v2.0.0
2023-08-28 12:07 UTC
Requires
- php: ^8.2
- neos/neos: ^9.0
- sitegeist/noderobis: *
Requires (Dev)
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.7
README
Neos 节点类型的 CLI 启动器,使用 schema.org
作者与赞助商
- Bernhard Schmitt - schmitt@sitegeist.de
此包的开发和公共发布得到了我们雇主http://www.sitegeist.de的大力赞助。
安装
Sitegeist.Pyranodis 可通过 packagist 获取,可以使用命令 composer require sitegeist/pyranodis
进行安装。
我们使用语义版本控制,每次重大更改都会增加主版本号。
使用方法
此包通过使用 schema.org 发布的语言来建议节点类型和属性,扩展了 Sitegeist.Noderobis (https://github.com/sitegeist/Sitegeist.Noderobis) 的节点类型启动功能。
创建节点类型的命令
./flow kickstart:nodetypefromschemaorg [<options>] <className>
ARGUMENTS:
--className A valid schema.org class name, e.g. "Event"
OPTIONS:
--package-key (optional) package, uses fallback from configuration
--prefix (optional) the node type prefix, e.g. "Document"
此命令将启动一个交互式向导,引导用户通过节点类型指定过程,基于 schema.org API 提供的信息和现有的节点类型。
规范细化
可以使用 Noderobis 的工具集细化准备好的规范,请参阅https://github.com/sitegeist/Sitegeist.Noderobis上的相应文档。
贡献
我们乐意接受贡献。请发送给我们 pull 请求。