garrettw / stringobject
PHP class that wraps most if not all of the string manipulation functions, so that you can work with strings as objects
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/garrettw/stringobject
Requires
- php: >=8.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- phpspec/phpspec: ^7.5
- phpstan/phpstan: ^1.12
This package is auto-updated.
Last update: 2025-09-25 02:37:49 UTC
README
The goal of this library is to provide an object interface to interact with strings, in conjunction with handling UTF-8 strings just as smoothly and painlessly as ASCII strings while adding in additional features.
Usage
TODO
- Write tests for Utf8String
- Work on normalization code
- Consider using a different testing framework because nobody uses PhpSpec... PHPUnit, Codeception, or Pest
- Flesh out devcontainer config with extensions