承接 codemasher/uwuify 相关项目开发

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

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

codemasher/uwuify

Composer 安装命令:

composer require codemasher/uwuify

包简介

String uwuifying library for PHP

README 文档

README

Uwuify any sentence or word with various options.

PHP version >= 8.0 License MIT Download counts, Sorry for screen reader.

Installation

composer require nemo9l/uwuify
composer install

Usage

Basic usage

$uwuifier = new Nemo9l\Uwuify\Uwuify();
$result = $uwuifier->uwuify('Uwuify any sentence or word with various options.');

Advanced usage

// (float $regexModifier = null, float $exclamationModifier = null, array $spaceModifier = [])
$uwuifier = new Nemo9l\Uwuify\Uwuify(0.75, 0.75, [ 'faces' => 0.025, 'actions' => 0.025, 'stutter' => 0.05 ]);
$result = $uwuifier->uwuify('Uwuify any sentence or word with various options.');

$regexModifier

$regexModifier property affects what percentage of regex(defined at static $_regexMaps) replacements will be applied to the sentence.
Default value is 1.0 which means 100% of regex replacements will be applied.

$exclamationModifier

$exclamationModifier property affects what percentage of exclamation marks(defined at static $_exclamations) will be replaced.

$spaceModifier

$spaceModifier property affects what percentage of spaces will be replaced with various options. It can be an array with following keys:

  • faces - affects what percentage of spaces will be replaced with faces(defined at static $_faces).
  • actions - affects what percentage of spaces will be replaced with actions(defined at static $_actions).
  • stutter - affects what percentage of spaces will have some appends to make it stutter.

License

This project is licensed under the MIT License - see the LICENSE file for details

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固