fluentdom/html5
最新稳定版本:2.0.0
Composer 安装命令:
composer require fluentdom/html5
包简介
HTML5 support for FluentDOM
关键字:
README 文档
README
Adds support for HTML5 to FluentDOM. It adds a loader and a serializer. It uses the HTML5-PHP library.
Installation
composer require fluentdom/html5
Loader
The loader registers automatically. You can trigger it with the types html5 and text/html5.
$document = FluentDOM::load($html5, 'text/html5'); $query = FluentDOM($html5, 'text/html5');
Serializer
The serializer needs to be created with a document and can be cast into a string.
echo new FluentDOM\Html5\Serializer($document);
Casting a Nodes/Query instance to a string will use it if the content type matches:
$query = FluentDOM($html5, 'text/html5'); echo $query;
统计信息
- 总下载量: 27.87k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-09