paladindigital/structured-data
Composer 安装命令:
composer require paladindigital/structured-data
包简介
Framework agnosting package to generate structured-data snippets in json-ld format.
README 文档
README
A framework agnostic package to assist in creating valid Schema.org Json-LD.
Installation
composer require paladindigital/structured-data
Usage
The package contains a class for each (implemented) schema.org type (if the type you desire isn't implemented feel free to raise a pull request or issue).
The package is used by feeding the classes into the appropriate heirarchy, you start with your desired type, then create a jsonld object and pass your custom type in the constructor. You then call render on your object in the appropriate place in your templates.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2017-12-29