{"id":181948,"date":"2020-10-27T10:19:40","date_gmt":"2020-10-27T02:19:40","guid":{"rendered":"http:\/\/4563.org\/?p=181948"},"modified":"2020-10-27T10:19:40","modified_gmt":"2020-10-27T02:19:40","slug":"thinkphp-%e5%ae%8c%e6%88%90%e5%85%a8%e7%89%88%e6%9c%ac-composer2-0-%e5%85%bc%e5%ae%b9","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=181948","title":{"rendered":"ThinkPHP \u5b8c\u6210\u5168\u7248\u672c Composer2.0 \u517c\u5bb9"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  ThinkPHP \u5b8c\u6210\u5168\u7248\u672c Composer2.0 \u517c\u5bb9               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : topthink <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u9274\u4e8e<code>Composer2<\/code>\u5df2\u7ecf\u6b63\u5f0f\u53d1\u5e03\uff0c\u5b98\u65b9\u7b2c\u4e00\u65f6\u95f4\u8fdb\u884c\u4e86\u517c\u5bb9\u6d4b\u8bd5\uff0c\u5bf9 ThinkPHP5.0 \u30015.1 \u548c 6.0 \u5206\u522b\u505a\u4e86\u517c\u5bb9\u66f4\u65b0\uff0c\u786e\u4fdd\u5927\u5bb6\u53ef\u4ee5\u4f53\u9a8c\u5230<code>Composer2<\/code>\u7684\u4f18\u52bf\u6027\u80fd\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/10\/20201031_5f9d7774ca91d.png\" alt=\"ThinkPHP \u5b8c\u6210\u5168\u7248\u672c Composer2.0 \u517c\u5bb9\" \/><\/p>\n<p>\u56e0\u4e3a<code>composer\/installed.json<\/code>\u683c\u5f0f\u7684\u53d8\u5316\u5bfc\u81f4 ThinkPHP6.0 \u6269\u5c55\u5b89\u88c5\u51fa\u9519\uff0c\u53ea\u9700\u8981\u66f4\u65b0\u5230\u6700\u65b0\u7684<code>V6.0.5<\/code>\u7248\u672c\u5373\u53ef\u89e3\u51b3\u3002<\/p>\n<p>5.0 \u548c 5.1 \u7248\u672c\u7531\u4e8e\u4e0d\u662f\u5f3a\u4f9d\u8d56 Composer\uff0c\u5b98\u65b9\u5df2\u7ecf\u66f4\u65b0\u4e86 think-installer \u5e93\u786e\u4fdd\u5df2\u7ecf\u53ef\u4ee5\u517c\u5bb9 composer2.0 \u3002<\/p>\n<p>\u73b0\u5728\u5df2\u7ecf\u53ef\u4ee5\u901a\u8fc7 Composer2.0 \u6109\u5feb\u7684\u4f7f\u7528 ThinkPHP \u5168\u7248\u672c\u4e86^_^ \u5e0c\u671b\u5927\u5bb6\u5c3d\u65e9\u62e5\u62b1<code>Composer<\/code>\uff0c\u62e5\u62b1<code>ThinkPHP<\/code>\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3950356\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lscexpress <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u592a\u597d\u4e86\uff0c\u6628\u5929\u7528 composer2 \u5b89\u88c5 tp5.1 \u8fd8\u6709\u95ee\u9898\uff0c\u4eca\u5929\u5c31\u641e\u597d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3950357\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lepig <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4fee\u590d\u901f\u5ea6\u53ef\u4ee5\u7684\uff0c\u652f\u6301\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3950358\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : aa81425600 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5410\u69fd\u4e00\u4e0b composer2\uff0c\u5404\u79cd\u62a5\u9519\u7ed9\u6574\u8499\u4e86\uff0c\u540e\u6765\u6784\u5efa\u7684\u65f6\u5019\u628a\u7248\u672c\u6572\u5728\u4e86 1.10.16 \u6ca1\u7528 2 \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3950359\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hbolive <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9876\uff0c\u8fd9\u901f\u5ea6\u4e5f\u662f\u5f88\u5feb\u4e86\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>ThinkPHP \u5b8c\u6210\u5168\u7248\u672c Co&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/181948"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181948"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/181948\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181948"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}