zttp php,php常用插件

初衷

以下总结了一些开发中发现以及用到的比较好用的扩展,会不断地进行更新,如果有好的扩展推荐,也可以留言我会及时补充上,方便自己和大家使用。

更新说明:

2019年11月11日更新,添加 php 文件加密扩展

2019年10月28日更新,添加 php 资源列表

2019年9月18日更新,添加xunsearch php中文分词扩展

2019年9月12日更新,添加crontab解析扩展

2019年9月11日更新,添加php高效操作excel的扩展

2019年8月5日更新,添加php生成jwt token插件

2019年6月16日更新,添加一款极度好用的yii2定时任务管理插件

2019年6月6日更新,添加汉字转拼音插件

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('

Hello world!你好');

//直接输出到浏览器

$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 = '

Hello World';

$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

28.迅搜扩展

https://github.com/hightman/xunsearch

官网详细教程链接:http://www.xunsearch.com/

29.php资源列表

// 这是一个掘金上看到的非常全的 php 资源列表

https://juejin.im/entry/58fc427161ff4b00666424cb

30.php文件加密扩展

这是一个别人写的 php 文件加密的扩展,注意是 php 扩展,简单测试了一下简单文件可用,但是有一个问题,安装之后 composer 不可用了,以下链接是我 fork 作者的项目,并在一位大神的指导下修复了 php7.2 启用扩展后不能使用 composer 问题

https://gitee.com/zjq528/php-screw-plus

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值