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

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

aurion72/helpers
================

Aurion72 Helpers

v1.1.2(4y ago)013.1k↓48%MITPHPPHP &gt;=7.2

Since Sep 14Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Aurion72/helpers)[ Packagist](https://packagist.org/packages/aurion72/helpers)[ RSS](/packages/aurion72-helpers/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (25)Used By (0)

Helpers
=======

[](#helpers)

Helpers is a general purpose package with some useful helper functions.

Usage
=====

[](#usage)

**debug**

`rawSql($builder)` : Return Raw SQL from Query Builder

`loadingTimeStart()`: Start counting loading time

`loadingTimeEnd($die = true)` : Save loading time

**strings**

`boolToString($value, $true_string = null, $false_string = null, $locale = null)` : Transform a value to a string.

`boolToColorizedString($value, $true_string = null, $false_string = null, $locale = null)` : Transform a value to a colorized string (BS4 style)

`formatPrice($price, $currency_sign = ' €')` : Turn a number into a currency formatted string

`formatPercent($percent, $precision = 2, $percent_sign = true)` : Turn a number into a percentage formatted string

`randomPassword($length, $caps = false)` : Generate a random password

**media**

`rmdirRecursive($dir)` : Recursively remove directories and files

`stringToHexColor($string)` : Convert a string to a color in hexadecimal format

**numbers**

`randomBoolean($chance_of_true = 50)` : Return a boolean with a random factor

`addSign($value, $minus_only = false)`: Add a sign to a number

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 96.7% 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 ~55 days

Recently: every ~109 days

Total

24

Last Release

1582d ago

Major Versions

v0.2.0 → v1.0.02021-11-27

PHP version history (2 changes)v0.0.1PHP &gt;=7.1.3

v0.0.14PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/509e545e4610a5fccbfa9d52220d60b188c6c0bab99c71eb3f8bcd622d9eeef1?d=identicon)[Aurion72](/maintainers/Aurion72)

---

Top Contributors

[![toyi](https://avatars.githubusercontent.com/u/15825155?v=4)](https://github.com/toyi "toyi (29 commits)")[![dacti](https://avatars.githubusercontent.com/u/199521?v=4)](https://github.com/dacti "dacti (1 commits)")

---

Tags

helpers

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M375](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

244.6M137](/packages/illuminate-cookie)

PHPackages © 2026

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