定制 mvccore/ext-view-helper-linebreaks 二次开发

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

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

mvccore/ext-view-helper-linebreaks

Composer 安装命令:

composer require mvccore/ext-view-helper-linebreaks

包简介

MvcCore - Extension - View - Helper - Line Breaks - processing any visible text content for non-line breaking spaces.

README 文档

README

Latest Stable Version License PHP Version

MvcCore View Helper extension for processing any visible text content for non-line breaking spaces. Spaces between digits like 9 999 are replaced into 9 999 automatically.

Installation

composer require mvccore/ext-view-helper-linebreaks

Configuration

You can configure to not break line:

  • after any custom weak word (mostly conjunctions) by language
  • inside custom text shortcuts (example: U. S.) by language
  • between digits and it's configured units

Example

Template code:

<p><?php
	// Earth diameter: 6&nbsp;378&nbsp;km. (or&nbsp;6&nbsp;378&nbsp;000&nbsp;m)
	echo $this->LineBreaks(
		'Earth diameter: 6 378 km (or 6 378 000 m).'
	);
?></p>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-01-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固