PHPackages                             z1px/tool - 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. z1px/tool

ActiveLibrary

z1px/tool
=========

php tool

v1.0.5(6y ago)059MITPHPPHP &gt;=5.4.0

Since Aug 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/z1px/tool)[ Packagist](https://packagist.org/packages/z1px/tool)[ RSS](/packages/z1px-tool/feed)WikiDiscussions master Synced 2mo ago

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

常用composer库
===========

[](#常用composer库)

PHP常用工具
-------

[](#php常用工具)

- composer安装

```
composer require z1px/tool

```

- [gitHub项目地址](https://github.com/z1px/tool.git)

PHP将数字ID转化为唯一字符串
----------------

[](#php将数字id转化为唯一字符串)

- composer安装

```
composer require hashids/hashids

```

- [gitHub项目地址](https://github.com/ivanakimov/hashids.php)
- [参考文档](https://www.helloweba.net/php/527.html)

使用PHP生成通用唯一识别码（UUID）
--------------------

[](#使用php生成通用唯一识别码uuid)

- composer安装

```
composer require ramsey/uuid

```

- [gitHub项目地址](https://github.com/ramsey/uuid)
- [参考文档](https://www.helloweba.net/php/569.html)

PHP生成中间带LOGO图像的二维码
------------------

[](#php生成中间带logo图像的二维码)

- composer安装

```
composer require endroid/qr-code

```

- [gitHub项目地址](https://github.com/endroid/qr-code)
- [参考文档](https://www.helloweba.net/php/455.html)

使用PhpSpreadsheet读取和写入Excel
--------------------------

[](#使用phpspreadsheet读取和写入excel)

- composer安装

```
composer require phpoffice/phpspreadsheet

```

- [参考文档](https://www.helloweba.net/php/561.html)

PHP图像处理组件：Intervention/image
----------------------------

[](#php图像处理组件interventionimage)

- composer安装

```
composer require intervention/image

```

- [gitHub项目地址](https://github.com/Intervention/image)
- [参考文档](https://www.helloweba.net/php/545.html)
- [官方文档](http://image.intervention.io/api/backup)

实用的PHP验证器类Validator
-------------------

[](#实用的php验证器类validator)

- composer安装

```
composer require particle/validator

```

- [gitHub项目地址](https://github.com/particle-php/Validator)
- [参考文档](https://www.helloweba.net/php/532.html)
- [官方文档](http://validator.particle-php.com/en/latest/)

漂亮的PHP验证码
---------

[](#漂亮的php验证码)

- composer安装

```
composer require gregwar/captcha

```

- [gitHub项目地址](https://github.com/Gregwar/Captcha)
- [参考文档](https://www.helloweba.net/php/513.html)

高效的PHP邮件发送库：Swiftmailer
-----------------------

[](#高效的php邮件发送库swiftmailer)

- composer安装

```
composer require "swiftmailer/swiftmailer:^6.0"

```

- [gitHub项目地址](https://github.com/swiftmailer/swiftmailer/issues)
- [参考文档](https://www.helloweba.net/php/457.html)
- [官方文档](https://swiftmailer.symfony.com/)

邮件发送扩展tp-mailer
---------------

[](#邮件发送扩展tp-mailer)

- composer安装

```
composer require yuan1994/tp-mailer

```

- [gitHub项目地址](https://github.com/yuan1994/tp-mailer)
- [参考文档](http://www.thinkphp.cn/extend/894.html)

轻量实用的PHP分页组件：Paginator
----------------------

[](#轻量实用的php分页组件paginator)

- composer安装

```
composer require "jasongrimes/paginator:~1.0"

```

- [gitHub项目地址](https://github.com/jasongrimes/php-paginator)
- [参考文档](https://www.helloweba.net/php/453.html)

PHP日期和时间处理组件-Carbon
-------------------

[](#php日期和时间处理组件-carbon)

- composer安装

```
composer require nesbot/carbon

```

- [gitHub项目地址](https://github.com/briannesbitt/carbon)
- [参考文档](https://www.helloweba.net/php/443.html)
- [官方文档](https://carbon.nesbot.com/docs/)

tp5 composer扩展think-auth
------------------------

[](#tp5-composer扩展think-auth)

- composer安装

```
composer require dh2y/think-auth

```

- [gitHub项目地址](https://github.com/cinaofdai/think-auth)
- [参考文档](http://www.thinkphp.cn/code/4312.html)
- [案例](https://gitee.com/dh2y/tp5_dh2y_admin)

thinkphp5.1 rbac 权限管理包
----------------------

[](#thinkphp51-rbac-权限管理包)

- composer安装

```
composer require "jackchow/rbac:^1.0"

```

- [gitHub项目地址](https://github.com/jackchow123456/jackchow-rbac)
- [参考文档](http://www.thinkphp.cn/extend/1164.html)

微信开发 composer扩展EasyWeChat
-------------------------

[](#微信开发-composer扩展easywechat)

- composer安装

```
composer require "overtrue/wechat:~4.0" -vvv

```

- [gitHub项目地址](https://github.com/overtrue/wechat)
- [官方文档](https://www.easywechat.com/)

中文转拼音 composer扩展pinyin
----------------------

[](#中文转拼音-composer扩展pinyin)

- composer安装

```
composer require "overtrue/pinyin:~4.0"

```

- [gitHub项目地址](https://github.com/overtrue/pinyin)

短信发送组件 composer扩展Easy SMS
-------------------------

[](#短信发送组件-composer扩展easy-sms)

- composer安装

```
composer require "overtrue/easy-sms"

```

- [gitHub项目地址](https://github.com/overtrue/easy-sms)

OAuth 2.0 授权 composer扩展socialite
--------------------------------

[](#oauth-20-授权-composer扩展socialite)

- composer安装

```
composer require "overtrue/socialite" -vvv

```

- [gitHub项目地址](https://github.com/overtrue/socialite)

php 文字生成图片
----------

[](#php-文字生成图片)

- composer安装

```
composer require dsgygb/text2pic

```

- [gitHub项目地址](https://github.com/xiaomingplus/text2pic)

谷歌验证器
-----

[](#谷歌验证器)

- composer安装

```
composer require "phpgangsta/googleauthenticator:dev-master"

```

- [gitHub项目地址](https://github.com/PHPGangsta/GoogleAuthenticator)
- [参考文档](https://www.helloweba.net/php/593.html)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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 ~39 days

Total

6

Last Release

2253d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5096c743e3e5302acce5980b6a35cf807064443c47d6cbaed1e3b9ef8a73d917?d=identicon)[\_kevin](/maintainers/_kevin)

---

Top Contributors

[![z1px](https://avatars.githubusercontent.com/u/20632023?v=4)](https://github.com/z1px "z1px (12 commits)")[![sky1428](https://avatars.githubusercontent.com/u/191560197?v=4)](https://github.com/sky1428 "sky1428 (1 commits)")

---

Tags

tooltool

### Embed Badge

![Health badge](/badges/z1px-tool/health.svg)

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

###  Alternatives

[phing/phing

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.

1.2k21.7M876](/packages/phing-phing)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

52722.0M859](/packages/bamarni-composer-bin-plugin)[alibabacloud/client

Alibaba Cloud Client for PHP - Use Alibaba Cloud in your PHP project

2223.5M367](/packages/alibabacloud-client)[jalogut/magento2-deployer-plus

Magento 2 deployment tool based on deployer.org

201415.5k](/packages/jalogut-magento2-deployer-plus)[oneduo/nova-file-manager

A handy file manager tool for Laravel Nova

157350.3k2](/packages/oneduo-nova-file-manager)[pktharindu/nova-permissions

Laravel Nova Grouped Permissions (ACL)

136387.1k](/packages/pktharindu-nova-permissions)

PHPackages © 2026

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