ThinkPHP 6 使用composer安装第三方包、扩展
2022-11-24 11:10:29
239
{{single.collect_count}}

步骤

cd /tp6的根目录/composer require apache/log4php> ok!

包名需要自行百度,建议到github搜索,或者直接到包的官网寻找。

composer require 包名

推荐一个没有广告的百度首页,    http://baidu.rudon.cn

截图

OK~

 

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}