tommus / stringo
An object oriented solution to strings in php.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/tommus/stringo
Requires
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2025-09-29 02:00:03 UTC
README
An object oriented solution to strings in php.
Usage
// The from method creates a string from a string literal or variable. $string = Stringo::from('hello there'); // Methods that take no arguments can be used statically: $string = Stringo::fromCapitalize('hello'); // Hello $string = Stringo::fromSplit('hi there friend'); // ['hi', 'there', 'friend']
Full API reference coming soon but for now check out the Stringo class and StringTest for usage examples.
Testing
composer test