PHPackages                             uwebpro/substring - 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. uwebpro/substring

ActiveLibrary

uwebpro/substring
=================

A simple method for getting sub-strings

v4.0.0(4y ago)04.2k—0%MITPHPPHP ^8.0

Since Feb 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/willpercey-gb/substring)[ Packagist](https://packagist.org/packages/uwebpro/substring)[ Docs](https://github.com/willpercey-gb/substring)[ RSS](/packages/uwebpro-substring/feed)WikiDiscussions 2.0.0 Synced today

READMEChangelog (3)DependenciesVersions (8)Used By (0)

UWebPro\\Substring
==================

[](#uwebprosubstring)

A miniature library to add a substring function/method to your work.

### Function Usage

[](#function-usage)

```
$result = substring($document, 'start', 'end');

```

### Trait Usage

[](#trait-usage)

```
class MyClass{
    use UWebPro\Str\Substring;

    public function myMethod($document){
        ...
        return $this->substring($document, 'start', 'end');
    }
}

```

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~99 days

Total

7

Last Release

1681d ago

Major Versions

1.0.0.x-dev → 2.0.0.x-dev2020-07-14

v2.0.0 → v3.0.02020-12-23

3.0.0.x-dev → 4.0.0.x-dev2021-08-13

PHP version history (3 changes)1.0.0.x-devPHP &gt;=5.2.0

2.0.0.x-devPHP ^7.1

v3.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![willpercey-gb](https://avatars.githubusercontent.com/u/33656628?v=4)](https://github.com/willpercey-gb "willpercey-gb (6 commits)")

---

Tags

stringsubsubstringuwebpro

### Embed Badge

![Health badge](/badges/uwebpro-substring/health.svg)

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

###  Alternatives

[symfony/string

Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way

1.8k707.8M663](/packages/symfony-string)[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k383.2M1.3k](/packages/nette-utils)[twig/string-extra

A Twig extension for Symfony String

21944.4M97](/packages/twig-string-extra)[coduo/php-to-string

Simple library that converts PHP value into strings

27112.4M9](/packages/coduo-php-to-string)[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4304.8M21](/packages/kwn-number-to-words)[cakephp/utility

CakePHP Utility classes such as Inflector, String, Hash, and Security

12026.5M51](/packages/cakephp-utility)

PHPackages © 2026

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