{"id":25288,"date":"2024-11-21T13:54:53","date_gmt":"2024-11-21T05:54:53","guid":{"rendered":"https:\/\/fwq.ai\/blog\/25288\/"},"modified":"2024-11-21T13:54:53","modified_gmt":"2024-11-21T05:54:53","slug":"laravel%e9%9c%80%e8%a6%81%e5%93%aa%e4%ba%9b%e5%9f%ba%e7%a1%80","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/25288\/","title":{"rendered":"laravel\u9700\u8981\u54ea\u4e9b\u57fa\u7840"},"content":{"rendered":"<blockquote><p>\n  \u5b66\u4e60 laravel \u9700\u5177\u5907\u4ee5\u4e0b\u57fa\u7840\uff1a1. \u624e\u5b9e\u7684 php \u7f16\u7a0b\u57fa\u7840\uff1b2. web \u5f00\u53d1\u57fa\u7840\u77e5\u8bc6\uff1b3. composer \u5305\u7ba1\u7406\u5de5\u5177\u7684\u4f7f\u7528\uff1b4. git \u7248\u672c\u63a7\u5236\u7cfb\u7edf\u7684\u4f7f\u7528\uff1b5. \u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u6982\u5ff5\u53ca mysql \u6216 postgresql\u7684\u4f7f\u7528\uff1b6. \u7ec8\u7aef\u547d\u4ee4\u884c\u754c\u9762\u7684\u4f7f\u7528\uff1b7. linux\/unix \u57fa\u7840\uff08\u53ef\u9009\uff09\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/09\/2024040916032065015.jpg\" class=\"aligncenter\" title=\"laravel\u9700\u8981\u54ea\u4e9b\u57fa\u7840\u63d2\u56fe\" alt=\"laravel\u9700\u8981\u54ea\u4e9b\u57fa\u7840\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5b66\u4e60 Laravel \u6240\u9700\u7684\u57fa\u7840<\/strong><\/p>\n<p>\u4e3a\u4e86\u5b66\u4e60 Laravel \u6846\u67b6\uff0c\u9700\u8981\u5177\u5907\u4ee5\u4e0b\u57fa\u7840\uff1a<\/p>\n<p><strong>1. PHP<\/strong><\/p>\n<ul>\n<li>\u624e\u5b9e\u7684 PHP \u7f16\u7a0b\u57fa\u7840\uff0c\u5305\u62ec\u8bed\u6cd5\u3001\u5bf9\u8c61\u5bfc\u5411\u7f16\u7a0b\u548c\u6570\u636e\u5e93\u64cd\u4f5c\u3002<\/li>\n<li>\u4e86\u89e3 PHP 7 \u6216\u66f4\u9ad8\u7248\u672c\u4e2d\u7684\u65b0\u7279\u6027\uff0c\u4f8b\u5982\u547d\u540d\u7a7a\u95f4\u3001trait \u548c\u533f\u540d\u51fd\u6570\u3002<\/li>\n<\/ul>\n<p><strong>2. Web \u5f00\u53d1<\/strong><\/p>\n<ul>\n<li>\u719f\u6089 HTML\u3001CSS \u548c JavaScript \u7b49 Web \u5f00\u53d1\u57fa\u7840\u77e5\u8bc6\u3002<\/li>\n<li>\u4e86\u89e3 HTTP \u534f\u8bae\u3001Web \u670d\u52a1\u5668\u548c\u6570\u636e\u5e93\u3002<\/li>\n<\/ul>\n<p><strong>3. Composer<\/strong><\/p>\n<ul>\n<li>Composer \u662f PHP \u7684\u5305\u7ba1\u7406\u5de5\u5177\u3002\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 Composer \u5b89\u88c5\u548c\u7ba1\u7406 Laravel \u7b49\u5305\u3002<\/li>\n<\/ul>\n<p><strong>4. Git<\/strong><\/p>\n<ul>\n<li>Git \u662f\u4e00\u4e2a\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u3002\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 Git \u7ba1\u7406 Laravel \u9879\u76ee\u4e2d\u7684\u4ee3\u7801\u66f4\u6539\u3002<\/li>\n<\/ul>\n<p><strong>5. \u57fa\u7840\u6570\u636e\u5e93\u77e5\u8bc6<\/strong><\/p>\n<ul>\n<li>\u4e86\u89e3\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u6982\u5ff5\uff0c\u5982\u8868\u3001\u5b57\u6bb5\u3001\u5173\u7cfb\u548c\u67e5\u8be2\u3002<\/li>\n<li>\u719f\u6089 MySQL \u6216 PostgreSQL \u7b49\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u3002<\/li>\n<\/ul>\n<p><strong>6. \u7ec8\u7aef\u547d\u4ee4<\/strong><\/p>\n<ul>\n<li>\u4e86\u89e3\u5982\u4f55\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\u884c\u754c\u9762\u4e0e Laravel \u548c\u5176\u4ed6\u5de5\u5177\u4ea4\u4e92\u3002<\/li>\n<\/ul>\n<p><strong>7. Linux\/Unix \u57fa\u7840<\/strong><\/p>\n<ul>\n<li>\u867d\u7136\u4e0d\u662f\u5fc5\u9700\u7684\uff0c\u4f46\u5bf9 Linux\/Unix \u547d\u4ee4\u548c\u6587\u4ef6\u7cfb\u7edf\u7684\u57fa\u672c\u4e86\u89e3\u5c06\u6709\u52a9\u4e8e\u5b89\u88c5\u548c\u8fd0\u884c Laravel\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u9700\u8981\u54ea\u4e9b\u57fa\u7840\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b66\u4e60 laravel \u9700\u5177\u5907\u4ee5\u4e0b\u57fa\u7840\uff1a1. \u624e\u5b9e\u7684 php \u7f16\u7a0b\u57fa\u7840\uff1b2. web \u5f00\u53d1\u57fa\u7840\u77e5\u8bc6\uff1b3. composer \u5305\u7ba1\u7406\u5de5\u5177\u7684\u4f7f\u7528\uff1b4. git \u7248\u672c\u63a7\u5236\u7cfb\u7edf\u7684\u4f7f\u7528\uff1b5. \u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u6982\u5ff5\u53ca mysql \u6216 postgresql\u7684\u4f7f\u7528\uff1b6. \u7ec8\u7aef\u547d\u4ee4\u884c\u754c\u9762\u7684\u4f7f\u7528\uff1b7. linux\/unix \u57fa\u7840\uff08\u53ef\u9009\uff09\u3002 \u5b66\u4e60 Laravel \u6240\u9700\u7684\u57fa\u7840 \u4e3a\u4e86\u5b66\u4e60 Laravel \u6846\u67b6\uff0c\u9700\u8981\u5177\u5907\u4ee5\u4e0b\u57fa\u7840\uff1a 1. PHP \u624e\u5b9e\u7684 PHP \u7f16\u7a0b\u57fa\u7840\uff0c\u5305\u62ec\u8bed\u6cd5\u3001\u5bf9\u8c61\u5bfc\u5411\u7f16\u7a0b\u548c\u6570\u636e\u5e93\u64cd\u4f5c\u3002 \u4e86\u89e3 PHP 7 \u6216\u66f4\u9ad8\u7248\u672c\u4e2d\u7684\u65b0\u7279\u6027\uff0c\u4f8b\u5982\u547d\u540d\u7a7a\u95f4\u3001trait \u548c\u533f\u540d\u51fd\u6570\u3002 2. Web \u5f00\u53d1 \u719f\u6089 HTML\u3001CSS \u548c JavaScript \u7b49 Web \u5f00\u53d1\u57fa\u7840\u77e5\u8bc6\u3002 \u4e86\u89e3 HTTP \u534f\u8bae\u3001Web \u670d\u52a1\u5668\u548c\u6570\u636e\u5e93\u3002 3. Composer Composer \u662f PHP \u7684\u5305\u7ba1\u7406\u5de5\u5177\u3002\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-25288","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/25288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=25288"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/25288\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=25288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=25288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=25288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}