mralston/laravel-additional-string-helpers

Adds additional helpers to Laravel's Str and Stringable helpers.

v1.0.9 2024-04-29 22:26 UTC

This package is auto-updated.

Last update: 2024-11-29 23:38:29 UTC


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()