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
mbstringextensionintlextension
📄 License
This project is open-sourced under the MIT license.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-07