定制 fluentdom/html5 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fluentdom/html5

最新稳定版本:2.0.0

Composer 安装命令:

composer require fluentdom/html5

包简介

HTML5 support for FluentDOM

README 文档

README

License CI Total Downloads Latest Stable Version Latest Unstable Version

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
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-09