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

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

pragmarx/ia-str
===============

Laravel Illuminate Agnostic Str

v7.3.1(3y ago)523.5M—0.5%11[3 issues](https://github.com/antonioribeiro/ia-str/issues)5MITPHPPHP &gt;=7.0

Since Jan 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/antonioribeiro/ia-str)[ Packagist](https://packagist.org/packages/pragmarx/ia-str)[ Docs](https://github.com/antonioribeiro/ia-str)[ RSS](/packages/pragmarx-ia-str/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (16)Used By (5)

IlluminateAgnostic \\ Str
=========================

[](#illuminateagnostic--str)

 [![Latest Stable Version](https://camo.githubusercontent.com/ed660b2789ed3a24224de32fea2d244754607b68366f1c76f4516d18e9daf35f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707261676d6172782f69612d7374722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pragmarx/ia-str) [![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE) [![Code Quality](https://camo.githubusercontent.com/d7f675cdc0ec229d0590e521ee6410592fb10337699f1a29aaacc42ffa9fd940/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f616e746f6e696f7269626569726f2f69612d7374722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/antonioribeiro/ia-str/?branch=master) [![Build](https://camo.githubusercontent.com/d50f84c3e26fba1d0346aeff3ea33b3d9db880dfbcca4a2c671926bf40bc2cd8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616e746f6e696f7269626569726f2f69612d7374722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/antonioribeiro/ia-str) [![Downloads](https://camo.githubusercontent.com/6695aea4285f5a5875507954931775f2f784347a79dab7887cdb5096bb8fd356/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707261676d6172782f69612d7374722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pragmarx/ia-str)

 [![Coverage](https://camo.githubusercontent.com/3da1262a11f1115c44760ccf906cc8215f2550ac32cc46d3302f68dd2c0e27eb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f616e746f6e696f7269626569726f2f69612d7374722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/antonioribeiro/ia-str/?branch=master) [![StyleCI](https://camo.githubusercontent.com/c5004059788cc91bd37898df20836c570529112c68493c9b55966b7df21cde4b/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131393630353636332f736869656c64)](https://styleci.io/repos/119605663) [![PHP](https://camo.githubusercontent.com/5ba5918c23b3078d4ed1bc9c4c6dc152f1e279639ceb34b7e1940bc9645e0fc2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e302532302d2d253230372e332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/antonioribeiro/ia-str)

This package is an extraction of the [Laravel's Illuminate\\Support\\Str](https://github.com/laravel/framework/blob/5.5/src/Illuminate/Support/Str.php) class, including all helpers, repackaged to be agnostic and available to any PHP project.

It has its own namespace **(IlluminateAgnostic\\Str)**, so you can use it even on Laravel apps without risking a namespace conflict.

You can find some documentation on the available helpers here: .

Install
-------

[](#install)

Via Composer

```
$ composer require pragmarx/ia-str
```

Usage
-----

[](#usage)

```
use IlluminateAgnostic\Str\Support\Str;

Str::endsWith('Jönköping', 'ing')

// or

str_endswith('Jönköping', 'ing')
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- This package is an extraction of The Laravel Framework, created by [Taylor Otwell](https://twitter.com/taylorotwell).
- Package creator [Antonio Carlos Ribeiro](https://twitter.com/iantonioribeiro)
- [Contributors](https://github.com/antonioribeiro/ia-str/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~120 days

Recently: every ~316 days

Total

15

Last Release

1350d ago

Major Versions

v5.8.35 → v6.0.32019-09-12

v6.0.3 → v7.3.02020-03-26

### Community

Maintainers

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

---

Top Contributors

[![antonioribeiro](https://avatars.githubusercontent.com/u/3182864?v=4)](https://github.com/antonioribeiro "antonioribeiro (32 commits)")[![asbiin](https://avatars.githubusercontent.com/u/25419741?v=4)](https://github.com/asbiin "asbiin (3 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

laravelstringhelperspragmarxstr

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[pragmarx/ia-collection

Laravel Illuminate Agnostic Collection

473.4M2](/packages/pragmarx-ia-collection)[voku/stringy

A string manipulation library with multibyte support

1783.8M19](/packages/voku-stringy)[pragmarx/ia-arr

Laravel Illuminate Agnostic Arr

553.6M12](/packages/pragmarx-ia-arr)[transprime-research/piper

PHP Pipe method execution with values from chained method executions

174.6k2](/packages/transprime-research-piper)

PHPackages © 2026

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