samluvanda/str 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

samluvanda/str

最新稳定版本:v2.0.0

Composer 安装命令:

composer require samluvanda/str

包简介

A fluent, chainable string utility class for PHP.

README 文档

README

A fluent, chainable string utility class for PHP.

📦 Installation

composer require samluvanda/str

🚀 Basic Usage

use Str\Str;

$str = new Str("Hello World");
echo $str->toUpperCase()->toString(); // HELLO WORLD

💡 Features

  • Unicode-safe string manipulation
  • Fluent and expressive method chaining
  • Over 70 built-in operations: trimming, padding, splitting, formatting, validation, and more
  • Designed for clean, readable, and testable PHP code

🧩 Integrations

Works with any PHP application or framework. Ideal for projects requiring expressive and testable string handling logic.

📘 Documentation

Full API reference is available in API.md

🛠 Requirements

  • PHP 8.1 or higher
  • mbstring extension
  • intl extension

📄 License

This project is open-sourced under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-07