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

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

boss420/common
==============

Common library for PHP coder...

v1.5.4(9y ago)031MITPHPPHP &gt;=5.3.0

Since Oct 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/boss420/Common)[ Packagist](https://packagist.org/packages/boss420/common)[ Docs](https://github.com/boss420/Common)[ RSS](/packages/boss420-common/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (16)Used By (0)

Common
======

[](#common)

Some important common libraries,like aysn process,encription and so on...

Github:

\##Install github:

```
git clone https://github.com/boss420/Common.git

```

Or you can use **composer**

```
composer require boss420/common

```

\##usage

\###AsynHandle

Use multi-process to simulate multi-threads.

```
$oop = new \boss420\common\AsynHandle();
$result = $oop->Request("xxxxxx");
echo $result;

```

The code will return soon,and the result only shows that if the code works.You can not get the response from this code segment.Because the real URL request will still be proceessed backend.

So it's easy that you can send multi-requests to more than 1 URL without waiting the processing result.

The method also contains some default parameters,you can change to what you need.

```
 public function Request($url, $cookie = array(), $post = array(), $timeout = 3){
 //***
 }

```

Also,the `AsynHandle` also contains a synchronous request method called `Get`,you can get the real response after you call this method.

\###sample code

```
header('Content-type: application/json');
require_once "../src/AsynHandle.php";
$oop = new \boss420\common\AsynHandle();
$result = $oop->Get("https://www.udopay.com/index.php/Gateway/securepay");
echo $result;

```

This method also contains some default parameters,and they are easy to undertand.

```
 public function Get($url, $cookie = array(), $post = array(), $timeout = 30){
 //***
 }

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

Recently: every ~0 days

Total

15

Last Release

3303d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4081173?v=4)[boss420](/maintainers/boss420)[@boss420](https://github.com/boss420)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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