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

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

php-helpers/php-helpers
=======================

PhpHelpers is a PHP Packages Framework which shares the common PHP functions

1.1.1(6y ago)018[1 PRs](https://github.com/ngocongcan/phphelpers/pulls)MITPHPPHP &gt;=7.2CI failing

Since May 17Pushed 3mo ago1 watchersCompare

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

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

PhpHelpers (light)
==================

[](#phphelpers-light)

**PhpHelpers** is a PHP Common classes

Highlights
----------

[](#highlights)

**PhpHelpers includes:**

- **Fraction** (Converting fraction string to decimal and vice versa)
- **Money &amp; Currency** (Format currency)
- **XMLHelper**
- Ready **Unit Test**
- Version Control: **Git** (`.gitattributes`, `.gitignore`)
- Continuous Integration: **Travis** and **Scrutinizer** (`.scrutinizer.yml`, `.travis.yml`)
- Testing: **PHPUnit** (`phpunit.xml`)
- Package Manager: **Composer** (`composer.json`)

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

[](#installation)

##### Software Requirement

[](#software-requirement)

- Git
- Composer

##### Installation Steps

[](#installation-steps)

1. `git clone https://github.com/ngocongcan/PhpHelpers.git`
2. `composer update`
3. make sure everything is OK by running the tests `composer test`

Test
----

[](#test)

To run the tests, run the following command from the project folder.

```
$ ./vendor/bin/phpunit
```

Credits
-------

[](#credits)

- [Can Ngo](https://github.com/ngocongcan)

License
-------

[](#license)

The MIT License (MIT). See the [License File](https://github.com/ngocongcan/PhpHelpers/blob/master/LICENSE) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance53

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

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

Every ~65 days

Total

4

Last Release

2362d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.4.0

v1.1.0PHP &gt;=7.2

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

fractionPHP Functionphphelpers

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[aza/math

AzaMath - Anizoptera CMF mathematic component. Arbitrary precision arithmetic (for huge integers; BCMath wrapper) and universal convertor between positional numeral systems (supported bases from 2 to 62 inclusive, and systems with custom alphabet; pure PHP realisation, can use GMP and core PHP functions for speed optimization).

1921.9k1](/packages/aza-math)

PHPackages © 2026

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