PHPackages                             khanhwp/common - 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. khanhwp/common

ActiveKhanhwp-common-package[Utility &amp; Helpers](/categories/utility)

khanhwp/common
==============

Khanhwp Common Package

1.3(3y ago)01861MITPHPPHP &gt;=5.6.0

Since Dec 6Pushed 3y agoCompare

[ Source](https://github.com/khanhngwp/common)[ Packagist](https://packagist.org/packages/khanhwp/common)[ RSS](/packages/khanhwp-common/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (9)Used By (1)

Common Packages
===============

[](#common-packages)

[![Build Status](https://camo.githubusercontent.com/dcb04d8d72d45b32c43021f947e9df732fdb35d6f0987efccecb58901d35b8cc/68747470733a2f2f7472617669732d63692e6f72672f6e6963686f6c61736e65742f636f6d6d6f6e2e737667)](https://travis-ci.org/nicholasnet/common) [![codecov](https://camo.githubusercontent.com/cd634b02e4d6a6f333f26bf03f66597fc9767a9c3cf718950e4358921242573a/68747470733a2f2f636f6465636f762e696f2f67682f6e6963686f6c61736e65742f636f6d6d6f6e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/nicholasnet/common)

Common utility that can be used in any PHP applications using any framework. This library consists packages that are used in frameworks like

- Laravel
- YII 2
- CakePHP

We simply copied those awesome packages and put in this package so that we can use it in any PHP application without bringing down any framework baggage.

There is no external library dependency to run this package except random\_bytes polyfill that is used if you are using PHP &lt; v7.

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

[](#installation)

### Via Composer

[](#via-composer)

`composer require 'ideasbucket/common'`

### Direct download

[](#direct-download)

*To download specific version please browse [releases](https://github.com/nicholasnet/common/releases).*

---

[Documentation](docs/index.md)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~481 days

Total

7

Last Release

1452d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93a7ed27f5f395e86ba784fd3fde6e08613c484a0acf5b2762f699c27d4e5173?d=identicon)[khanhngwp](/maintainers/khanhngwp)

---

Top Contributors

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

---

Tags

utility

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/khanhwp-common/health.svg)

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.0M191](/packages/danielstjules-stringy)[voku/arrayy

Array manipulation library for PHP, called Arrayy!

4875.5M16](/packages/voku-arrayy)[mage2tv/magento-cache-clean

This package has been migrated to mage-os/magento-cache-clean. Please switch over at your convenience.

5432.1M3](/packages/mage2tv-magento-cache-clean)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[lodash-php/lodash-php

A port of Lodash to PHP

527719.0k5](/packages/lodash-php-lodash-php)

PHPackages © 2026

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