PHPackages                             majoreasy/stringhelper - 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. majoreasy/stringhelper

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

majoreasy/stringhelper
======================

you can use easy string methods

v1.7.0(7y ago)081MITPHPPHP &gt;=7.1

Since Feb 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/emexxRepo/String-Helper)[ Packagist](https://packagist.org/packages/majoreasy/stringhelper)[ RSS](/packages/majoreasy-stringhelper/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (3)Used By (0)

String-Helper
=============

[](#string-helper)

You can use easy String Methods

Install
=======

[](#install)

> composer require majoreasy/stringhelper

Usage
=====

[](#usage)

> require\_once('vendor/autoload.php'); use \\Major\\Helper\\StrHelper;

- toJadenCase

> echo StrHelper::setStr("hi i like tea")::toJadenCase();
> // Hi I Like Tea

- Repeat

> echo StrHelper::setStr("Hello my name is James")::repeat(3);
> // Result : Hello my name is James Hello my name is James Hello my name is James

- Slice

> echo StrHelper::setStr("Im from England")::slice(0, 3);
> // Result : Im

- Length

> echo StrHelper::setStr("I have brother")::length();
> // Result : 14

- toUpperCase

> echo StrHelper::setStr("This is my message")::toUpperCase();
> // Result : THIS IS MY MESSAGE

- toLowerCase

> echo StrHelper::setStr("and I have Smart Phone")::toLowerCase();
> // Result : and i have smart phone

- toASCII echo StrHelper::setStr("H")::toASCII();
    // Result : 72
- Replace

> echo StrHelper::setStr("Hi my name is murat")::replace("murat", "james");
> // Result : Hi my name is james

- includes

> echo StrHelper::setStr("Hi im living italy")::includes("italy");
> // Result :1

- endsWith

> echo StrHelper::setStr("Hi im living sweden")::endsWith("sweden");
> // Result :1

- startsWith

> echo StrHelper::setStr("Hi im living sweden")::startsWith("Hi");
> // Result :1

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

2685d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/199700?v=4)[majorman](/maintainers/majorman)[@majorman](https://github.com/majorman)

---

Top Contributors

[![emexxRepo](https://avatars.githubusercontent.com/u/12869464?v=4)](https://github.com/emexxRepo "emexxRepo (11 commits)")

---

Tags

string-helper

### Embed Badge

![Health badge](/badges/majoreasy-stringhelper/health.svg)

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

###  Alternatives

[tatter/visits

Lightweight traffic tracking for CodeIgniter 4

318.6k2](/packages/tatter-visits)

PHPackages © 2026

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