PHPackages                             lijingping/self-use - 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. lijingping/self-use

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

lijingping/self-use
===================

自己常用的一些方法

016PHP

Since Mar 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/627935058/myFunction)[ Packagist](https://packagist.org/packages/lijingping/self-use)[ RSS](/packages/lijingping-self-use/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

myFunction
==========

[](#myfunction)

自己常用的一些方法

### idCard

[](#idcard)

```
验证中国二代身份证号是否有效，并根据身份证号获取一些信息

```

### Aes

[](#aes)

```
aes的cbc模式和ecb模式下的加解密

```

### Rsa

[](#rsa)

```
rsa秘钥对的生成及加解密

```

### Timer

[](#timer)

```
从zjkal/time-helper复制过来的一些时间处理方法；获取指定时间之前、之后及指定时间段内的日期数组

```

### Distance \[lon经度,lng维度\]

[](#distance--lon经度lng维度)

```
根据经纬度计算两点之间的距离、点到线段（1个点或多个点组成的连续线段）的最短距离

```

### Sundry

[](#sundry)

```
自己常用的一些杂项方法

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/11a723412042b45bf53bba935c55b35cb3f8b141440cde352c5b7461ae4db8ea?d=identicon)[627935058](/maintainers/627935058)

---

Top Contributors

[![627935058](https://avatars.githubusercontent.com/u/54695871?v=4)](https://github.com/627935058 "627935058 (18 commits)")

### Embed Badge

![Health badge](/badges/lijingping-self-use/health.svg)

```
[![Health](https://phpackages.com/badges/lijingping-self-use/health.svg)](https://phpackages.com/packages/lijingping-self-use)
```

PHPackages © 2026

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