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-05-29 22:44:13 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()