mralston / laravel-additional-string-helpers
Adds additional helpers to Laravel's Str and Stringable helpers.
v1.0.9
2024-04-29 22:26 UTC
Requires
- php: ^7.3|^8.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
README
Description
Adds additional helpers to Laravel's Str and Stringable helpers.
Installation
Require Laravel Additional String Helpers using Composer:
composer require mralston/laravel-additional-string-helpers
The package will automatically register itself.
Additional string helpers provided by this package:
Str::markdown()
Str::pluralPhrase()
Stringable::pluralPhrase()
usage:Str::of('the item')->pluralPhrase()
Str::humanise()
Stringable::humanise()
usage:Str::of('the_item')->humanise()