定制 mchljams/spun 二次开发

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

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

mchljams/spun

Composer 安装命令:

composer require mchljams/spun

包简介

PHP Library to process strings containing spintax syntax.

关键字:

README 文档

README

PHP string/text spinning library using spintax.

How To Use

$spun = new Spun;

$spun->str = "This is a string that {includes|contains|holds} choices you can spin.";

$new_string = $spun->spin();

One Possible Result

This is a string that holds choices you can spin.

Proposed Features

  1. Nesting
  2. Configurable Syntax (Use delimiters other than curly braces)

Unit Tests

Run Unit Tests

Change directory to the root of this package and run:

./vendor/bin/phpunit

Run Unit Tests With HTML Coverage Report

./vendor/bin/phpunit --coverage-html coverage

Code Linting

Using PHP_CodeSniffer

Developed using the PSR-2 Standard

./vendor/bin/phpcs --standard=PSR2 ./src

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-02-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固