PHPackages                             steinhaug/strbuddy - 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. steinhaug/strbuddy

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

steinhaug/strbuddy
==================

My personal STRING friend

v0.7.1(4y ago)03MITPHPPHP &gt;=8.0.0

Since May 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/steinhaug/strbuddy)[ Packagist](https://packagist.org/packages/steinhaug/strbuddy)[ Docs](https://kim.steinhaug.com)[ RSS](/packages/steinhaug-strbuddy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

strbuddy
========

[](#strbuddy)

Helper class for working with and manipulating strings.

VERSION
-------

[](#version)

v0.7.0 - Updated, 17 des 2021 + Upgraded source to PHP 8.0

v0.5.0 - Updated, 31 may 2020

USAGE
-----

[](#usage)

Example of usage, with basic features out of the box:

```
$str = new strbuddy;
echo $str->dirify($filename); // Valid directory / filename

```

Outputs:

INSTALLATION
------------

[](#installation)

Install the [composer package](https://packagist.org/packages/steinhaug/sqlbuddy):

```
> composer require steinhaug/strbuddy

```

Or download the [latest release](https://github.com/steinhaug/strbuddy/releases/latest) and include strbuddy.php.

AUTHORS
-------

[](#authors)

[Kim Steinhaug](https://github.com/steinhaug) ([@steinhaug](https://twitter.com/steinhaug))

LICENSE
-------

[](#license)

This library is released under the MIT license.

Feel generous?
--------------

[](#feel-generous)

Buy me a beer, [donate](https://steinhaug.com/donate/).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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 ~189 days

Total

4

Last Release

1608d ago

PHP version history (2 changes)v0.5.0PHP &gt;=7.0.0

v0.7.0PHP &gt;=8.0.0

### Community

Maintainers

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

---

Top Contributors

[![steinhaug](https://avatars.githubusercontent.com/u/249419?v=4)](https://github.com/steinhaug "steinhaug (9 commits)")

---

Tags

string manipulation

### Embed Badge

![Health badge](/badges/steinhaug-strbuddy/health.svg)

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

###  Alternatives

[opis/string

Multibyte strings as objects

7120.9M7](/packages/opis-string)[andreas-glaser/php-helpers

A comprehensive collection of PHP utility functions for array manipulation, string operations, date handling, HTML generation, form building, validation, and more. Modern PHP 8.2+ library with full type safety.

1386.5k2](/packages/andreas-glaser-php-helpers)[tilleuls/sylius-click-n-collect-plugin

Click and Collect plugin for Sylius, to sell and deliver securely during the COVID-19 pandemic.

7814.2k](/packages/tilleuls-sylius-click-n-collect-plugin)

PHPackages © 2026

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