>这里收录了ThinkPHP的相关插件和扩展,收录请[提交ISSUE](https://github.com/top-think/think-awesome/issues)或者给我们发邮件 列表数据格式依次为:描述 插件(或扩展)Composer包名 —— 仓库地址 >[danger] 请使用`composer require Composer包名`安装插件或扩展 ## 数据库 || |---| | 数据库迁移工具 `topthink/think-migration` —— [https://github.com/top-think/think-migration](https://github.com/top-think/think-migration) | | ORM类库 `topthink/think-orm` —— [https://github.com/top-think/think-orm](https://github.com/top-think/think-orm) | | Oracle驱动 `topthink/think-oracle`—— [https://github.com/top-think/think-oracle](https://github.com/top-think/think-oracle) | | MongoDb扩展 `topthink/think-mongo`—— [https://github.com/top-think/think-mongo](https://github.com/top-think/think-mongo) | |SQL语句优化扩展 `guanguans/think-soar`—— https://github.com/guanguans/think-soar | |适用于6.0的分页驱动库 `big-dream/think-paginator-driver`—— https://github.com/big-dream/think-paginator-driver | |数据库迁移`itxq/think-phinx` —— https://github.com/itxq/think-phinx | |数据库迁移`nhzex/think-phinx` —— https://github.com/nhzex/think-phinx| |迁移文件生成 `jaguarjack/migration-generator` —— https://github.com/yanwenwu/migration-generator | | 数据库管理工具 `iszsw/porter`——https://github.com/iszsw/porter| |thinkphp6 自动化CURD `iszsw/curd` —— [https://github.com/iszsw/curd](https://github.com/iszsw/curd) | |全文搜索 `whereof/think-scout` —— https://github.com/whereof/think-scout| ## 验证和权限控制 || |---| |PHP-Casbin `casbin/casbin`—— https://github.com/php-casbin/php-casbin | |6.0 Authorization `casbin/think-authz`—— https://github.com/php-casbin/think-authz | |5.1访问控制库(Casbin)扩展 `casbin/think-adapter` —— https://github.com/php-casbin/think-casbin | |RBAC权限认证 `zouxiang0639/thinkcms-auth`—— https://github.com/zouxiang0639/thinkcms-auth | |适用于5.1和6.0的Auth权限扩展`liliuwei/thinkphp-auth` —— https://github.com/liliuwei/thinkphp-auth | |jwt身份验证扩展包(支持tp5.1和6.0)`thans/tp-jwt-auth`—— [https://github.com/QThans/jwt-auth](https://github.com/QThans/jwt-auth)| | 访问频率限制 `topthink/think-throttle`—— [https://github.com/top-think/think-throttle](https://github.com/top-think/think-throttle) | |ThinkPHP6 Auth库 `wenhainan/thinkphp6-auth`—— https://github.com/wenhainan/thinkphp6-auth| |ThinkPHP6 权限验证 `yunwuxin/think-auth`——https://github.com/yunwuxin/think-auth| | 验证码 `topthink/think-captcha`—— [https://github.com/top-think/think-captcha](https://github.com/top-think/think-captcha) | | Validate验证 `topthink/think-validate`—— [https://github.com/top-think/think-validate](https://github.com/top-think/think-validate) | |ThinkPHP6状态机`topthink/think-workflow`——https://github.com/top-think/think-workflow| |基于tp3修改的thinkphp6-auth权限认证类`hahadu/think-auth`——[https://github.com/hahadu/think-auth](https://github.com/hahadu/think-auth) |强大的验证类库 `respect/validation`—— [https://github.com/Respect/Validation](https://github.com/Respect/Validation)| |Token生成 `wenhainan/think-token`—— https://github.com/wenhainan/think-token| ## 模板引擎 || |---| | angular模板引擎扩展 `topthink/think-angular`—— [https://github.com/top-think/think-angular](https://github.com/top-think/think-angular) | | thinkphp模板引擎扩展 `topthink/think-template`—— [https://github.com/top-think/think-template](https://github.com/top-think/think-template) | | Twig模板引擎扩展 `yunwuxin/think-twig`—— [https://github.com/yunwuxin/think-twig](https://github.com/yunwuxin/think-twig) | | Blade模板引擎扩展`terranc/think-blade` —— [https://github.com/terranc/think-blade](https://github.com/terranc/think-blade) | |6.0 Blade模板引擎扩展`nhzex/think-blade` —— https://github.com/nhzex/think-blade| | 模板(魔法)扩展`xiaodi/think-templte-magic` ——[https://github.com/xiaodit/think-template-magic](https://github.com/xiaodit/think-template-magic)| ## 调试工具 || |---| | 异常接管扩展(Whoops)`xiaodi/think-whoops` ——[https://github.com/xiaodit/think-whoops](https://github.com/xiaodit/think-whoops)| | 页面Trace `topthink/think-trace`—— [https://github.com/top-think/think-trace](https://github.com/top-think/think-trace) | | DebugBar `topthink/think-debugbar`—— [https://github.com/top-think/think-debugbar](https://github.com/top-think/think-debugbar) | |SocketLog扩展`topthink/think-socketlog`——https://github.com/top-think/think-socketlog| | SeasLog日志扩展 `topthink/think-seaslog`—— [https://github.com/top-think/think-seaslog](https://github.com/top-think/think-seaslog) | | Log扩展 `topthink/think-log`—— [https://github.com/top-think/think-log](https://github.com/top-think/think-log) | | 应用单元测试 `topthink/think-testing`—— [https://github.com/top-think/think-testing](https://github.com/top-think/think-testing) | |记录 HTTP 请求 `whereof/think-http-logger`——https://github.com/whereof/think-http-logger ## IDE提示、注解 || |------| | ThinkPHP6注解扩展 `topthink/think-annotation`—— [https://github.com/top-think/think-annotation](https://github.com/top-think/think-annotation) | |ThinkPHP6官方注解增强版 `lazyskills/think-annotation`—— [https://github.com/LazySkills/think-annotation](https://github.com/LazySkills/think-annotation)| | 自动生成模型注释 `yunwuxin/think-model-helper`—— [https://github.com/yunwuxin/think-model-helper](https://github.com/yunwuxin/think-model-helper) | |6.0 IDE助手 `topthink/think-ide-helper`—— https://github.com/top-think/think-ide-helper| |注解路由 + 自动接口文档生成 + 自动测试数据生成 `iszsw/mock`—— https://github.com/iszsw/mock ## 社会化登录 || |---| |支付宝php-SDK`wi1dcard/alipay-sdk` —— https://github.com/wi1dcard/alipay-sdk-php | | 社会化登录扩展 `liliuwei/thinkphp-social`——[https://github.com/liliuwei/thinkphp-social](https://github.com/liliuwei/thinkphp-social)| | 社会化登录组件 `yunwuxin/think-social`—— [https://github.com/yunwuxin/think-social](https://github.com/yunwuxin/think-social) | |微信php-SDK `overtrue/wechat`—— https://github.com/overtrue/wechat| |第三方登录`wycto/login`——https://github.com/wycto/login| ## 短信、邮件和消息 || |---| |阿里云短信发送扩展 `bingher/ali-sms`—— https://github.com/hbh112233abc/ali-sms | | 优美的php邮件类tp-mailer `yzh52521/think-mail`——[https://github.com/yzh52521/think-mail]|(https://github.com/yzh52521/think-mail)| | 短信验证码、验证`lunzi/tp-sms` ——[https://github.com/LunziSTU/tp-sms](https://github.com/LunziSTU/tp-sms)| | 邮件发送扩展 `yunwuxin/think-mail`—— [https://github.com/yunwuxin/think-mail](https://github.com/yunwuxin/think-mail) | | 消息通知扩展 `yunwuxin/think-notification`—— [https://github.com/yunwuxin/think-notification](https://github.com/yunwuxin/think-notification) | |短信服务接口库`wycto/sms`——https://github.com/wycto/sms| |亿速云短信扩展 `yisu-cloud/sms` —— https://github.com/yisu-cloud/sms| |短信发送扩展`tongso/notice-message`——https://github.com/tongso/notice-message| ## 队列、任务 || |------| | 消息队列 `topthink/think-queue`—— [https://github.com/top-think/think-queue](https://github.com/top-think/think-queue) | | 计划任务 `yunxuxin/think-cron`—— [https://github.com/yunwuxin/think-cron](https://github.com/yunwuxin/think-cron) | |PHP常驻内存定时器 `easy-task/easy-task`—— https://gitee.com/392223903/EasyTask | |thinkphp 任务调度 `yzh52521/schedule`—— https://github.com/yzh52521/schedule| |异步执行 `baiy/think-async`—— https://github.com/baiy/think-async| ## 短网址、分词、采集 || |---| | 分词/抽词扩展 `xiaodi/think-pullword`——[https://github.com/xiaodit/think-pullword](https://github.com/xiaodit/think-pullword)| | 获取HTML字符串中的图片地址 `lipowei/img`——[https://github.com/ITwuzhiwei/getImgSrc](https://github.com/ITwuzhiwei/getImgSrc)| | 短地址扩展 `bingher/short-url`——[https://github.com/hbh112233abc/short-url](https://github.com/hbh112233abc/short-url)| | 中文转拼音扩展 `xiaodi/think-pinyin`——[https://github.com/xiaodit/think-pinyin](https://github.com/xiaodit/think-pinyin)| | 网站链接提交扩展`xiaodi/think-site-pusher` ——[https://github.com/xiaodit/think-site-pusher](https://github.com/xiaodit/think-site-pusher)| | 网站地图 Sitemap扩展`liliuwei/php-sitemap` ——[https://github.com/liliuwei/php-sitemap](https://github.com/liliuwei/php-sitemap)| ## 工具类库 || |---| | 助手库 `topthink/think-helper`—— [https://github.com/top-think/think-helper](https://github.com/top-think/think-helper) | | 二维码生成类库 `endroid/qr-code`——[https://github.com/endroid/qr-code](https://github.com/endroid/qr-code)| | xml类库`servo/fluidxml` ——[https://github.com/servo-php/fluidxml](https://github.com/servo-php/fluidxml)| | 省市区(县)街道四级联动扩展`yupoxiong/region` ——[https://github.com/yupoxiong/region](https://github.com/yupoxiong/region)| | 钉钉机器人扩展 `bingher/ding-bot` ——[https://github.com/hbh112233abc/ding-bot](https://github.com/hbh112233abc/ding-bot)| | 适用于thinkphp6.0的跳转扩展`liliuwei/thinkphp-jump` ——[https://github.com/liliuwei/thinkphp-jump](https://github.com/liliuwei/thinkphp-jump)| | 第三方filesystem扩展包(支持阿里云、七牛云)`thans/thinkphp-filesystem-cloud` ——[https://gitee.com/thans/thinkphp-filesystem-cloud](https://gitee.com/thans/thinkphp-filesystem-cloud)| | think-addons `zzstudio/think-addons`——[https://github.com/zz-studio/think-addons](https://github.com/zz-studio/think-addons)| | Swoole扩展 `topthink/think-swoole`—— [https://github.com/top-think/think-swoole](https://github.com/top-think/think-swoole) | | Workerman扩展 `topthink/think-worker`—— [https://github.com/top-think/think-worker](https://github.com/top-think/think-worker) | | 图像处理类 `topthink/think-image`—— [https://github.com/top-think/think-image](https://github.com/top-think/think-image) | | 图片动态裁剪缩放库 `topthink/think-glide`—— [https://github.com/top-think/think-glide](https://github.com/top-think/think-glide) | | 缓存管理 `topthink/think-cache`—— [https://github.com/top-think/think-cache](https://github.com/top-think/think-cache) | | TagLib编辑器 `topthink/think-editor`—— [https://github.com/top-think/think-editor](https://github.com/top-think/think-editor) | | 容器和门面 `topthink/think-container`—— [https://github.com/top-think/think-container](https://github.com/top-think/think-container) | |PDF生成 `mpdf/mpdf`——[https://github.com/mpdf/mpdf](https://github.com/mpdf/mpdf)| |csv处理工具 `wenhainan/thinkcsv`——[https://github.com/wenhainan/thinkcsv](https://github.com/wenhainan/thinkcsv)| ## 其它 || |---| |用PHP负载均衡调度算法 `tinywan/load-balancing`—— https://github.com/Tinywan/load-balancing| | PSR-16 to PSR-6 Bridge `topthink/think-bridge`—— [https://github.com/top-think/cache-bridge](https://github.com/top-think/cache-bridge) | |工作流插件 —— https://gitee.com/ntdgg/tpflow | | 代码生成器 ——[https://github.com/zhuanqianfish/ThinkphpHelper](https://github.com/zhuanqianfish/ThinkphpHelper)| | thinkphp门面类自动生成工具`liuqiandev/thinkphp-facade-generator`——https://github.com/liuqiandev/thinkphp-facade-generator| |ThinkPHP6百度富文本编辑器ueditor扩展 `bingher/ueditor`—— <https://github.com/hbh112233abc/ueditor>| | Alibaba Cloud Client for PHP `alibabacloud/sdk` —— https://github.com/aliyun/openapi-sdk-php| |基于thinkphp6的管理中控台库,带菜单,权限,配置等 `suframe/think-admin`——https://github.com/suframe/think-admin|