承接 makinacorpus/php-header-fixer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

makinacorpus/php-header-fixer

Composer 安装命令:

composer require makinacorpus/php-header-fixer

包简介

Fixes headers in HTML text

README 文档

README

Header fixer

Usage

Fixes header semantic hierarchy in HTML text.

$fixedHtmlText = \MakinaCorpus\HeaderFixer\Header::fix($originalHtmlText, 0, true);

And that is pretty much it.

Options are:
  • 0 is the decal, if you, for example, want the text to start with h2 instead of h1, then set 1 here, for h3 set 2, etc...
  • true is the relocate orphans options, if set to true, when a title is the single one at his own level, with no siblings, it will be put at a higher level side by side its parent.

TODOLIST

  • implement a generic twig filter
  • implement a drupal 7 module (another repo, including jolitypo)
  • implement a drupal 8 module (another repo, including jolitypo)

统计信息

  • 总下载量: 446
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 12
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-04-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固