PHPackages                             zver/string-helper - 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. zver/string-helper

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

zver/string-helper
==================

this is universal package template for development and testing

3.0.1(5y ago)02.1k1[1 PRs](https://github.com/s4urp8n/string-helper/pulls)2PHP

Since Jul 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/s4urp8n/string-helper)[ Packagist](https://packagist.org/packages/zver/string-helper)[ RSS](/packages/zver-string-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (12)Used By (2)

Package-template
================

[](#package-template)

Use this template package structure to build your own packages and tests

Structure
---------

[](#structure)

- files - package files
- src - package src files
- tests - package PHPUnit tests
- tests/classes - classes needed for testing
- tests/files - files needed for testing
- tests/bootstrap.php - PHPUnit autoloading and helpers
- coverage - directory with coverage information, ignored from git

Helpers
-------

[](#helpers)

- packageFile($name) - get full name of file with name=$name in **files** folder
- packageTestFile($name) - get full name of file with name=$name in **tests/files** folder
- Package/Test trait added with following methods:
    - foreachTrue(array $values)
    - foreachFalse(array $values)
    - foreachEquals(array $values)
    - foreachNotEquals(array $values)
    - foreachSame(array $values)
    - foreachNotSame(array $values)

Run tests
---------

[](#run-tests)

For testing PHPUnit installed required

```
cd package-template
composer install
php test.php

```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

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

Recently: every ~236 days

Total

11

Last Release

2032d ago

Major Versions

1.0.3 → 2.0.12017-02-10

2.2.8 → 3.0.02020-10-14

### Community

Maintainers

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

---

Top Contributors

[![s4urp8n](https://avatars.githubusercontent.com/u/2367692?v=4)](https://github.com/s4urp8n "s4urp8n (62 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zver-string-helper/health.svg)

```
[![Health](https://phpackages.com/badges/zver-string-helper/health.svg)](https://phpackages.com/packages/zver-string-helper)
```

PHPackages © 2026

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