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

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

morin/php
=========

morin php tools

v1.0.7(6y ago)047PHPPHP &gt;=5.4

Since Feb 28Pushed 6y agoCompare

[ Source](https://github.com/beyondzgz/morin-php)[ Packagist](https://packagist.org/packages/morin/php)[ RSS](/packages/morin-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)DependenciesVersions (9)Used By (0)

morin-tools
===========

[](#morin-tools)

morin-tools是一款实用的php开发工具，所提供的工具均在项目生产环境检验使用，希望大神们多提宝贵意见。

composer安装
----------

[](#composer安装)

`composer require morin/php dev-master`

使用
--

[](#使用)

`use morin\php\Morin;`

带refer的跳转 Morin::href('');

api接口返回json Morin::json();

按天向指定目录写日志 Morin::logs();

生成唯一key Morin::gukey();

生成唯一标识符 Morin::guid();

订单号 Morin::order\_num();

curl请求 Morin::curl();

距离当前时间 Morin::passed\_time(time() - 60);

随机字符串 Morin::noncestr();

加密 Morin::encrypt();

解密 Morin::decrypt();

递归无限分类 Morin::build\_tree();

中文星期几 Morin::week2cn();

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

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

Recently: every ~23 days

Total

8

Last Release

2526d ago

PHP version history (2 changes)v1.0PHP &gt;=7.0.0

v1.0.1PHP &gt;=5.4

### Community

Maintainers

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

---

Top Contributors

[![18500233360](https://avatars.githubusercontent.com/u/171488253?v=4)](https://github.com/18500233360 "18500233360 (20 commits)")

### Embed Badge

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

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

PHPackages © 2026

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