https://github.com/z1px/tool
PHP常用工具类
https://github.com/z1px/tool
tool
Last synced: 12 months ago
JSON representation
PHP常用工具类
- Host: GitHub
- URL: https://github.com/z1px/tool
- Owner: z1px
- Created: 2019-08-28T05:44:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-12T03:22:20.000Z (over 5 years ago)
- Last Synced: 2025-04-09T09:49:52.532Z (about 1 year ago)
- Topics: tool
- Language: PHP
- Homepage:
- Size: 9.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
常用composer库
===============
## PHP常用工具
+ composer安装
~~~
composer require z1px/tool
~~~
+ [gitHub项目地址](https://github.com/z1px/tool.git)
## PHP将数字ID转化为唯一字符串
+ composer安装
~~~
composer require hashids/hashids
~~~
+ [gitHub项目地址](https://github.com/ivanakimov/hashids.php)
+ [参考文档](https://www.helloweba.net/php/527.html)
## 使用PHP生成通用唯一识别码(UUID)
+ composer安装
~~~
composer require ramsey/uuid
~~~
+ [gitHub项目地址](https://github.com/ramsey/uuid)
+ [参考文档](https://www.helloweba.net/php/569.html)
## PHP生成中间带LOGO图像的二维码
+ composer安装
~~~
composer require endroid/qr-code
~~~
+ [gitHub项目地址](https://github.com/endroid/qr-code)
+ [参考文档](https://www.helloweba.net/php/455.html)
## 使用PhpSpreadsheet读取和写入Excel
+ composer安装
~~~
composer require phpoffice/phpspreadsheet
~~~
+ [参考文档](https://www.helloweba.net/php/561.html)
## PHP图像处理组件:Intervention/image
+ 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
+ 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验证码
+ composer安装
~~~
composer require gregwar/captcha
~~~
+ [gitHub项目地址](https://github.com/Gregwar/Captcha)
+ [参考文档](https://www.helloweba.net/php/513.html)
## 高效的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
+ composer安装
~~~
composer require yuan1994/tp-mailer
~~~
+ [gitHub项目地址](https://github.com/yuan1994/tp-mailer)
+ [参考文档](http://www.thinkphp.cn/extend/894.html)
## 轻量实用的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
+ 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
+ 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 权限管理包
+ composer安装
~~~
composer require "jackchow/rbac:^1.0"
~~~
+ [gitHub项目地址](https://github.com/jackchow123456/jackchow-rbac)
+ [参考文档](http://www.thinkphp.cn/extend/1164.html)
## 微信开发 composer扩展EasyWeChat
+ composer安装
~~~
composer require "overtrue/wechat:~4.0" -vvv
~~~
+ [gitHub项目地址](https://github.com/overtrue/wechat)
+ [官方文档](https://www.easywechat.com/)
## 中文转拼音 composer扩展pinyin
+ composer安装
~~~
composer require "overtrue/pinyin:~4.0"
~~~
+ [gitHub项目地址](https://github.com/overtrue/pinyin)
## 短信发送组件 composer扩展Easy SMS
+ composer安装
~~~
composer require "overtrue/easy-sms"
~~~
+ [gitHub项目地址](https://github.com/overtrue/easy-sms)
## OAuth 2.0 授权 composer扩展socialite
+ composer安装
~~~
composer require "overtrue/socialite" -vvv
~~~
+ [gitHub项目地址](https://github.com/overtrue/socialite)
## 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)