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

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

owja/php-helper
===============

Simple php helper classes and functions.

1.0.0(8y ago)0631MITPHPPHP &gt;=7.0.0

Since Jul 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/owja/php-helper)[ Packagist](https://packagist.org/packages/owja/php-helper)[ RSS](/packages/owja-php-helper/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

OWJA! PHP Helper
================

[](#owja-php-helper)

[![Latest Stable Version](https://camo.githubusercontent.com/28cf201390812648a56829a031e9060340019b090af52984c3a1573252b0cd09/68747470733a2f2f706f7365722e707567782e6f72672f6f776a612f7068702d68656c7065722f762f737461626c65)](https://packagist.org/packages/owja/php-helper)[![License](https://camo.githubusercontent.com/056eda71018f982bad42fdb66d6b2cc3ab120a2654b3d45ea6c36abab2af5496/68747470733a2f2f706f7365722e707567782e6f72672f6f776a612f7068702d68656c7065722f6c6963656e7365)](https://packagist.org/packages/owja/php-helper)[![Build Status](https://camo.githubusercontent.com/0ea62c1d244d8152fdb42a62d39ad6505f83b6d8ed3f97b164cc8630afdc464b/68747470733a2f2f7472617669732d63692e6f72672f6f776a612f7068702d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/owja/php-helper)

This Package is Open Source and under MIT license.

A few little Helper.

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

[](#installation)

```
$ composer require owja/php-helper

```

Classes
-------

[](#classes)

#### \\Owja\\Helper\\Data

[](#owjahelperdata)

```
$sampleData = [
    'some' => [
        'value' => 'example',
        'othervalue' => new class {
            public function getSomething() {
                return 'else';
            }
        }
    ]
];

$data = new \Owja\Helper\Data($sampleData);

// $example = 'example';
$example = $data->get('some.value');

// $somethingElse = 'else';
$somethingElse = $data->get('some.othervalue.something');

// $null = null
$null = $data->get('this.does.not.exist');
```

#### \\Owja\\Helper\\Random

[](#owjahelperrandom)

```
// $randomString = Random String with 128 alphanummeric Chars
$randomString = (string) new \Owja\Helper\Random(128);

// $randomString = Random String with 64 Numbers
$randomString = (string) new \Owja\Helper\Random(64, \Owja\Helper\Random::NUMBERS);

// Alternative
$rnd = new \Owja\Helper\Random();

$randomString64Chars = $rnd->generate(64);
$randomString64Numbers = $rnd->generate(64, \Owja\Helper\Random::NUMBERS);
$randomString256Hex = $rnd->generate(256, \Owja\Helper\Random::HEX);
```

##### Predefined Pools

[](#predefined-pools)

```
\Owja\Helper\Random::ALNUM     = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
\Owja\Helper\Random::ALPHA     = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
\Owja\Helper\Random::HEX       = '0123456789abcdef';
\Owja\Helper\Random::NUMBERS   = '0123456789';

```

`\Owja\Helper\Random::ALNUM` is the default pool

License
-------

[](#license)

This bundle is under the MIT license.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

3249d ago

### Community

Maintainers

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

---

Top Contributors

[![hbroer](https://avatars.githubusercontent.com/u/14164004?v=4)](https://github.com/hbroer "hbroer (5 commits)")

---

Tags

phphelper

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[zjkal/time-helper

一个简单快捷的PHP日期时间助手类库。 a smart PHP datetime helper library.

21030.2k2](/packages/zjkal-time-helper)

PHPackages © 2026

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