ziyodulloxon / string-helper
Do something with your strings
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/ziyodulloxon/string-helper
Requires
- php: >=8.0
- ext-mbstring: *
README
$src = "It is a long established fact that a reader will be distracted by the readable content of a page when" . "looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution" . "of letters, as opposed to using 'Content here, content here', making it look like readable English."; $string = \Ziyodulloxon\StringHelper\Facades\Str::capitalize($src); $words = $string->splitToSentences()->capitalizeAll()->get(); echo $words;