PHPackages                             nowmovesoft/helpers - 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. nowmovesoft/helpers

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

nowmovesoft/helpers
===================

PHP helpers

v1.0(6y ago)04BSD-3-ClausePHPPHP &gt;=7.0

Since Nov 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/nowmovesoft/helpers)[ Packagist](https://packagist.org/packages/nowmovesoft/helpers)[ RSS](/packages/nowmovesoft-helpers/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Collection of PHP helpers
=========================

[](#collection-of-php-helpers)

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

[](#installation)

### Install via Composer

[](#install-via-composer)

If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).

You can then install this library using the following command:

```
composer require nowmovesoft/helpers

```

Basic usage
-----------

[](#basic-usage)

### DateHelper

[](#datehelper)

```
use nms\helpers\DateHelper;

/*
 * Gets years range or one year if specified year is current.
 * For example, in 2019 it returns "2019", but in 2020 it returns "2019-2020"
 */
echo DateHelper::getYearsRange(2019);
```

### ObjectHelper

[](#objecthelper)

If you have a method, which returns a class name, you can use ObjectHelper instead of this construction:

```
use nms\helpers\ObjectHelper;

// instead of using tempotary variable...
$className = Module::getInstance()->useClass;
$model = new $className($paramOne, $paramTwo /* Other parameters */);

// ...you can use ObjectHelper
$model = ObjectHelper::create(Module::getInstance()->useClass, $paramOne, $paramTwo /* Other parameters */);
```

If you want to call static method, you can use ObjectHelper instead of this construction:

```
use nms\helpers\ObjectHelper;

// instead of this...
$result = Module::getInstance()->useClass::staticMethod($paramOne, $paramTwo /* Other parameters */);

// ...you can use ObjectHelper
$result = ObjectHelper::call(Module::getInstance()->useClass, 'staticMethod', $paramOne, $paramTwo /* Other parameters */);
```

If you want to populate your public class properties you can do it this way:

```
use nms\helpers\ObjectHelper;

$object = new class {
    public $property = false;
};

$object = ObjectHelper::configure($object, ['property' => true]); // name-value pairs

var_dump($object->property); // true
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2368d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10130919?v=4)[Michael Naumov](/maintainers/vommuan)[@vommuan](https://github.com/vommuan)

---

Top Contributors

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

---

Tags

helperobject

### Embed Badge

![Health badge](/badges/nowmovesoft-helpers/health.svg)

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

###  Alternatives

[myclabs/deep-copy

Create deep copies (clones) of your objects

8.9k849.8M169](/packages/myclabs-deep-copy)[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[symfony/property-access

Provides functions to read and write from/to an object or array using a simple string notation

2.8k295.3M2.5k](/packages/symfony-property-access)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[beste/json

A simple JSON helper to decode and encode JSON

4222.7M3](/packages/beste-json)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3427.3M21](/packages/chillerlan-php-settings-container)

PHPackages © 2026

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