定制 goblindegook/delimiter-align 二次开发

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

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

goblindegook/delimiter-align

最新稳定版本:0.2.0

Composer 安装命令:

composer require goblindegook/delimiter-align

包简介

Aligns and rebalances plain text multiline strings around a delimiter.

README 文档

README

Aligns and rebalances plain text multiline strings around a delimiter.

In short, it turns this:

one: 1
two: 2
three: 3

into this:

one:   1
two:   2
three: 3

Installation

Install using Composer by running the following in your project directory:

$ composer require goblindegook/delimiter-align

Description

string delimiter_align ( string $string [, string $delimiter ] [, array $options ] );

Aligns and rebalances plain text multiline strings around a delimiter.

Parameters

string

Multiline string to align.

delimiter

Boundary string to align around. (Optional, defaults to :.)

options

Alignment options:

Option Description Default
before String prepended to the padded delimiter. (empty)
after String appended to the padded delimiter. ' '
pad Padding character. ' '
right Align the delimiter by placing padding on the left. false

Return Value

Returns the string aligned around the provided delimiter.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-08-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固