PHPackages                             x-laravel/str-extend - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. x-laravel/str-extend

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

x-laravel/str-extend
====================

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

v1.0.0(5y ago)0408MITPHPPHP &gt;=7.0

Since Dec 19Pushed 5y agoCompare

[ Source](https://github.com/X-Laravel/str-extend)[ Packagist](https://packagist.org/packages/x-laravel/str-extend)[ RSS](/packages/x-laravel-str-extend/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

Laravel Str Facade Extend
=========================

[](#laravel-str-facade-extend)

[![Latest Stable Version](https://camo.githubusercontent.com/c6b885e4a6014410825616f687f3f85e27b8015b58fb91be594a3d5b2f0cae71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f582d4c61726176656c2f7374722d657874656e64)](https://packagist.org/packages/X-Laravel/str-extend)[![Total Downloads](https://camo.githubusercontent.com/73abfdaf6e2584e298b3dd5b61ad43e1555e9dd2d4a90c538f6b8eb5911acbe1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f582d4c61726176656c2f7374722d657874656e64)](https://packagist.org/packages/X-Laravel/str-extend)[![Dependents](https://camo.githubusercontent.com/7fc4ef05e6c50af745c276a86d0ab6fdf547b51374b9666d8013f225b7b78e8a/68747470733a2f2f706f7365722e707567782e6f72672f582d4c61726176656c2f7374722d657874656e642f646570656e64656e74732e737667)](https://packagist.org/packages/X-Laravel/str-extend)[![License](https://camo.githubusercontent.com/124d1acb3587ec03eb392b707fed0a685d998079b1f7bcfd38fb0758d805d3cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f582d4c61726176656c2f7374722d657874656e64)](https://packagist.org/packages/X-Laravel/str-extend)

[![](https://camo.githubusercontent.com/bd7b24dc8017fc5f5ea1d425619c61694c18a074455913e2a1279745a6c31c4f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f582d4c61726176656c2f7374722d657874656e642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572 "Scrutinizer Code Quality")](https://scrutinizer-ci.com/g/X-Laravel/str-extend/build-status/master)[![StyleCI](https://camo.githubusercontent.com/32b6082391fb3917bd08fc7fb73e8555220b32e6738a0128f81c6738f60f589e/68747470733a2f2f7374796c6563692e696f2f7265706f732f3332323838313335392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/322881359)

Introduction
------------

[](#introduction)

Extends Laravel Str Facade with [X-Adam/string](https://github.com/X-Adam/php-string) package.

Requirements
------------

[](#requirements)

PHP &gt;=7.0. Other than that, this library has no requirements.

Install
-------

[](#install)

```
$ composer require x-laravel/str-extend
```

Example Usage
-------------

[](#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
-------

[](#license)

This package is open source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1976d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bdb64c6c087c331b8bd5906bb1aa7eb06bc83af3654a48ba8ab9da365976651?d=identicon)[X-Adam](/maintainers/X-Adam)

---

Top Contributors

[![X-Adam](https://avatars.githubusercontent.com/u/60411758?v=4)](https://github.com/X-Adam "X-Adam (2 commits)")

### Embed Badge

![Health badge](/badges/x-laravel-str-extend/health.svg)

```
[![Health](https://phpackages.com/badges/x-laravel-str-extend/health.svg)](https://phpackages.com/packages/x-laravel-str-extend)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

20917.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9346.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
