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

ActiveLibrary

join/php-common
===============

php

v1.3.4(4y ago)0806MITPHPPHP &gt;=7.2.0

Since Oct 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/SantiagoFan/php-common)[ Packagist](https://packagist.org/packages/join/php-common)[ RSS](/packages/join-php-common/feed)WikiDiscussions main Synced 5d ago

READMEChangelogDependencies (3)Versions (16)Used By (0)

PHP-JOIN-COMMON php 常用公共类
=========================

[](#php-join-common-php-常用公共类)

### composer 安装

[](#composer-安装)

需要 composer 版本2+

```
composer require join/php-common

```

### require 依赖

[](#require-依赖)

php：&gt;=7.2.0

代码结构
----

[](#代码结构)

```
├─src
│  ├─encrypt
│  │      SM4.php               国密4加解密
│  └─utils
│          FFmpeg.php           视频处理
│          JwtAuth.php          jwt授权帮助类
│          Pinyin.php           拼音处理
│          Text.php             文本处理
│          Tree.php             树数据处理

```

### 如何参与开发成为代码贡献人员

[](#如何参与开发成为代码贡献人员)

1. 将项目fork到自己帐号
2. 修改代码完成测试
3. 提交commit push 到自己的仓库
4. New pull request(简称pr) 合并请求到主库等待合并

测试代码
----

[](#测试代码)

[phpunit安装介绍](PHPUNIT.md)

### 安装phpunit

[](#安装phpunit)

composer require --dev phpunit/phpunit ^6

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~9 days

Total

15

Last Release

1556d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a785e43893e681e524ddd6929e592ee8dae3bc47fe31f18d5e0637a2827b29d?d=identicon)[SantiagoFan](/maintainers/SantiagoFan)

---

Top Contributors

[![SantiagoFan](https://avatars.githubusercontent.com/u/21000856?v=4)](https://github.com/SantiagoFan "SantiagoFan (15 commits)")[![caojianf](https://avatars.githubusercontent.com/u/49664367?v=4)](https://github.com/caojianf "caojianf (2 commits)")[![limengnan-1989](https://avatars.githubusercontent.com/u/45256061?v=4)](https://github.com/limengnan-1989 "limengnan-1989 (2 commits)")[![1306649426](https://avatars.githubusercontent.com/u/70247551?v=4)](https://github.com/1306649426 "1306649426 (1 commits)")[![15661106617](https://avatars.githubusercontent.com/u/19164159?v=4)](https://github.com/15661106617 "15661106617 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)

PHPackages © 2026

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