arabcoders / utext
String manipulation library
Installs: 253
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/arabcoders/utext
Requires
- php: >=8.0
- ext-mbstring: *
README
based on the laravel/support
string class.
The purpose of this library is to abstract away the underlying string functions. instead of relying on mbstring or intl functions directly.
Install
Via Composer
$ composer require arabcoders/utext
Usage Example.
<?php require __DIR__ . 'vendor/autoload.php'; use \arabcoders\utext\UText; echo (new UText('foo'))->upper(); // -- or you could use the shortcut function auto included by the package. echo u('foo')->upper();