承接 ssolweb/string-morpher 相关项目开发

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

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

ssolweb/string-morpher

最新稳定版本:v1.1.3

Composer 安装命令:

composer require ssolweb/string-morpher

包简介

A powerful string manipulation library

README 文档

README

String Morpher A powerful and versatile string manipulation library designed for developers who need efficient and intuitive solutions for modifying and masking strings.

Status

Build Status Packagist Version Packagist License

Documentation

To see how to use and more details visit: documentation

You can start installing:

composer require ssolweb/string-morpher

Use:

use SSolWEB\StringMorpher\StringMorpher as SM;

// you can chain methods
$string = SM::make($string)
    ->trim()
    ->replace('fox', 'dog')
    ->sub(5, 20)
    ->toLower();

$captalizedAlpha = SM::onlyAlpha($string)
    ->captalize();

$pascalCase = SM::captalize($string)
    ->withoutSpaces();

// and use like a string
echo $string;
echo $captalizedAlpha;
$json = json_encode(['data' => $pascalCase]);

// or return string primitive string value
echo $string->getString();

Contributing

Please see the contributing entry for more details.

Credits

Vinicius de Santana

License

The package is open source software licensed under the MIT LICENSE.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固