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

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

zwan/php-utils
==============

v1.0.3(1y ago)039MITPHPPHP ^7.1 || ^8.0

Since Dec 2Pushed 1y agoCompare

[ Source](https://github.com/lvhj/zwan)[ Packagist](https://packagist.org/packages/zwan/php-utils)[ RSS](/packages/zwan-php-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

ZWan

功能介绍
----

[](#功能介绍)

### v1.0.1

[](#v101)

1.增加开发调试方法，格式化打印内容

```
dd($a,$b,$c);  // 完成打印后，执行exit();
ddd($a,$b,$c); // 完成打印后，不执行exit()，可继续添加打印;

```

2.增加互斥锁

```
a.解决执行代码逻辑后未及时主动释放锁问题
b.解决代码逻辑执行时间过长，加锁时间过短 出现业务逻辑未执行完但锁自动过期释放问题
c.解决被其他代码失误释放锁问题

```

### v1.0.2

[](#v102)

```
1.增加批量查询redis查询
2.增加批量执行redis命令

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

Total

2

Last Release

515d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6adf1f3543ef434534426e1b24300469ac431a79bfa3ea16ec82748cf5fc5c2?d=identicon)[lvhj](/maintainers/lvhj)

---

Top Contributors

[![lvhj](https://avatars.githubusercontent.com/u/20243838?v=4)](https://github.com/lvhj "lvhj (55 commits)")

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/comment-bundle

This Bundle provides threaded comment functionality for Symfony applications

460751.2k5](/packages/friendsofsymfony-comment-bundle)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[koriym/attributes

An annotation/attribute reader

433.4M12](/packages/koriym-attributes)[hostnet/entity-tracker-component

Provides an event when a Tracked entity changes

16158.1k4](/packages/hostnet-entity-tracker-component)[gomachan46/state-machine

simple state machine with annotations for PHP, inspired by AASM known as a Ruby state machine.

1893.9k](/packages/gomachan46-state-machine)[hostnet/accessor-generator-plugin-lib

Generate get, set, add, remove methods on the fly.

10118.9k](/packages/hostnet-accessor-generator-plugin-lib)

PHPackages © 2026

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