{"id":216530,"date":"2022-01-04T06:49:58","date_gmt":"2022-01-04T05:49:58","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?p=216530"},"modified":"2025-09-19T13:06:41","modified_gmt":"2025-09-19T12:06:41","slug":"php-and-swoole-news-live-event","status":"publish","type":"post","link":"https:\/\/blog.jetbrains.com\/zh-hans\/2022\/01\/04\/php-and-swoole-news-live-event\/","title":{"rendered":"JetBrains \u7801\u4e0a\u9053\uff1aPHP \u65b0\u5e74\u7684\u65b0\u6c14\u8c61"},"content":{"rendered":"\u66f4\u65b0\uff1a\u672c\u573a\u76f4\u64ad\u6d3b\u52a8\u5df2\u7ed3\u675f\uff0c\u6536\u770b\u76f4\u64ad\u56de\u653e\uff0c\u4e0b\u8f7d PHP \u5347\u7ea7\u6307\u5357 PPT\u3001Swoole \u793e\u533a\u52a8\u6001\u524d\u77bb PPT\n\u968f\u7740\u6700\u8fd1\u5ba3\u5e03\u7684 PHP 7.3 End of life \u5e76\u8fce\u6765 PHP 8.1\uff0c PHP \u751f\u6001\u5708\u53ef\u8c13\u5411\u524d\u8fc8\u8fdb\u4e86\u4e00\u5927\u6b65\u3002JetBrains \u8fd1\u671f\u5728 PHP \u751f\u6001\u5708\u4e0a\u4e5f\u6709\u4f17\u591a\u66f4\u65b0\uff0c\u5305\u62ec\u6b63\u5f0f\u53d1\u5e03 PhpStorm 2021.3\uff0c\u9664\u4e86\u652f\u6301 PHP 8.1 \u65b0\u8bed\u6cd5\u5916\uff0c\u4e5f\u6709\u8bb8\u591a\u65b0\u7279\u6027\u7684\u652f\u6301\u3002\u9488\u5bf9 PHP \u9759\u6001\u5206\u6790\u4e5f\u63a8\u51fa Qodana\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u96c6\u6210\u81f3 CI\/CD \u670d\u52a1\u5668\u3002\u4e3a\u8ba9 PHP \u6838\u5fc3\u5f00\u53d1\u6210\u5458\u6709\u66f4\u575a\u5b9e\u7684\u57fa\u7840\uff0cJetBrains \u4e5f\u53f7\u53ec\u6210\u4e3a PHP \u57fa\u91d1\u4f1a\u7684\u4e3b\u8981\u6210\u5458\u3002\n\n\u662f\u65f6\u5019\u5347\u7ea7\u4f60\u7684\u4ee3\u7801\u5566\uff011 \u6708 13 \u65e5\uff0c\u5c31\u8ba9\u6211\u4eec\u4e3a\u60a8\u8bb2\u89e3\u5982\u4f55\u4f7f\u7528 PhpStorm \u4e3a\u4f60\u7684 PHP \u9879\u76ee\u5347\u7ea7\uff0c\u5e76\u901a\u8fc7 Qodana \u7b49\u5de5\u5177\u7ef4\u62a4\u4ee3\u7801\u8d28\u91cf\u3002\u53e6\u5916\u4e5f\u6709\u6765\u81ea Swoole \u6d88\u606f\uff0c\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u6700\u65b0\u66f4\u65b0\u53ca Swoole Dashboard \u7b49\u5de5\u5177\u3002\n\n\u70b9\u51fb\u8fdb\u5165\u76f4\u64ad\u95f4\n\n\u60a8\u8fd8\u53ef\u4ee5\u524d\u5f80\u6211\u4eec\u7684\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u63d0\u524d\u9884\u7ea6\u672c\u6b21\u76f4\u64ad\uff01\n\u672c\u6b21\u76f4\u64ad\u5c06\u4e3a\u60a8\u5e26\u6765\uff1a\nPHP \u5347\u7ea7\u6307\u5357\n\u5347\u7ea7\u9879\u76ee\u7684 PHP \u7248\u672c\u9664\u4e86\u8981\u4ed4\u7ec6\u9605\u8bfb\u5b98\u65b9\u7684\u8fc1\u79fb\u6307\u5357\u5916\uff0c\u8fd8\u9700\u8981\u4eba\u5de5\u4fee\u6539\u4ee3\u7801\uff0c\u4e00\u6709\u7f3a\u6f0f\u5c31\u4f1a\u5728\u8fd0\u884c\u65f6\u671f\u51fa\u9519\uff0c\u98ce\u9669\u5f88\u9ad8\u3002\u5176\u5b9e\u6211\u4eec\u53ef\u4ee5\u5728 PhpStorm \u7684\u534f\u52a9\u4e0b\uff0c\u901a\u8fc7\u914d\u7f6e Language Level\u3001\u5584\u7528 Remote Interpreter \u53ca Code Inspection \u7b49\u5de5\u5177\uff0c\u5c31\u80fd\u5feb\u901f\u627e\u51fa\u9700\u8981\u4fee\u6539\u7684\u4ee3\u7801\u4f4d\u7f6e\uff0c\u518d\u642d\u914d\u91cd\u6784\u5de5\u5177\u5c31\u80fd\u8f7b\u677e\u5347\u7ea7\u3002\u82e5\u9700\u8981\u81ea\u52a8\u5316\u68c0\u67e5\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528 Qodana \u4ee5 TeamCity \u521b\u5efa CI\/CD \u5de5\u4f5c\u6d41\uff0c\u66f4\u5b8c\u6574\u7684\u7ba1\u63a7\u56e2\u961f\u4ee3\u7801\u8d28\u91cf\u3002\nSwoole \u793e\u533a\u52a8\u6001\u524d\u77bb\n\u968f\u7740 PHP 8 \u7684\u53d1\u5e03\u548c\u666e\u53ca\uff0cSwoole \u4f5c\u4e3a\u4e00\u4e2a\u8001\u724c\u6269\u5c55\uff0c\u5728\u4fdd\u6301\u826f\u597d\u5411\u540e\u517c\u5bb9\u6027\u7684\u540c\u65f6\uff0c\u4e5f\u5728\u79ef\u6781\u62e5\u62b1\u53d8\u5316\uff0c\u540c\u6b65\u8fed\u4ee3\u3002\u4f5c\u4e3a\u65b0\u65f6\u4ee3\u7684\u5f04\u6f6e\u513f\uff0cSwoole \u793e\u533a\u7684\u5404\u5927\u9879\u76ee\u4e5f\u5728\u4e89\u505a\u7b2c\u4e00\u4e2a\u5403\u8783\u87f9\u7684\u4eba\uff0c\u6ce8\u89e3\u3001\u8054\u5408\u7c7b\u578b\u3001\u547d\u540d\u53c2\u6570\u7b49\u65b0\u7279\u6027\u90fd\u5728\u65b0\u7248\u672c\u4e2d\u5f97\u5230\u5e94\u7528\u3002\u6b64\u5916\uff0c\u4e3a\u4e86\u7ed9\u6240\u6709\u5f00\u53d1\u8005\u5e26\u6765\u5728 PHP 8 \u4e0b\u6700\u4f73\u7684\u7f16\u7a0b\u4f53\u9a8c\uff0cSwoole \u4e5f\u5728 IDE \u7c7b\u578b\u63d0\u793a\u65b9\u9762\u505a\u4e86\u5f88\u591a\u4f18\u5316\uff0c\u5e76\u5c06 Swoole-Dashborad \u5de5\u5177\u5f00\u6e90\u3002\u65b0\u5e74\u65b0\u6c14\u8c61\uff0c\u672c\u6b21\u5206\u4eab\u4f1a\u4e00\u8d77\u804a\u804a Swoole \u793e\u533a\u7684\u524d\u6cbf\u6d88\u606f\u3002\n\u5206\u4eab\u5609\u5bbe\n\n\u8303\u5723\u4f51\nJetBrains \u6280\u672f\u5e03\u9053\u5e08\n\u5723\u4f51\u662f JetBrains \u6280\u672f\u4e13\u5bb6\uff0c\u4f7f\u7528 PHP \u53ca Laravel \u5f00\u53d1\u5df2\u8d85\u8fc7 7 \u5e74\u7684\u65f6\u95f4\uff0c\u5bf9 JetBrians \u76f8\u5173\u6280\u672f\u4e0e\u4ea7\u54c1\u4e5f\u6709\u6df1\u5165\u7684\u7406\u89e3\u3002\u4f5c\u4e3a\u5e03\u9053\u5e08\uff0c\u4ed6\u4e50\u610f\u5206\u4eab\u81ea\u5df1\u7684\u5f00\u53d1\u7ecf\u9a8c\uff0c\u5e2e\u52a9\u66f4\u591a\u5f00\u53d1\u8005\u63d0\u5347\u751f\u4ea7\u529b\u53ca\u4ee3\u7801\u8d28\u91cf\u3002\n\n\n\u9648\u66f9\u5947\u660a\uff08Twosee\uff09\nSwoole \u6838\u5fc3\u5f00\u53d1\u8005\uff0cPHP \u5185\u6838\u5f00\u53d1\u7ec4\u6210\u5458\n\u9648\u66f9\u5947\u660a\uff0c\u7f51\u540d Twosee\uff0cSwoole \u6838\u5fc3\u5f00\u53d1\u8005\uff0cPHP \u5185\u6838\u5f00\u53d1\u7ec4\u6210\u5458\uff0c\u957f\u671f\u6d3b\u8dc3\u4e8e PHP \u6216\u5f02\u6b65\u7f51\u7edc IO \u76f8\u5173\u7684\u5404\u5927\u5f00\u6e90\u9879\u76ee\u793e\u533a\u3002\n\n\u63d0\u4ea4\u60a8\u7684\u95ee\u9898\uff01\n\u5173\u4e8e PHP \u5f00\u53d1\u3001PhpStorm\u3001Qodana \u53ca Swoole \u7b49\u4e3b\u9898\u662f\u4e0d\u662f\u6709\u5f88\u591a\u7684\u597d\u5947\u4e0e\u7591\u95ee\u5462\uff1f\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u7559\u4e0b\u4f60\u7684\u95ee\u9898\uff0c\u6211\u4eec\u5c06\u5728\u76f4\u64ad\u65f6\u4e00\u5e76\u4e3a\u5927\u5bb6\u89e3\u7b54\u5594\uff01\n\u70b9\u51fb\u8fdb\u5165\u76f4\u64ad\u95f4\n\u611f\u8c22 PHP \u793e\u533a\u4e3a\u672c\u6b21\u6d3b\u52a8\u63d0\u4f9b\u652f\u6301\uff1a\n\n\nJetBrains \u7801\u4e0a\u9053\nJetBrains \u7801\u4e0a\u9053\u662f\u7531 JetBrains \u56e2\u961f\u6253\u9020\u7684\u7cfb\u5217\u89c6\u9891\u8282\u76ee\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u9080\u8bf7\u5230\u5404\u9886\u57df\u7684\u79d1\u6280\u9886\u8896\u3001\u6280\u672f\u4e13\u5bb6\u3001\u793e\u533a\u5927\u4f6c\uff0c\u4e00\u8d77\u6765\u4e13\u6ce8\u524d\u6cbf\u7684\u6280\u672f\u8d8b\u52bf\uff0c\u5206\u4eab\u5b9e\u7528\u7684\u5f00\u53d1\u7ecf\u9a8c\uff0c\u805a\u7126\u70ed\u95e8\u7684\u5f00\u53d1\u8bdd\u9898\uff01\u60a8\u559c\u6b22\u7684\u5185\u5bb9\uff0c\u7801\u4e0a\u9053\uff01","protected":false},"excerpt":{"rendered":"\u66f4\u65b0\uff1a\u672c\u573a\u76f4\u64ad\u6d3b\u52a8\u5df2\u7ed3\u675f\uff0c\u6536\u770b\u76f4\u64ad\u56de\u653e\uff0c\u4e0b\u8f7d PHP \u5347\u7ea7\u6307\u5357 PPT\u3001Swoole \u793e\u533a\u52a8\u6001\u524d\u77bb PPT\n\u968f\u7740\u6700\u8fd1\u5ba3\u5e03\u7684 PHP 7.3 End of life \u5e76\u8fce\u6765 PHP 8.1\uff0c PHP \u751f\u6001\u5708\u53ef\u8c13\u5411\u524d\u8fc8\u8fdb\u4e86\u4e00\u5927\u6b65\u3002JetBrains \u8fd1\u671f\u5728 PHP \u751f\u6001\u5708\u4e0a\u4e5f\u6709\u4f17\u591a\u66f4\u65b0\uff0c\u5305\u62ec\u6b63\u5f0f\u53d1\u5e03 PhpStorm 2021.3\uff0c\u9664\u4e86\u652f\u6301 PHP 8.1 \u65b0\u8bed\u6cd5\u5916\uff0c\u4e5f\u6709\u8bb8\u591a\u65b0\u7279\u6027\u7684\u652f\u6301\u3002\u9488\u5bf9 PHP","protected":false},"author":{"name":"Lei","link":"https:\/\/blog.jetbrains.com\/zh-hans\/author\/lei-zhaojetbrains-com"},"featured_media":216536,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[30],"tags":[4068,5392,45,5341,6470,6861,116],"cross-post-tag":[],"acf":[],"featured_image":"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/01\/YouTube_1280x720.png","_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/posts\/216530"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=216530"}],"version-history":[{"count":8,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/posts\/216530\/revisions"}],"predecessor-version":[{"id":636665,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/posts\/216530\/revisions\/636665"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/0"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/216536"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=216530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=216530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=216530"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=216530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}