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

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

mossengine/helper
=================

PHP Class that streamlines usages of static method helpers without needing to load in or define all the helper classes

2.0.1(4y ago)01.8k3MITPHPPHP &gt;=7.0

Since Jun 24Pushed 4y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (4)Versions (4)Used By (3)

Mossengine/Helper
=================

[](#mossenginehelper)

 **A PHP library for calling many different helpers from a single point.**

 [![Source Code](https://camo.githubusercontent.com/99514eb5f367200610c1e64f9ecad4261dd855fd9aa145e7047b590f361f5604/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6e616d652f4d6f7373656e67696e652f48656c706572)](https://github.com/Mossengine/Helper) [![Download Package](https://camo.githubusercontent.com/9149daac875078c53b6326302d68bf75b391033294ad21790804fbc8db02fc4f/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f4d6f7373656e67696e652f48656c706572)](https://packagist.org/packages/Mossengine/Helper) [![PHP Programming Language](https://camo.githubusercontent.com/ef6110c60b4e859489065280ee50f6c4180542c688076f41367884b53ae9973f/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f4d6f7373656e67696e652f48656c706572)](https://php.net) [![Build Status](https://camo.githubusercontent.com/e3de333824422fa66e7bd79799fb53a782164e4e6e616e7192923d5be2a1b230/68747470733a2f2f62616467656e2e6e65742f636972636c6563692f6769746875622f4d6f7373656e67696e652f48656c7065722f6d61737465723f69636f6e3d636972636c656369)](https://camo.githubusercontent.com/e3de333824422fa66e7bd79799fb53a782164e4e6e616e7192923d5be2a1b230/68747470733a2f2f62616467656e2e6e65742f636972636c6563692f6769746875622f4d6f7373656e67696e652f48656c7065722f6d61737465723f69636f6e3d636972636c656369) [![Codecov Code Coverage](https://camo.githubusercontent.com/1deee175b734c2b2db0b91c738e126024b000a0f75c8b5c04bec687d71c371e2/68747470733a2f2f62616467656e2e6e65742f636f6465636f762f632f6769746875622f4d6f7373656e67696e652f48656c7065722f6d61737465723f69636f6e3d636f6465636f76)](https://codecov.io/github/Mossengine/Helper) [![Read License](https://camo.githubusercontent.com/7bd186fbb879ba01c6819522719570963f4f5225029ced63c0e074dacf89a0a0/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f4d6f7373656e67696e652f48656c706572)](https://github.com/Mossengine/Helper/blob/master/LICENSE) [![Package downloads on Packagist](https://camo.githubusercontent.com/83736207951a68606a44e21d6088874fe375cfefebe9bcaf4c8cdfb32240ac60/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f4d6f7373656e67696e652f48656c706572)](https://packagist.org/packages/Mossengine/Helper/stats)

About
-----

[](#about)

Helper functions are an important part of any project, however, depending on the implementation they can come at a small or great cost to system resources such as memory.

When you have an included functions file full of functions that you use throughout the project but not all at any one time, the cost you have here is memory allocation to store the functions ready for calling... Other practices with using Helper classes with smaller sets of dedicated static methods are an improvement, but you're still using memory to store those methods that are not needed.

This package allows you to call specific functions under certain categories without needing to load into memory anything more than what you need, it uses a dynamic loading style and also specifically designed helper classes for each specific method so that we only need to load what's needed.

A comparison of memory allocation between a full class of helper methods and this individual loading solution, the results was a 20KB allocation of memory vs 6KB. Larger sets of helper class methods can expect memory allocation sizes higher than 20KB... especially for more complex helper methods with more than a few lines of code.

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

[](#installation)

### Using composer to install

[](#using-composer-to-install)

```
$ composer require mossengine/helper

```

### Adding to package.json

[](#adding-to-packagejson)

```
{
    "require": {
        "mossengine/helper": "~1.0.0"
    }
}
```

Usage
-----

[](#usage)

### Call helper method on a specific helper class

[](#call-helper-method-on-a-specific-helper-class)

```
// Require the autoloader, normal composer stuff
require 'vendor/autoload.php';

// Call the Test method on the Test helper class
$result = Mossengine\Helper::Test()->Test();
```

Helpers
-------

[](#helpers)

There are other helper classes you can use with this helper library

[Mossengine/HelpersArray](https://github.com/Mossengine/HelpersArray)A library of array based helper methods to manipulate and analyse array structures.

[Mossengine/HelpersStatement](https://github.com/Mossengine/HelpersStatement)A library of statement based helper methods to compare and evaluate variable structures against each other.

Documentation
-------------

[](#documentation)

Read the [docs](/docs/readme.md) for more details on Helper and how to call and extend with your own helper classes and methods

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

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

Total

3

Last Release

1823d ago

Major Versions

1.0.0 → 2.0.02021-06-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/0508d26fa70a2d0733a48395a313155d34ffae32e2e8e02498d18a506c75ba5f?d=identicon)[brenmoss](/maintainers/brenmoss)

---

Top Contributors

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

---

Tags

helpers

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.1k91.3M279](/packages/laravel-horizon)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5742.2M17](/packages/directorytree-ldaprecord-laravel)

PHPackages © 2026

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