{"id":2,"date":"2026-10-08T15:56:40","date_gmt":"2026-10-08T07:56:40","guid":{"rendered":"http:\/\/www.only1510.top\/?page_id=2"},"modified":"2026-10-08T17:13:35","modified_gmt":"2026-10-08T09:13:35","slug":"sample-page","status":"publish","type":"page","link":"https:\/\/www.only1510.top\/index.php\/sample-page\/","title":{"rendered":"Laravel"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Laravel \u662f\u4e00\u4e2a Web \u5e94\u7528\u6846\u67b6\uff0c \u6709\u7740\u8868\u73b0\u529b\u5f3a\u3001\u8bed\u6cd5\u4f18\u96c5\u7684\u7279\u70b9\u3002Web \u6846\u67b6\u4e3a\u521b\u5efa\u5e94\u7528\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7ed3\u6784\u548c\u8d77\u70b9\uff0c\u4f60\u53ea\u9700\u8981\u4e13\u6ce8\u4e8e\u521b\u9020\uff0c\u6211\u4eec\u6765\u4e3a\u4f60\u5904\u7406\u7ec6\u8282\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Laravel \u81f4\u529b\u4e8e\u63d0\u4f9b\u51fa\u8272\u7684\u5f00\u53d1\u4f53\u9a8c\uff0c\u540c\u65f6\u63d0\u4f9b\u5f3a\u5927\u7684\u7279\u6027\uff0c\u4f8b\u5982\u5b8c\u5168\u7684\u4f9d\u8d56\u6ce8\u5165\uff0c\u5bcc\u6709\u8868\u73b0\u529b\u7684\u6570\u636e\u5e93\u62bd\u8c61\u5c42\uff0c\u961f\u5217\u548c\u8ba1\u5212\u4efb\u52a1\uff0c\u5355\u5143\u548c\u96c6\u6210\u6d4b\u8bd5\u7b49\u7b49\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e0\u8bba\u4f60\u662f\u521a\u521a\u63a5\u89e6 PHP \u548c Web \u6846\u67b6\u7684\u65b0\u4eba\uff0c\u4ea6\u6216\u662f\u6709\u7740\u591a\u5e74\u7ecf\u9a8c\u7684\u8001\u624b\uff0c Laravel \u90fd\u662f\u4e00\u4e2a\u53ef\u4ee5\u4e0e\u4f60\u4e00\u540c\u6210\u957f\u7684\u6846\u67b6\u3002\u6211\u4eec\u5c06\u5e2e\u52a9\u4f60\u8fc8\u51fa\u6210\u4e3a Web \u5f00\u53d1\u8005\u7684\u7b2c\u4e00\u6b65\uff0c\u6216\u662f\u5c06\u4f60\u7684\u7ecf\u9a8c\u63d0\u9ad8\u5230\u4e0b\u4e00\u4e2a\u7b49\u7ea7\u3002\u6211\u4eec\u8feb\u4e0d\u53ca\u5f85\u7684\u60f3\u770b\u770b\u4f60\u7684\u4f5c\u54c1\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-dark-gray-background-color has-text-color has-background has-link-color wp-elements-1\"><code>  ### \u5b89\u88c5\n  composer create-project laravel\/laravel:^10.0 example-app\n  ### \u63a5\u5165 \u963f\u91cc\u4e91 OSS\n  composer require jacobcyl\/ali-oss-storage\n  ### \u5728 config\/filesystems.php \u914d\u7f6e\u4e2d\n  return &#91;\n\t'disks'=> &#91;\n\t\t....,\n\t\t'oss'   =>  &#91;\n\t         'driver'        => 'oss',\n             'access_id'     => 'your access id',\n            'access_key'    => 'your access key',\n            'bucket'        => 'wzgfile',\n            'endpoint'      => 'your domian',\n            'ssl'           => false,\n            'isCName'       => false,\n            'debug'         => true,\n               ]\n\t]\n];<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Laravel \u662f\u4e00\u4e2a Web \u5e94\u7528\u6846\u67b6\uff0c \u6709\u7740\u8868\u73b0\u529b\u5f3a\u3001\u8bed\u6cd5\u4f18\u96c5\u7684\u7279\u70b9\u3002Web \u6846\u67b6\u4e3a\u521b\u5efa\u5e94\u7528\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7ed3\u6784 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.only1510.top\/index.php\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.only1510.top\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.only1510.top\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.only1510.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.only1510.top\/index.php\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":7,"href":"https:\/\/www.only1510.top\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":33,"href":"https:\/\/www.only1510.top\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions\/33"}],"wp:attachment":[{"href":"https:\/\/www.only1510.top\/index.php\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}