x-laravel/str-extend

Extends Laravel Str Facade with X-Adam/string package.

v1.0.0 2020-12-19 15:50 UTC

This package is auto-updated.

Last update: 2023-03-19 20:49:30 UTC


README

Latest Stable Version Total Downloads Dependents License

68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f582d4c61726176656c2f7374722d657874656e642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572 StyleCI

Introduction

Extends Laravel Str Facade with X-Adam/string package.

Requirements

PHP >=7.0. Other than that, this library has no requirements.

Install

$ composer require x-laravel/str-extend

Example Usage

# Make a string's multiple space characters clear.
echo Str::multipleSpaceClear('a b  c   d     e');
# Result: 'a b c d e'.

License

This package is open source software licensed under the MIT license.