s-mcdonald / stringfluent
Powerful and chainable String utility for PHP.
Installs: 7
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/s-mcdonald/stringfluent
Requires
- php: >=8
- ext-ctype: *
- ext-mbstring: *
Requires (Dev)
- mockery/mockery: 1.5.1
- phpunit/phpunit: ^10
This package is auto-updated.
Last update: 2025-10-16 13:32:04 UTC
README
Stringfluent is a String helper that allo you to easily manipulate strings using a fluent and chainable syntax with Multibyte support baked in.
$str = Stringfluent::create(" any form of string, or stringable interface can be used. "); $str->toUpperCase()->trim()->truncate(3); // ANY $str = Stringfluent::create("プログラミングはクールです"); $str->containsMultibyteCharacters(); // true
Documentation
Installation
Via Composer. Run the following command from your project's root.
composer require s-mcdonald/stringfluent
Dependencies
- Php 8.0
- extension "ext-mbstring"
- extension "ext-ctype"
- extension "ext-alpha"
- extension "ext-punct"
- extension "ext-graph"
- extension "ext-http"
License
Stringfluent is licensed under the terms of the MIT License (See LICENSE file for details).