当前位置:首页 > 发现 > 开发 > thinkphp6常用应用包

thinkphp6常用应用包

9个月前 (08-08)开发236

1、多应用模式

官方默认框架为单应用模式,在开发中经常会把后端跟前端或者API端进行多模块划分,所以多应用模式不能缺少

安装多模式扩展,命令行进入项目根目录执行

composer require topthink/think-multi-app

具体使用方法参考官方手册 https://www.kancloud.cn/manual/thinkphp6_0/1297876


2、跳转扩展

在6.0.x版本中官方是没有自带跳转扩展,所以需要安装第三方或自己编写。

composer require liliuwei/thinkphp-jump

具体使用方法参考 https://github.com/liliuwei/thinkphp-jump


3、社会化登录扩展

集成QQ、微信、新浪、百度、Gitee、Github、Oschina、Google、Facebook、淘宝、抖音、小米、钉钉第三方登录

composer require liliuwei/thinkphp-social

具体使用方法参考 https://github.com/liliuwei/thinkphp-social


4、OSS文件上传

支持本地上传、七牛云、阿里云OSS上传

composer require chziyun/think6-oss

具体使用方法参考 https://github.com/chziyun/think6-oss


5、插件扩展

composer require zzstudio/think-addons

具体使用方法参考 https://github.com/zz-studio/think-addons


6、API文档自动生成

composer require ric/thinkphp6-apidoc

具体使用方法参考 https://gitee.com/tojeekup/thinkphp6-apidoc


7、微信SDK

composer require ezos/think-wechat

具体使用方法参考 https://github.com/WuYunlong/think-wechat


8、队列

composer require topthink/think-queue

具体使用方法参考 https://github.com/top-think/think-queue


9、邮件发送

支持 smtp|sendmail|mail 发送方式

composer require yzh52521/think-mail dev-master

具体使用方法参考 https://github.com/yzh52521/think-mail


10、JWT -- JSON WEB TOKEN

http协议token认证机制

composer require firebase/php-jwt

具体使用方法参考 https://github.com/firebase/php-jwt

持续更新中。。。。

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。