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

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

sentgine/helper
===============

A PHP library providing various helper functions for common tasks.

v1.0.1(1y ago)0251MITPHPPHP ^8.1

Since Apr 12Pushed 1y ago1 watchersCompare

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

READMEChangelog (3)DependenciesVersions (4)Used By (1)

Helper by Sentgine
==================

[](#helper-by-sentgine)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE.md)[![Latest Stable Version](https://camo.githubusercontent.com/870f95e2f51533b49b5e1e8b379d205ad7ac8e32c9ca7be95ecd89e2526bcc36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73656e7467696e652f68656c7065722e737667)](https://packagist.org/sentgine/helper)[![Total Downloads](https://camo.githubusercontent.com/a3a12b46f4208cef2822b41c05e1a18d51c5f814cd43a1b66f1497ef76edf102/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73656e7467696e652f68656c7065722e737667)](https://packagist.org/packages/sentgine/helper)

Helper is PHP library providing various helper functions for common tasks.

Features
--------

[](#features)

- **String Helper Class: Word**: The package includes a versatile string manipulation helper class called `Word`. This class provides a wide range of methods for transforming and manipulating strings, such as converting strings to various casing formats (e.g., PascalCase, kebab-case, snake\_case, camelCase, Title Case), extracting substrings, concatenating strings, performing regular expression matches and replacements, converting strings to lowercase or uppercase, trimming whitespace, checking for substring presence, singularizing and pluralizing English words, and more. With the `Word` class, you can streamline common string operations and enhance the efficiency of your PHP projects.

Requirements
------------

[](#requirements)

- PHP 8.0 or higher.

Installation
------------

[](#installation)

(1) You can install the package via Composer by running the following command:

```
composer require sentgine/helper:^1.0
```

Sample Usage of Sentgine\\Helper\\Word
======================================

[](#sample-usage-of-sentginehelperword)

Below are some examples demonstrating the usage of the `Sentgine\Helper\Word` class for string manipulation operations.

Basic Usage
-----------

[](#basic-usage)

```
use Sentgine\Helper\Word;

// Create a new instance of Word
$word = Word::of('hello world');

// Convert to PascalCase
$result = $word->pascalCase();
// Output: HelloWorld
echo $result;

// Convert to kebab-case
$result = $word->kebabCase();
// Output: hello-world
echo $result;

// Convert to snake_case
$result = $word->snakeCase();
// Output: hello_world
echo $result;

// Convert to camelCase
$result = $word->camelCase();
// Output: helloWorld
echo $result;

// Convert to Title Case
$result = $word->titleCase();
// Output: Hello World
echo $result;

// Sample method chaining
$result = Word::of('hello world')
    ->pascalCase() // Convert to PascalCase
    ->kebabCase()  // Convert to kebab-case
    ->snakeCase()  // Convert to snake_case
    ->camelCase()  // Convert to camelCase
    ->titleCase(); // Convert to Title Case

// Output: Hello World
echo $result;
```

Changelog
---------

[](#changelog)

Please see the [CHANGELOG](https://github.com/sentgine/helper/blob/main/CHANGELOG.md) file for details on what has changed.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

**Helper** is built and maintained by Adrian Navaja.

- Check out some cool tutorials and stuff on [YouTube](https://www.youtube.com/@sentgine)!
- Catch my latest tweets and updates on [Twitter](https://twitter.com/sentgine) (formerly X)!
- Let's connect on a more professional note over on [LinkedIn](https://www.linkedin.com/in/adrian-navaja/)!
- For more information about me and my work, visit my website: [sentgine.com](https://www.sentgine.com/).

License
-------

[](#license)

The MIT License (MIT). Please see the [LICENSE](https://github.com/sentgine/helper/blob/main/LICENSE) file for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

Total

3

Last Release

686d ago

Major Versions

v0.0.1 → v1.0.02024-04-16

### Community

Maintainers

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

---

Top Contributors

[![sentgine](https://avatars.githubusercontent.com/u/122154706?v=4)](https://github.com/sentgine "sentgine (7 commits)")

### Embed Badge

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

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

###  Alternatives

[rynpsc/craft-phone-number

International phone number field.

2265.9k](/packages/rynpsc-craft-phone-number)

PHPackages © 2026

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