{"id":180090,"date":"2020-10-28T17:16:40","date_gmt":"2020-10-28T09:16:40","guid":{"rendered":"http:\/\/4563.org\/?p=180090"},"modified":"2020-10-28T17:16:40","modified_gmt":"2020-10-28T09:16:40","slug":"php-composer-%e5%ae%89%e8%a3%85-thinkphp-%e6%8a%a5%e9%94%99%e9%97%ae%e9%a2%98%ef%bc%8c-%e6%b1%82%e5%8a%a9%ef%bc%88%e6%80%a5%ef%bc%89","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=180090","title":{"rendered":"PHP composer \u5b89\u88c5 thinkphp \u62a5\u9519\u95ee\u9898\uff0c \u6c42\u52a9\uff08\u6025\uff09"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  PHP composer \u5b89\u88c5 thinkphp \u62a5\u9519\u95ee\u9898\uff0c \u6c42\u52a9\uff08\u6025\uff09               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : edk24 <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u670d\u52a1\u5668\u4ee5\u524d\u6709\u4e2a php5.4\uff0c \u540e\u9762\u52a0\u4e86\u4e2a php7.3<\/p>\n<p>\u7528 composer \u81ea\u52a8\u5b9a\u4f4d 5.4\uff0c \u5bfc\u81f4\u6211 tp5.1 \u65e0\u6cd5\u5b89\u88c5\u4f9d\u8d56\uff0c \u73b0\u5728\u7528\u7f51\u4e0a\u8fd9\u4e2a\u65b9\u5f0f\u5b89\u88c5\u3002 \u5176\u4ed6\u90fd ok \u4e86\u3002 tp \u5374\u5b89\u88c5\u4e0d\u4e0a\u4e86<\/p>\n<p>\u7740\u6025\u3002\u3002\u3002<\/p>\n<pre><code>[[email&#160;protected] star]# \/usr\/local\/php\/bin\/php composer.phar install Do not run Composer as root\/super user! See https:\/\/getcomposer.org\/root for details Continue as root\/super user [yes]? yes Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update &lt;package name&gt;`. Package operations: 1 install, 0 updates, 0 removals   - Downloading topthink\/framework (v5.1.40)   - Installing topthink\/framework (v5.1.40): Extracting archive     Failed to extract topthink\/framework: (9) unzip -qq  '\/home\/wwwroot\/star\/vendor\/composer\/tmp-7ea691416e557dbb8cb8858815b4c4ef' -d '\/home\/wwwroot\/star\/vendor\/composer\/bd3e9c7b'                                                                                                                                                                                                                       unzip:  cannot find or open \/home\/wwwroot\/star\/vendor\/composer\/tmp-7ea691416e557dbb8cb8858815b4c4ef.                                                                                                                                                                                                                                                                                                                                            This most likely is due to a custom installer plugin not handling the returned Promise from the downloader     See https:\/\/github.com\/composer\/installers\/commit\/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix Package endroid\/qrcode is abandoned, you should avoid using it. Use endroid\/qr-code instead. Package zendframework\/zend-escaper is abandoned, you should avoid using it. Use laminas\/laminas-escaper instead. Generating autoload files 10 packages you are using are looking for funding. Use the `composer fund` command to find out more!  <\/code><\/pre>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>31<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3940886\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dilu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u4e2a\u9519\u600e\u4e48\u770b\u90fd\u4e0d\u50cf\u662f\u56e0\u4e3a php \u7248\u672c\u62a5\u51fa\u6765\u7684\u554a<\/p>\n<p>\u52a0\u4e0a &#8211;no-plugins \u53c2\u6570\u8bd5\u8bd5\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940887\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : edk24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5df2\u89e3\u51b3\uff0ccomposer \u7248\u672c\u592a\u65b0\uff0c\u6362\u6210 1.10x \u5c31\u53ef\u4ee5\u4e86\u3002\u53bb composer \u5b98\u7f51\u4e0b\u8f7d\u4f4e\u7248\u672c\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940888\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : edk24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dilu \u5df2\u89e3\u51b3\uff0c\u8c22\u8c22                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940889\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u771f\u662f\u65f6\u4ee3\u53d8\u4e86\uff0c\u6211\u8fd8\u662f\u559c\u6b22\u624b\u5de5\u4e0b\u8f7d\u4ee3\u7801\u89e3\u538b\uff0cphp \u7528\u4ec0\u4e48\u9b3c composer\uff0c\u5c31\u8ddf js \u7528\u4ec0\u4e48\u9b3c npm \u4e00\u6837\uff0c\u4e00\u5806\u95ee\u9898\uff0c\u6ca1\u89c1\u4ec0\u4e48\u4f18\u70b9\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940890\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : skymei <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck \u90a3\u4f60\u786e\u5b9e\u662f\u8001\u4e86\uff0ccomposer \u8ba9 PHP \u7684\u5305\u7ba1\u7406\u597d\u7528\u4e0d\u5c11                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940891\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : agdhole <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck #4 \u73b0\u4ee3\u5f00\u53d1\u5305\u7ba1\u7406\u90fd\u662f\u5fc5\u5907\u4e86\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940892\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @skymei \u4f46\u8fd9\u4e2a\u6ca1\u6709\u624b\u5de5\u7684\u53ef\u9760                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940893\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mitt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck #4 \u201c\u4e00\u5806\u95ee\u9898\u201d \u83ab\u540d\u5176\u5999\uff0c\u5c31\u8ddf linux \u88c5\u4e2a\u5565\u8f6f\u4ef6\u90fd\u7f51\u4e0a\u4e00\u5806\u6559\u7a0b\u6559\u4f60\u5982\u4f55\u624b\u5de5\u7f16\u8bd1\u5b89\u88c5\u4e00\u6837\uff0c\u4eba\u5bb6\u672c\u6765\u5c31\u6709\u7a33\u5b9a\u7248\u7684\u5305 apt install \u5c31\u88c5\u5b8c\u4e86\u8fd8\u975e\u5f97\u81ea\u5df1\u7f16\u8bd1\u51fa\u4e00\u5806\u95ee\u9898\u602a linux \u592a\u590d\u6742\uff0c\u9664\u975e\u6709\u9700\u8981\uff0c\u5426\u5219\u8c01\u8fd8\u4f1a\u628a\u65f6\u95f4\u6d6a\u8d39\u5728\u8fd9\u4e0a\u9762                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940894\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mitt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u201cunzip: cannot find or open \/home\/wwwroot\/star\/vendor\/composer\/tmp-7ea691416e557dbb8cb8858815b4c4ef.\u201d \u8fd9\u4e00\u884c\u62a5\u9519\u6700\u4e3b\u8981\uff0c\u8981\u4e48\u5c31\u662f\u4e0b\u8f7d\u5931\u8d25\u4e86\uff0c\u8981\u4e48\u5c31\u662f\u6587\u4ef6\u5360\u7528\u6743\u9650\u95ee\u9898\uff0c\u964d\u7ea7 composer \u5e94\u8be5\u662f\u987a\u4fbf\u6e05\u4e86\u7f13\u5b58\u6240\u4ee5\u624d\u597d\u7684\uff0c\u5e94\u8be5\u591a\u82b1\u70b9\u65f6\u95f4\u4e86\u89e3\u4e00\u4e0b\u5177\u4f53\u539f\u56e0\u7684\uff0c\u5343\u4e07\u4e0d\u8981\u76f4\u63a5\u7529\u9505                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940895\" 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>                                                             Composer \u5b9e\u73b0\u4e86\u4e00\u952e\u5305\u5b89\u88c5\u3001\u7248\u672c\u4f9d\u8d56\u89e3\u6790\u3001\u81ea\u52a8\u52a0\u8f7d\uff0c\u662f\u73b0\u4ee3 PHP \u7684\u57fa\u77f3\u3002\u4ece\u6b64 PHP \u8fce\u6765\u4e86\u5927\u7edf\u4e00\u65f6\u4ee3\u3002\u5982\u4eca\uff0c\u4e0d\u4ec5\u662f\u6846\u67b6\uff0c\u4efb\u4f55 PHP \u9879\u76ee\uff0c\u90fd\u53ef\u4ee5\u4f7f\u7528 Composer \u5b89\u88c5\u9879\u76ee\u6240\u9700\u8981\u7684\u5e93\u5305\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940896\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Mitt \u6211\u8bf4\u7684\u5c31\u662f\u8fd9\u4e2a install \u4e00\u5806\u95ee\u9898\uff01\u6b63\u597d\u4f60\u8bf4\u4e86\u7f16\u8bd1\u95ee\u9898\uff0c\u5982\u679c install \u4e00\u4e0b\u80fd\u89e3\u51b3\u95ee\u9898\uff0c\u8c01\u613f\u610f\u53bb\u7f16\u8bd1\uff0c\u73b0\u5b9e\u4e2d\u5c31\u662f\u6709\u5f88\u591a\u60c5\u51b5\u9700\u8981\u7f16\u8bd1\u3002\u518d\u8bf4\u56de\u6765\uff0c\u4f60\u53d1\u5e03 php \u9879\u76ee\u662f install \u597d\u4e00\u8d77\u53d1\u5e03\u8fd8\u662f\u7ebf\u4e0a\u518d install \uff1f\u5927\u5bb6\u7684\u4e60\u60ef\u4e00\u6837\u5417\uff1f\u5982\u679c\u7ebf\u4e0a\u673a\u5668\u56e0\u4e3a\u5b89\u5168\u6216\u7ba1\u7406\u539f\u56e0\u4e0d\u80fd\u8fde\u5916\u7f51\uff0c\u8fd9\u65f6\u5982\u679c\u8981 install \u5982\u4f55\u65b9\u4fbf\u7684\u5904\u7406\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940897\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @agdhole \u5982\u679c\u662f\u5305\u7ba1\u7406\u786e\u5b9e\u5fc5\u5907\uff0c\u4f46 php \u7684\uff08 Js \u4e5f\u4e00\u6837\uff09\u8fd9\u4e2a\u5305\u65b9\u5f0f\u6709\u4e9b\u522b\u626d\uff0c\u5982\u679c\u662f\u7c7b\u4f3c\u7f16\u8bd1\u6210\u4e8c\u8fdb\u5236\u7684\u65b9\u5f0f\u90a3\u5c31\u6ca1\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940898\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JaguarJack <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck composer \u95ee\u9898\u8fd8\u591a?\u4ece\u6ca1\u9047\u5230\u8fc7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940899\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mitt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck #11 \u7ebf\u4e0a install\uff0c\u5982\u679c\u4f60\u4e0d\u80fd\u8fde\u5916\u7f51\u90a3\u80af\u5b9a\u53e6\u5f53\u522b\u8bba\uff0c\u4f46\u51e1\u4e0d\u662f\u7f51\u7edc\u95ee\u9898\u90fd\u4e0d\u5e94\u8be5\u628a\u5305\u4e00\u8d77\u6253\u5305\u4e0a\u53bb\uff0c\u800c\u4e14\u73b0\u5728\u90fd\u662f docker \u955c\u50cf\u4e86\u5c31\u66f4\u6ca1\u8fd9\u4e2a\u95ee\u9898\u4e86\uff0c\u800c\u4e14\u5982\u679c install \u90fd\u6709\u95ee\u9898\uff0c\u90a3\u4f60\u7cfb\u7edf\u73af\u5883\u5c31\u5df2\u7ecf\u662f\u6709\u95ee\u9898\u7684\u4e86\uff0c\u8fd9\u5c31\u4e0d\u80fd\u602a\u5305\u7ba1\u7406\u5668\u4e86\uff0c\u5e94\u8be5\u5148\u89e3\u51b3\u73af\u5883\u95ee\u9898\u4e0d\u7136\u5c31\u7b97\u4f60\u81ea\u5df1\u7f16\u8bd1\u4e5f\u7167\u6837\u4f1a\u6709\u4e00\u5927\u5806\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940900\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ben1024 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck \u6e90\u7801\u7684\u5305\u76f8\u5bf9\u65b9\u4fbf\u6539\u9020\u548c\u65ad\u70b9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940901\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hsk9044 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck \u65f6\u4ee3\u662f\u4f1a\u53d8\u7684, \u89c2\u5ff5\u662f\u8981\u66f4\u65b0\u7684. \u624b\u5de5\u5b89\u88c5\u5c40\u9650\u6027\u592a\u5927\u4e86, \u65b0\u6280\u672f\u7684\u4ea7\u751f\u662f\u4e3a\u4e86\u63d0\u9ad8\u6548\u7387\u7684, \u5927\u5bb6\u5c11\u5728\u8fd9\u79cd\u4e8b\u60c5\u4e0a\u82b1\u65f6\u95f4, \u4e0d\u5c31\u6709\u66f4\u591a\u7684\u65f6\u95f4\u53ef\u4ee5\u6478\u9c7c\u4e86, \u4f55\u4e50\u4e0d\u4e3a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940902\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : topthink <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ThinkPHP \u5168\u7248\u672c\u90fd\u5df2\u7ecf\u517c\u5bb9 Composer2 \u4e86\u7684\u54e6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940903\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hsk9044 \u662f\u8fd9\u6837\uff0c\u8fd9\u91cc\u8ba8\u8bba\u5b58\u5728\u7684\u95ee\u9898\uff0c\u6574\u4f53\u6548\u7387\u600e\u6837\u3002<br \/>@ben1024 \u6ca1\u9519\uff0c\u8fd9\u662f\u6b63\u5e38\u60c5\u51b5\uff0c\u201c\u5305\u201d\u6539\u9020\u540e\u7ecf\u5e38\u6709\u4eba\u6ca1\u5904\u7406\u597d\uff0c\u540e\u9762\u5c31\u88ab\u8986\u76d6\u4e86\u3002<br \/>@Mitt \u8fd0\u7ef4\u53ef\u4ee5\u628a\u95ee\u9898\u63a8\u7ed9\u4f60\uff0c\u4f60\u7684\u4ee3\u7801\u4e3a\u4ec0\u4e48\u8fd8\u8981\u4ed6\u6765\u88c5\uff08\u8fd9\u70b9 JS \u505a\u5f97\u597d\u4e9b\uff0c\u53ef\u4ee5 build \u6700\u7ec8\u7ed3\u679c\uff0cPHP \u770b\u8d77\u6765\u662f\u8ba9\u8fd0\u7ef4\u53bb\u505a build \uff09\uff0c\u8fd9\u5c31\u662f\u4e00\u5806\u95ee\u9898\u4e4b\u4e00\u3002\u5982\u679c\u4f60\u5168\u5305\u8fdb docker \u90a3\u662f\u6ca1\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940904\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mitt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck #18 \u6211\u89c9\u5f97\u8fd9\u4e0d\u662f\u8fd0\u7ef4\u7684\u95ee\u9898\uff0c\u8fd9\u662f\u4f60\u7684\u95ee\u9898\u3002\u3002\u3002\u4e8b\u5b9e\u4e0a\u7f16\u8bd1\u73af\u5883\u662f\u5f00\u53d1\u63d0\u4f9b\u7684\uff0c\u8fd0\u7ef4\u53ea\u662f\u6267\u884c\u7f16\u8bd1\u547d\u4ee4\u800c\u5df2\uff0c\u653e\u5230\u4ee5\u524d PHP \u7b49\u8fd9\u4e9b\u73af\u5883\u4e5f\u662f\u8981\u8fd0\u7ef4\u53bb\u88c5\u7684\uff0ccomposer \u5c31\u662f\u4e3a\u4e86\u51cf\u5c11\u95ee\u9898\u624d\u5b58\u5728\u7684\uff0c\u73b0\u5728 docker \u66f4\u662f\u5168\u5957\u81ea\u5df1\u5305\u4e86\uff0c\u8fd0\u7ef4\u5e72\u7684\u4e8b\u60c5\u5df2\u7ecf\u5f88\u5c11\u4e86\uff0c\u8981\u6539\u53d8\u4e0b\u601d\u7ef4\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940905\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Mitt \u5982\u679c\u6267\u884c\u201c\u5f00\u53d1\u7ed9\u7684\u201d\u547d\u4ee4\u53ef\u9760\u600e\u4e48\u4f1a\u5b58\u5728\u9898\u4e3b\u7684\u95ee\u9898\uff1f\u8fd0\u7ef4\u5b89\u88c5\u73af\u5883\u662f\u88c5\u8fd0\u884c\u73af\u5883\uff0c\u4e0d\u662f\u88c5\u4ee3\u7801\uff0c\u5982\u679c\u8fd0\u7ef4\u4e5f\u51fa\u73b0\u9898\u4e3b\u7684\u95ee\u9898\uff0c\u90a3\u662f\u4e0d\u662f\u591a\u4e86\u9ebb\u70e6\u4e8b\uff1f\u518d\u6bd4\u5982\u4f60\u7684\u4ee3\u7801\u662f\u7ed9\u5ba2\u6237\u7528\u7684\uff0c\u5ba2\u6237\u8fde\u8fd0\u7ef4\u4e5f\u6ca1\u6709\uff0c\u662f\u4e0d\u662f\u6bcf\u6b21\u90fd\u5f97\u627e\u4f60\uff1f\u518d\u6bd4\u5982\u5ba2\u6237\u7684\u670d\u52a1\u5668\u662f\u865a\u62df\u7a7a\u95f4\u6ca1\u6709\u547d\u4ee4\u6743\u9650\uff0c\u88c5\u4e0d\u4e86\u90a3\u53ea\u80fd\u602a\u5ba2\u6237\u4e86\uff1f PHP \u7528 docker \u7684\u6bd4\u4f8b\u4e0d\u9ad8\uff0c\u5982\u679c 80%\u7684\u7f51\u7ad9\u7528 php\uff0c\u91cc\u9762\u7528 docker \u7684\u5360\u591a\u5c11\uff1f\u4e0e\u65f6\u4ff1\u8fdb\u662f\u6ca1\u9519\uff0c\u4f46\u8981\u6b63\u89c6\u5b58\u5728\u7684\u95ee\u9898\uff0c\u629b\u5f00\u4f20\u7edf\u65b9\u5f0f\u7684 PHP \u7ad9\u70b9\uff0c\u90a3\u4e9b\u6539\u53d8\u601d\u7ef4\u7684\u5e02\u573a\u7387\u4e0d\u77e5\u8fd8\u5269\u591a\u5c11\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940906\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mitt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck #20 \u6240\u4ee5\u8bf4\u8fd9\u662f\u4f60\u7684\u95ee\u9898\uff0c\u4e0d\u662f\u6280\u672f\u7684\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940907\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : emeab <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck php \u4e0d\u662f\u7f16\u8bd1\u578b\u8bed\u8a00 \u4e3a\u4ec0\u4e48\u5305\u8981\u7f16\u8bd1\u6210\u4e8c\u8fdb\u5236. \u4f60\u7528\u5305\u90fd\u4e0d\u770b\u6e90\u7801\u548c\u5b9e\u73b0\u7684\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940908\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : emeab <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Seanfuck tp6.0 \u5f15\u7528\u4e86 7 \u4e2a\u5305\u3002 \u5982\u679c\u4e0d\u7528 composer \u8fd8\u8981\u5904\u7406\u7248\u672c\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940909\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @emeab \u90a3\u7528\u4f4e\u7248\u672c\u597d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940910\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @emeab \u4e0d\u662f\u8fd9\u4e2a\u610f\u601d\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940911\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Seanfuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Mitt \u90a3\u884c\uff0c\u6211\u5c31\u4e0d\u518d\u56de\u590d\u4f60\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940912\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dvaknheo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Mitt \u7ebf\u4e0a install \u662f\u9519\u8bef\u7684\u7528\u6cd5\u3002\u53d1\u5e03\u7684\u65f6\u5019\u76f4\u63a5\u590d\u5236\u505a\u597d\u7684\u5305\u5c31\u591f\u4e86\u3002<br \/>composer \u7684\u79bb\u7ebf\u529f\u80fd\u505a\u5f97\u4e0d\u591f\u597d\u3002 \u6ca1\u6709\u5b8c\u5168\u79bb\u7ebf\u7684\u547d\u4ee4.<br \/>\u751a\u81f3\u6709\u4eba\u90fd\u4e0d\u77e5\u9053\u53ef\u4ee5\u4f7f\u7528\u672c\u5730\u7b2c\u4e09\u65b9\u4f5c\u4e3a\u5305\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940913\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dvaknheo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             php5 \u65f6\u4ee3\u7684\u6846\u67b6\uff0c\u6ca1\u6709\u4e00\u4e2a\u4e0d\u88ab\u9b54\u6539\u7684<br \/>composer \u7ed3\u675f\u4e86\u7cfb\u7edf\u5e93\u88ab\u9b54\u6539\u8fd9\u4e00\u79cd\u70c2\u73b0\u8c61\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940914\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dvaknheo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @emeab \u624d 7 \u4e2a\u5305\u7684\u6846\u67b6\u80fd\u5b9e\u73b0\u4ec0\u4e48\u529f\u80fd\uff0claravel \u7528 101 \u7b2c\u4e09\u65b9\u4e2a\u5305\uff0c\u5e26\u52a8\u4e86\u4ea7\u4e1a\u5927\u53d1\u5c55 \uff08\u624b\u52a8\u72d7\u5934\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940915\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : RickyC <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/blog.class4ever.com\/2712.html<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u4fee\u6539 composer \u5bf9\u5e94 php \u7248\u672c\u7684\u65b9\u6cd5, \u5728\u5b9d\u5854\u9762\u677f\u73af\u5883\u5b9e\u64cd\u8fc7<\/p>\n<p>\u53ef\u4ee5\u53c2\u8003                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3940916\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : edk24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u611f\u8c22\u5927\u5bb6\u7684\u56de\u590d\uff0c\u73b0\u5728\u95ee\u9898\u662f\u603b\u7ed3\u51fa\u6765\u4e86\uff0c\u65e0\u6cd5\u4e0b\u8f7d\u662f\u56e0\u4e3a\u6211\u7528\u4e86\u6700\u65b0\u7684 composer2\uff0ctp \u7684\u5305\u8fd8\u6ca1\u6709\u517c\u5bb9\u8fd9\u4e2a\u65b0\u7248\u672c\u6539\u52a8\uff1b \u5207\u6362\u56de\u65e7\u7248\u672c\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u5173\u4e8e\u7528 composer \u7684\u95ee\u9898\uff0c \u6211\u4e2a\u4eba\u662f\u89c9\u5f97\u5f88\u597d\u7528\uff0c \u5f88\u65b9\u4fbf\uff0c \u8981\u7528\u4ec0\u4e48\u4e1c\u897f\u76f4\u63a5\u7528\uff0c \u4e0d\u9700\u8981\u8fd9\u91cc\u5f15\u5165\u4e00\u4e2a\u6587\u4ef6\u54ea\u91cc\u6620\u5165\u95ee\u9898\uff0c \u670d\u52a1\u5668\u4e0a\u4e0b\u8f7d\u5305\u7528\u955c\u50cf\u5c31\u53ef\u4ee5\u4e86\u3002 \u8fd9\u6b21\u662f\u51fa\u95ee\u9898\u5728 composer \u65b0\u7248\u7279\u6027\u4e0a\uff1b<\/p>\n<p>\u4f18\u70b9\u662f\u4e13\u6ce8\u6572\u4e1a\u52a1\uff0c \u4e0d\u9700\u8981\u7ba1\u5f88\u591a\u4e1c\u897f\u7684\u5b9e\u73b0\uff0c\u53ea\u9700\u8981\u5f15\u7528\u5c31\u53ef\u4ee5\u4e86\uff0c\u5e76\u4e14 git \u662f\u81ea\u52a8\u5ffd\u7565\u4f9d\u8d56\u6587\u4ef6\u7684\uff0c\u6240\u4ee5 git \u4ed3\u5e93\u91cc\u53ea\u6709\u4e1a\u52a1\u4ee3\u7801\uff0c \u6ca1\u6709\u591a\u4f59\u7684\u4e71\u4e03\u516b\u7cdf\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u8fd9\u4e2a\u662f\u6211\u4e2a\u4eba\u7684\u60f3\u6cd5\uff0c<br \/>@Seanfuck <br \/>@skymei <br \/>@agdhole <br \/>@Mitt <br \/>@hbolive <br \/>@JaguarJack <br \/>@ben1024 <br \/>@hsk9044 <br \/>@emeab <br \/>@dvaknheo <br \/>@RickyC                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>PHP composer \u5b89\u88c5 t&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\/180090"}],"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=180090"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/180090\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=180090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=180090"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=180090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}