PHPackages                             lucifer-v/php-tools - 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. lucifer-v/php-tools

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

lucifer-v/php-tools
===================

 A collection of function as tools for PHP development

1.0.1(9y ago)6198PHPPHP ^5.3.3 || ^7.0

Since Feb 18Pushed 9y ago3 watchersCompare

[ Source](https://github.com/lucifer-v/phpTools)[ Packagist](https://packagist.org/packages/lucifer-v/php-tools)[ RSS](/packages/lucifer-v-php-tools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

phpTools
========

[](#phptools)

工作和学习中积累下来的常用的php扩展函数，解决开发效率问题(过程版) ##说明

1. 创建时间:2015/10/04，本函数库用于交流和学习，欢迎使用以及提出改进建议
2. 此功能库于2015/10/04开始整理，总结和重写了工作中常用的PHP函数，使部分函数更具通用化，更适合于一般情况
3. 库文件名为tools.php,配套的测试文件(样例文件)名为toolsTest.php
4. 函数命名规范为小驼峰法
5. 库文件中的函数是自说明的，说明文档DOC.md只是归类，提供一个大纲视图
6. 上次修改时间:2016/01/04

\##ChangeLogs 14. \[2016/01/17 14:30\] 增加了两个处理日期的函数: getTwoEndFromIso8601datelist()、parseDatelistToRangeSet() 13. \[2016/01/04 22:51\] 将getBasename()更名为getFullnam(),lucius文件名规范： 如文件名:lecture.doc lecture.doc为文件名全名, lecture为文件名, .doc为扩展名 但凡提到扩展名，意味着带'.' 12. \[2016/01/04 22:40\] 添加小工具函数 boolStr() 11. \[2016/01/04 22:28\] 为utf8中文检测 添加上\\xF900-\\xFA2D 字符集 10. \[2015/12/29\] 添加验证函数isReal()，验证给定字符串是否是实数 \[2015/12/29 11:09\] 为multiJoinAryElements()增加\_delimiter=null的情况,此中情况表示，将checkbox的数值相加求和，而不是用某个连接符连接起来 \[2015/12/28 16:38\] 添加函数 eqThenSelected() \[2015/12/28 14:13\] 添加函数 emptyThenPrint() \[2015/12/28 13:03\] 添加函数 multiJoinAryElement() \[2015/12/28\] 添加函数 hasThenChecked() \[2015/12/28\] 添加函数 bitmaskEqThenChecked() \[2015/12/23 11:14\] 添加函数 turnPartsToWhole() \[2015/12/16 10:02\] 添加小工具函数dumpfe() 9. \[2015/11/01 12:39\] 在isDecimalValid()函数中考虑了实时输入实数时，对出现"12."的情况的验证(用户时按退格删除数字) 8. \[2015/11/01 10:44\] 为isDecimalValid()函数增加了一个参数合法性判断(不允许包含除.和0-9的字符) 7. \[2015/10/15 8:19\]
添加了aryRearrange()中排除参数为空的情况 6. \[2015/10/09 13:41\]
&lt;解决PROBLEMS-1&gt;将所有递归函数中，使用staic返回属组，全部改用常规数组。如 hHirarchify、hGetDescendantIds、hTraceRoot 5. \[2015/10/09 10:55\]
将dumpf()改进为支持变参函数 4. \[2015/10/07 17:29\]
为了适应TP框架中的验证回调函数，将所有的验证函数，都改为合法返回true,不合法返回false。之前是合法返回1,不合法返回0 3. \[2015/10/06 10:10\]
调整了hHirarchify()函数和vHirarchify()函数\_cateInfo,\_excludeIds的位置将它们对换了一下 2. \[2015/10/04 23:07\]
将fileRawname($\_uri)更名为getBasename($\_uri),可以获得文件名/目录/url/带查询字符串的url的基名

1. \[2015/10/04 22:20\]
    将entityHTMLTag($\_html, $\_tag)更名为entitifyTags($\_html, $\_tags),可以同时将一段HTML中的多个指定的标签实体化

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3421d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3848962?v=4)[SandStupa](/maintainers/lucifer-v)[@lucifer-v](https://github.com/lucifer-v)

---

Top Contributors

[![lucifer-v](https://avatars.githubusercontent.com/u/3848962?v=4)](https://github.com/lucifer-v "lucifer-v (16 commits)")

### Embed Badge

![Health badge](/badges/lucifer-v-php-tools/health.svg)

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

PHPackages © 2026

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