PHPackages                             jtrw/utils - 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. jtrw/utils

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

jtrw/utils
==========

Utils

1.0.0(5y ago)017MITPHPPHP ~7.2

Since Feb 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jtrw/utils)[ Packagist](https://packagist.org/packages/jtrw/utils)[ Docs](https://github.com/jtrw/utils)[ RSS](/packages/jtrw-utils/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Utils
=====

[](#utils)

[![Phpunit](https://github.com/jtrw/utils/workflows/PHP%20Composer/badge.svg)](https://github.com/jtrw/utils/actions)

Utils for help Dev

Structure Utils
---------------

[](#structure-utils)

- ValuesObject

Install
-------

[](#install)

Via Composer

```
$ composer require jtrw/utils
```

Usage ValuesObject
------------------

[](#usage-valuesobject)

```
use Jtrw\Utils\ValuesObject;

class UserValuesObject extends ValuesObject
{
    public function getID()
    {
        return $this->get('id');
    }

    public function getName()
    {
        return $this->get('name');
    }
}

$user = [
    'id'   => 1,
    'name' => 'Test User'
];

$userValuesObject = new UserValuesObject($user);

echo $userValuesObject->getName();
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

1927d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb69a84ba4d32377e911fcda345ebe671a0a98cbd748c4cf0e3cd786ee12af37?d=identicon)[nil-bora](/maintainers/nil-bora)

---

Top Contributors

[![nilBora](https://avatars.githubusercontent.com/u/5442473?v=4)](https://github.com/nilBora "nilBora (6 commits)")

---

Tags

utilsnilBoraValuesObject

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jtrw-utils/health.svg)

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

###  Alternatives

[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.0M191](/packages/danielstjules-stringy)[voku/arrayy

Array manipulation library for PHP, called Arrayy!

4875.5M16](/packages/voku-arrayy)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[voku/stringy

A string manipulation library with multibyte support

1783.8M19](/packages/voku-stringy)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[statamic/stringy

A string manipulation library with multibyte support, forked from @statamic

234.5M14](/packages/statamic-stringy)

PHPackages © 2026

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