PHPackages                             larabra/str - 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. larabra/str

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

larabra/str
===========

Laravel Illuminate\\Support\\Str extended

v1.0.1(6y ago)09MITPHPPHP &gt;=5.4.0

Since Nov 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/larabra/str)[ Packagist](https://packagist.org/packages/larabra/str)[ RSS](/packages/larabra-str/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Laravel Illuminate\\Support\\Str extended
=========================================

[](#laravel-illuminatesupportstr-extended)

[![Latest Stable Version](https://camo.githubusercontent.com/71da4e3aa1e905d62650e36b3cfbcb4227fc5c8d021a8fcb8c532e24c5efcd9d/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616272612f7374722f762f737461626c65)](https://packagist.org/packages/larabra/str)[![Total Downloads](https://camo.githubusercontent.com/a68674b92b2d3aa9902509f4faefd8db979f091a561322321ae61d943b6765a3/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616272612f7374722f646f776e6c6f616473)](https://packagist.org/packages/larabra/str)[![License](https://camo.githubusercontent.com/5bfcc0ffcb03b4ff32a4bed686657df11bd74bef2ee107eb7f2ed6615606548a/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616272612f7374722f6c6963656e7365)](https://packagist.org/packages/larabra/str)

MethodHelperDescription`Str::sanitizeName(string $string): string``str_sanitize_name(string $string): string`Sanitize names removing diacritics, changing to uppercase and removing duplicate blank spaces`Str::sanitizeNumber(string $string): string``str_sanitize_number(string $string): string`Sanitize numbers removing non-numeric characters. Very useful to unmask documents or phone number`Str::metaphone(string $string): string``str_metaphone(string $string): string`Metaphone is a phonetic algorithm for indexing words by their pronunciationInstallation
------------

[](#installation)

**Step 1**: Install package via Composer

```
composer require larabra/str
```

**Step 2**: If you are using Laravel 5, include the service provider within your `config/app.php` file.

```
'providers' => [
    Larabra\Str\LarabraStrServiceProvider::class,
];
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2372d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ebaf03cd796b8fbb403b40d6d7ba4f0eaa080f519da77f57e488ee7993ab519b?d=identicon)[enniosousa](/maintainers/enniosousa)

---

Top Contributors

[![enniosousa](https://avatars.githubusercontent.com/u/8731370?v=4)](https://github.com/enniosousa "enniosousa (1 commits)")

---

Tags

phpmetaphone

### Embed Badge

![Health badge](/badges/larabra-str/health.svg)

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[monicahq/laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

3372.7M4](/packages/monicahq-laravel-cloudflare)[kra8/laravel-snowflake

Snowflake for Laravel and Lumen.

188402.3k6](/packages/kra8-laravel-snowflake)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)

PHPackages © 2026

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