php common plug-ins

original intention

The following is a summary of some easy-to-use extensions found and used in the development, which will be updated constantly. If there is a good extension recommendation, you can also leave a message and I will add it in time for your own and everyone's use.

1. Timed task management extension

https://gitee.com/zjq528/yii2-cron

2.php validation extension (similar to yii2)

https://gitee.com/zjq528/php-validate

3. Alibaba is larger than SMS extension

https://github.com/zhang-jianqiang/dysms

https://github.com/flc1125/alidayu

4. Wechat payment extension

https://github.com/zhang-jianqiang/omnipay-wechatpay

5. Alipay payment expansion

https://github.com/zhang-jianqiang/omnipay-alipay

6. UnionPay payment extension

https://github.com/zhang-jianqiang/omnipay-unionpay

7.http request extension guzzle (no zttp)

https://github.com/zhang-jianqiang/guzzle

8.http request extension zttp

https://github.com/zhang-jianqiang/zttp

9. Yii2 redis extension

https://github.com/yiisoft/yii2-redis

10. WeChat public number expansion (easyWechat)

https://github.com/overtrue/wechat

11. Qinniu ueditor (you can directly transfer the image to the qinniu cloud js plug-in)

https://github.com/zhang-jianqiang/qiuniu_ueditor

12.Linux wechat web page expansion

https://github.com/zhang-jianqiang/Mojo-Weixin

13.PHP parsing Markdown

https://github.com/erusev/parsedown

14.PHP generates pdf document

https://github.com/mpdf/mpdf

//Use
$mpdf = new Mpdf();
//Prevent Chinese miscoding
$mpdf->autoLangToFont = true;
$mpdf->autoScriptToLang = true;

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

//Output directly to browser
$mpdf->Output();
//Download files directly
$mpdf->Output('test.pdf', 'D');

15. Latest phpexcel extension

https://phpspreadsheet.readthedocs.io/en/latest/

16. Open source PHP file management system

Ke Dao Yun
http://kodcloud.com/

17.php data verification extension

https://github.com/rakit/validation

18. Generate 2D extension

https://github.com/2amigos/qrcode-library

19. Phanalysis word segmentation extension

http://www.phpbone.com/phpanalysis/

20.PHPMailer sends email

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', 'test');
$phpmailer->isHTML(true);
$phpmailer->addAddress('***43791@qq.com');
$phpmailer->Subject = 'I'm testing sending mail';
$phpmailer->Body = '<h1>Hello World</h1>';
$status = $phpmailer->send();

21.rageframe yii2 framework

http://www.rageframe.com/#snapshoot

22. Data capture class library

https://github.com/bupt1987/html-parser

Tags: github PHP Redis Linux

Posted on Sun, 03 Nov 2019 12:53:05 -0500 by ivi