wernerdweight / stringy
Generic enhanced exception to be used in other projects
Installs: 2 858
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=8.1
- ext-mbstring: *
- thecodingmachine/safe: ^2.4
- wernerdweight/enhanced-exception: ^2.0
Requires (Dev)
README
PHP Stringy object with consistent and predictable API
Instalation
- Download using composer
composer require wernerdweight/stringy
- Use in your project
use WernerDweight\Stringy\Stringy; $stringy = new Stringy('This is a string'); echo $string ->toLowercase() // this is a string ->replace(' ', '-') // this-is-a-string ->convertCase(Stringy::KEBAB, Stringy::PASCAL) // ThisIsAString ->reverse(); // gnirtSAsIsihT
API
TODO: