php常用插件_php插件

  • 2019年5月31日更新
1.定时任务管理扩展
https://gitee.com/zjq528/yii2-cron

2.php验证扩展(类似yii2)
https://gitee.com/zjq528/php-validate

3.阿里大于短信扩展
https://github.com/zhang-jianqiang/dysms

https://github.com/flc1125/alidayu

4.微信支付扩展
https://github.com/zhang-jianqiang/omnipay-wechatpay

5.支付宝支付扩展
https://github.com/zhang-jianqiang/omnipay-alipay

6.银联支付扩展
https://github.com/zhang-jianqiang/omnipay-unionpay

7.http请求扩展guzzle(没有zttp好用)
https://github.com/zhang-jianqiang/guzzle

8.http请求扩展zttp
https://github.com/zhang-jianqiang/zttp

9.yii2-redis扩展
https://github.com/yiisoft/yii2-redis

10.微信公众号扩展(easyWechat)
https://github.com/overtrue/wechat

11.七牛-ueditor(可以直接传图到七牛云js插件)
https://github.com/zhang-jianqiang/qiuniu_ueditor

12.Linux微信网页扩展
https://github.com/zhang-jianqiang/Mojo-Weixin

13.PHP解析Markdown
https://github.com/erusev/parsedown

14.PHP生成pdf文档
https://github.com/mpdf/mpdf

//使用
$mpdf = new Mpdf();
//防止中文乱码
$mpdf->autoLangToFont = true;
$mpdf->autoScriptToLang = true;

$mpdf->WriteHTML('<h1>Hello world!你好</h1>');

//直接输出到浏览器
$mpdf->Output();
//直接下载文件
$mpdf->Output('test.pdf', 'D');

15.最新phpexcel扩展
https://phpspreadsheet.readthedocs.io/en/latest/

16.开源PHP文件管理系统
可道云
http://kodcloud.com/

17.php数据校验扩展
https://github.com/rakit/validation

18.生成二维扩展
https://github.com/2amigos/qrcode-library

19.PhpAnalysis分词扩展
http://www.phpbone.com/phpanalysis/

20.PHPMailer发送邮件
https://github.com/PHPMailer/PHPMailer

test:
$phpmailer = new PHPMailer();
$phpmailer->isSMTP();
$phpmailer->SMTPDebug = 2;
$phpmailer->SMTPAuth = true;
$phpmailer->Host = 'smtp.qq.com';
$phpmailer->SMTPSecure = 'ssl';
$phpmailer->Port = 465;
$phpmailer->CharSet = 'UTF-8';
$phpmailer->Username = '***83966@qq.com';
$phpmailer->Password = '1234551112';
$phpmailer->FromName = '***83966@qq.com';
$phpmailer->setFrom('***83966@qq.com', '测试');
$phpmailer->isHTML(true);
$phpmailer->addAddress('***43791@qq.com');
$phpmailer->Subject = '我正在测试发送邮件';
$phpmailer->Body = '<h1>Hello World</h1>';
$status = $phpmailer->send();

21.rageframe yii2框架
http://www.rageframe.com/#snapshoot

22.数据抓取类库
https://github.com/bupt1987/html-parser

23.用于解析,格式化,存储和验证国际电话号码的PHP库
https://github.com/giggsey/libphonenumber-for-php

24.汉字转拼音
https://github.com/overtrue/pinyin

25.yii2计划任务插件
https://github.com/DenisOgr/yii2-cronjobs

26.生成jwt token
官网:https://jwt.io/
// php插件
https://github.com/lcobucci/jwt

27.php高效操作excle的扩展
https://xlswriter-docs.viest.me/zh-cn/an-zhuang/pecl-tui-jian

28.解析crontab扩展
https://github.com/mtdowling/cron-expression

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值