{"id":34705,"date":"2023-05-20T17:02:01","date_gmt":"2023-12-23T15:16:04","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/"},"modified":"2024-04-30T05:09:01","modified_gmt":"2024-04-29T21:09:01","slug":"%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/","title":{"rendered":"\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) &#8211; 1 &#8211; Laravel\u7684\u521d\u59cb\u914d\u7f6e"},"content":{"rendered":"<h1>\u4e3a\u4ec0\u4e48\u73b0\u5728\u9009\u62e9Laravel\uff1f<\/h1>\n<p>\u5c0f\u3055\u306a\u5236\u4f5c\u4f1a\u793e\u3092\u3084\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\nWEB\u306b\u9650\u3089\u305a\u3001\u30a2\u30d7\u30ea\u3084\u696d\u52d9\u7cfb\u3082\u4f5c\u3063\u3066\u307e\u3059\u3002<\/p>\n<p>\u6614\u306f\u3061\u3087\u3053\u3061\u3087\u3053PHP\u3067\u958b\u767a\u3092\u884c\u3063\u3066\u3044\u305f\u3082\u306e\u306e\u3001\u6700\u8fd1\u306f\u696d\u52d9\u7cfb\u306e\u30b7\u30b9\u30c6\u30e0\u304c\u591a\u304b\u3063\u305f\u305f\u3081\u3001WEB\u958b\u767a\u3067\u306f\u3082\u3063\u3071\u3089Java\u3084Python\u3001\u305f\u307e\u306bRuby\u3067\u958b\u767a\u3092\u884c\u3063\u3066\u3044\u307e\u3057\u305f\u3002PHP\u3092\u4f7f\u3046\u306e\u306f\u3082\u3063\u3071\u3089Wordpress\u306e\u958b\u767a\u3067\u3059\u3002<br \/>\n\u4f7f\u3063\u3066\u3044\u305f\u9803\u306f\u904e\u6e21\u671f\u3060\u3063\u305f\u3068\u3044\u3046\u306e\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u4ee5\u524d\u306ePHP\uff08v5.6\u4ee5\u524d\uff09\u306b\u306f\u3042\u307e\u308a\u826f\u3044\u601d\u3044\u51fa\u304c\u306a\u304f\u3001\u5ea6\u3005\u60a9\u307e\u3055\u308c\u3066\u3044\u305f\u8a18\u61b6\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5c3d\u7ba1\u5982\u6b64\uff0cPHP\u4ecd\u7136\u662f\u76ee\u524d\u4e3b\u6d41\u7684\u4e00\u79cd\u8bed\u8a00\uff0c\u6613\u4e8e\u64cd\u4f5c\u4e14\u975e\u5e38\u53d7\u6b22\u8fce\u3002\u6211\u7ecf\u5e38\u4ece\u670b\u53cb\u7b49\u6e20\u9053\u542c\u5230\u4ed6\u4eec\u8bf4\uff1a&#8221;\u6700\u65b0\u7248\u672c\u7684PHP\u5df2\u7ecf\u975e\u5e38\u597d\u7528\u4e86\u3002&#8221;<\/p>\n<p>\u6700\u8fd1\u306ePHP\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u4e8b\u60c5\u3092\u898b\u3066\u3044\u308b\u3068\u3001\u3069\u3046\u3084\u3089\u4eca\u306fLaravel\u3068\u3044\u3046\u3082\u306e\u304c\u4eba\u6c17\u3089\u3057\u3044\u3002<br \/>\n\u4ee5\u524d\u306fZend Framework\u3084CakePHP\u306a\u3069\u306e\u540d\u524d\u3092\u3088\u304f\u805e\u304d\u307e\u3057\u305f\u3088\u306d\u3002<\/p>\n<p>\u77e5\u308a\u5408\u3044\u306e\u65b9\u304c\u6570\u5e74\u524d\u306bLaravel\u306e\u672c\u3092\u51fa\u3057\u3066\u3044\u305f\u306e\u3082\u601d\u3044\u51fa\u3057\u3001\u300cLaravel\u3001\u304a\u52c9\u5f37\u3057\u3066\u307f\u3088\u3046\u3058\u3083\u306a\u3044\u3067\u3059\u304b\uff01\u300d\u3068\u601d\u3044\u7acb\u3063\u305f\u308f\u3051\u3067\u3059\u3002<br \/>\n\u672c\u3092\u51fa\u3055\u308c\u305f\u65b9\u306f\u4ecaLaravel\u306e\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u306a\u3069\u306b\u3066\u8b1b\u6f14\u3082\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u307e\u305a\u306f\u81ea\u5206\u3067\u3086\u3063\u304f\u308a\u52c9\u5f37\u3057\u3066\u7406\u89e3\u3092\u6df1\u3081\u3066\u3044\u3051\u308c\u3070\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1>\u5b89\u88c5<\/h1>\n<p>\u5982\u679c\u4f60\u53bb\u5b98\u65b9\u7f51\u7ad9\u6216\u8005\u770b\u522b\u4eba\u5df2\u7ecf\u5199\u597d\u7684\u6587\u7ae0\uff0c\u6211\u89c9\u5f97\u5f88\u5bb9\u6613\u5c31\u80fd\u660e\u767d\uff0c\u4e0d\u5fc5\u975e\u5f97\u5728\u8fd9\u91cc\u5199\u4e0b\u6765\u3002<br \/>\n\u53ea\u8981\u641c\u7d22\u4e00\u4e0b\uff0c\u5c31\u4f1a\u6709\u65e0\u6570\u7684\u6837\u672c\u53ef\u4f9b\u9009\u62e9\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u516c\u5f0f\u3000https:\/\/laravel.com\/docs\/5.6\/installation\u3000\uff08\u82f1\u8a9e\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>PHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30afLaravel\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5165\u9580\u7de8\u3000https:\/\/www.ritolab.com\/entry\/22\u3000\uff08LitoLab\u69d8\uff09<\/p>\n<p>\u7b49\u7b49\u7b49\u3002<\/p>\n<h1>\u9879\u76ee\u521b\u5efa<\/h1>\n<p>\u4ece\u73b0\u5728\u5f00\u59cb\uff0c\u6211\u4eec\u5c06\u4f7f\u7528\u7684\u9879\u76ee\u540d\u79f0\u4e3a&#8221;study_laravel&#8221;\u3002<\/p>\n<pre class=\"post-pre\"><code>composer create-project --prefer-dist laravel\/laravel study_laravel\r\n<\/code><\/pre>\n<h1>\u76ee\u5f55\u7ed3\u6784<\/h1>\n<p>\u5728\u67e5\u770b\u76ee\u5f55\u7ed3\u6784\u4e4b\u524d\uff0c\u6211\u786e\u8ba4\u4e86\u4e00\u4e0b\u201cLaravel\u662fMVC\u6a21\u5f0f\u201d\u8fd9\u4e2a\u4e4b\u524d\u5b66\u8fc7\u7684\u77e5\u8bc6\uff0c\u8ba9\u6211\u6709\u4e9b\u56f0\u60d1\u3002\u56e0\u4e3a\u6211\u53d1\u73b0\u6ca1\u6709Model\u76ee\u5f55\u3002\u7136\u800c\uff0c\u4e00\u770b\u5b98\u65b9\u6587\u6863\u5c31\u660e\u767d\u4e86\u3002<\/p>\n<blockquote><p>\u5728\u4f7f\u7528Laravel\u5f00\u59cb\u65f6\uff0c\u8bb8\u591a\u5f00\u53d1\u4eba\u5458\u5bf9\u7f3a\u5c11models\u76ee\u5f55\u611f\u5230\u56f0\u60d1\u3002\u7136\u800c\uff0c\u7f3a\u5c11\u8fd9\u6837\u7684\u76ee\u5f55\u662f\u6545\u610f\u7684\u3002\u6211\u4eec\u53d1\u73b0\u201cmodels\u201d\u4e00\u8bcd\u7684\u542b\u4e49\u5bf9\u4e0d\u540c\u7684\u4eba\u6765\u8bf4\u5f88\u6a21\u7cca\u3002\u4e00\u4e9b\u5f00\u53d1\u4eba\u5458\u5c06\u5e94\u7528\u7a0b\u5e8f\u7684\u201cmodel\u201d\u79f0\u4e3a\u5176\u6240\u6709\u4e1a\u52a1\u903b\u8f91\u7684\u603b\u4f53\uff0c\u800c\u5176\u4ed6\u4eba\u5c06\u201cmodels\u201d\u79f0\u4e3a\u4e0e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4ea4\u4e92\u7684\u7c7b\u3002<\/p><\/blockquote>\n<p>\u8981\u7d04\u3059\u308b\u3068\u3001\u300cModel\u3068\u8a00\u3046\u6982\u5ff5\u306f\u3001\u591a\u304f\u306e\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u305d\u308c\u305e\u308c\u306e\u610f\u5473\u3092\u6301\u3061\u3001\u975e\u5e38\u306b\u66d6\u6627\u306a\u3082\u306e\u306a\u306e\u3067\u3001\u3042\u3048\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8a2d\u7f6e\u3057\u3066\u3044\u306a\u3044\u300d\u3001\u3068\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\nMVC\u30e2\u30c7\u30eb\u3092\u767b\u5834\u306e\u9803\u304b\u3089\u4f7f\u3063\u3066\u3044\u308b\u65b9\u3005\u306f\u304a\u5206\u304b\u308a\u306b\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u78ba\u304b\u306bMVC\u30e2\u30c7\u30eb\u306eModel\u306b\u95a2\u3057\u3066\u306f\u3001\u5404\u958b\u767a\u8005\u306e\u9593\u3067\u300c\u3053\u3046\u3042\u308b\u3079\u304d\u3001\u3042\u3042\u3042\u308b\u3079\u304d\u300d\u3068\u3001\u8840\u3067\u8840\u3092\u6d17\u3046\u3088\u3046\u306a\u8b70\u8ad6\u304c\u5dfb\u304d\u8d77\u3055\u308c\u3066\u304d\u305f\u6b74\u53f2\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u3088\u3046\u306a\u6b74\u53f2\u3092\u9451\u307f\u3066\u3001\u3042\u3048\u3066\u8a2d\u7f6e\u305b\u305a\u300c\u5404\u3005\u81ea\u7531\u306b\u4f5c\u308c\u300d\u3063\u3066\u8a00\u3063\u3066\u308b\u3093\u3067\u3059\u306d\u3001Laravel\u306f\u3002<br \/>\n\u7d20\u6674\u3089\u3057\u3044\u9078\u629e\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u5728\u6b64\u57fa\u7840\u4e0a\uff0c\u6211\u4eec\u5c06\u5c3d\u53ef\u80fd\u6dfb\u52a0\u6ce8\u91ca\u6765\u4e86\u89e3\u6bcf\u4e2a\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u4f5c\u7528\u3002<\/p>\n<h3>\u76ee\u5f55\u548c\u521d\u59cb\u6587\u4ef6\u5217\u8868<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">study_laravel<\/ul>\n<\/li>\n<\/ul>\n<p>app<\/p>\n<p>Console<\/p>\n<p>Kernel.php #\u30aa\u30ec\u30aa\u30ecartisan\u30b3\u30de\u30f3\u30c9\u306e\u8ffd\u52a0\u3084\u3001\u30d0\u30c3\u30c1\u51e6\u7406\u306a\u3069\u3092\u8a2d\u5b9a<\/p>\n<p>Exception<\/p>\n<p>Handler.php #\u30a8\u30e9\u30fc\u30ed\u30b0\u306e\u8868\u793a\u306e\u4ed5\u65b9\u3092\u8a2d\u5b9a<\/p>\n<p>Http<\/p>\n<p>Controllers #\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>Auth \/ ForgotPasswordController.php #\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5165\u3063\u3066\u3044\u308b\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u51e6\u7406<\/p>\n<p>Auth \/ LoginController.php #\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5165\u3063\u3066\u3044\u308b\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3002\u30ed\u30b0\u30a4\u30f3\u51e6\u7406<\/p>\n<p>Auth \/ RegisterController.php #\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5165\u3063\u3066\u3044\u308b\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3002\u767b\u9332\u51e6\u7406<\/p>\n<p>Auth \/ ResetPasswordController.php #\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5165\u3063\u3066\u3044\u308b\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u30ea\u30bb\u30c3\u30c8\u51e6\u7406<\/p>\n<p>Controller.php #\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u304c\u66f8\u304b\u308c\u3066\u3044\u308b\u3002\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u4f5c\u308b\u5834\u5408\u3001\u57fa\u672c\u7684\u306b\u3053\u306e\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3059\u308b<\/p>\n<p>Middleware<\/p>\n<p>EncryptCookies.php #Cookie\u306e\u6697\u53f7\u5316\u3092\u8a2d\u5b9a<\/p>\n<p>RedirectIfAuthenticated.php #\u30ed\u30b0\u30a4\u30f3\u5f8c\u306a\u3069\u306e\u8a8d\u8a3c\u30e6\u30fc\u30b6\u30fc\u304c\u8a8d\u8a3c\u5916\u306e\u64cd\u4f5c\u3092\u3057\u305f\u969b\u306e\u98db\u3070\u3057\u5148\u306a\u3069\u3092\u8a2d\u5b9a<\/p>\n<p>TrimStrings.php #\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u542b\u307e\u308c\u308binput\u306e\u5024\u3092\u81ea\u52d5\u3067\u30c8\u30ea\u30df\u30f3\u30b0\u3059\u308b\u6a5f\u80fd\u306e\u8a2d\u5b9a<\/p>\n<p>TrustProxies.php #\u30d7\u30ed\u30ad\u30b7\u306e\u7ba1\u7406\u3002\u4fe1\u983c\u3059\u308b\u30d7\u30ed\u30ad\u30b7\u306a\u3069\u306e\u8a2d\u5b9a<\/p>\n<p>VerifyCsrfToken.php #CSRF\u691c\u8a3c\u304b\u3089\u9664\u5916\u3059\u308bURI\u306e\u8a2d\u5b9a<\/p>\n<p>Kernel.php #\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306e\u8a2d\u5b9a<\/p>\n<p>Providers<\/p>\n<p>AppServiceProvider.php #\u521d\u671f\u51e6\u7406\u3002\u307b\u307c\u4f55\u3082\u66f8\u304b\u308c\u3066\u304a\u3089\u305a\u96db\u5f62\u7684\u306a\u3082\u306e\u3002<\/p>\n<p>AuthServiceProvider.php #Auth\u51e6\u7406\u3002\u307b\u307c\u4f55\u3082\u66f8\u304b\u308c\u3066\u304a\u3089\u305a\u96db\u5f62\u7684\u306a\u3082\u306e\u3002<\/p>\n<p>BroadcastServiceProvider.php #\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u51e6\u7406\u3002WebSocket\u306a\u3069\u3092\u4f7f\u7528\u3057\u305f\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30e9\u30a4\u30d6\u66f4\u65b0\u3055\u308c\u308b\u3088\u3046\u306a\u6a5f\u80fd\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u3002\u307b\u307c\u4f55\u3082\u66f8\u304b\u308c\u3066\u304a\u3089\u305a\u96db\u5f62\u7684\u306a\u3082\u306e\u3002<\/p>\n<p>EventServiceProvider.php #\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u51e6\u7406\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u767a\u751f\u3059\u308b\u69d8\u3005\u306a\u30a4\u30d9\u30f3\u30c8\u3092\u4e00\u62ec\u3067\u7ba1\u7406\u3067\u304d\u308b<\/p>\n<p>RouteServiceProvider.php #\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u8d77\u52d5\u51e6\u7406\u3002route\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u7ba1\u7406\u3059\u308b<\/p>\n<p>User.php \u30e2\u30c7\u30eb\u30d5\u30a1\u30a4\u30eb\u76f8\u5f53#\u8a8d\u8a3c\u306b\u4f7f\u7528\u3059\u308b\u30ab\u30e9\u30e0\u3001\u53ca\u3073\u914d\u5217\u5316\u3057\u305f\u969b\u306b\u6697\u53f7\u5316\u3059\u308b\u30ab\u30e9\u30e0\u306e\u8a2d\u5b9a\u3002users\u30c6\u30fc\u30d6\u30eb\u306e\u3082\u306e\u3002<\/p>\n<p>bootstrap<\/p>\n<p>cache<\/p>\n<p>packages.php #\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8a2d\u5b9a<\/p>\n<p>services.php #\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u8a2d\u5b9a<\/p>\n<p>app.php #\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u521d\u671f\u5316\u3092\u884c\u3044\u3001autoloading\u3092\u8a2d\u5b9a<\/p>\n<p>config<\/p>\n<p>app.php #\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3URL\u306a\u3069\u306e\u57fa\u672c\u8a2d\u5b9a<\/p>\n<p>auth.php #\u8a8d\u8a3c\u7cfb\u306e\u57fa\u672c\u8a2d\u5b9a\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fusers\u30c6\u30fc\u30d6\u30eb\u304c\u4f7f\u7528\u3055\u308c\u308b\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u308b\u304c\u3001\u3053\u3053\u3067\u8ffd\u8a18\u3001\u5909\u66f4\u306a\u3069\u3092\u3059\u308b\u4e8b\u3067\u5225\u306e\u30c6\u30fc\u30d6\u30eb\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b<\/p>\n<p>broadcasting.php #\u30a4\u30d9\u30f3\u30c8\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u306e\u8a2d\u5b9a\u3002WebSocket\u3092\u4f7f\u7528\u3057\u305f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u66f4\u65b0\u306a\u3069\u3092\u884c\u3046\u969b\u306b\u3001\u3053\u3053\u306b\u8a2d\u5b9a\u3092\u8a18\u8ff0\u3059\u308b<\/p>\n<p>cache.php #APC\u3001memcache\u3001database\u30ad\u30e3\u30c3\u30b7\u30e5\u306a\u3069\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u95a2\u3059\u308b\u8a2d\u5b9a<\/p>\n<p>database.php #mysql\u3001sqlite\u3001pgsql\u306a\u3069\u306e\u5404\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u60c5\u5831\u306e\u8a2d\u5b9a<\/p>\n<p>filesystems.php #\u30a2\u30d7\u30ea\u3067\u30d5\u30a1\u30a4\u30eb\u4fdd\u5b58\u3092\u6271\u3046\u5834\u5408\u306e\u3001\u30ed\u30fc\u30ab\u30eb\u3084S3\u306a\u3069\u4fdd\u5b58\u8a2d\u5b9a\u3002<\/p>\n<p>mail.php #\u30e1\u30fc\u30eb\u6a5f\u80fd\u306e\u3001\u30c9\u30e9\u30a4\u30d0\u3001\u30db\u30b9\u30c8\u3001\u30dd\u30fc\u30c8\u306a\u3069\u306e\u8a2d\u5b9a<\/p>\n<p>queue.php #\u975e\u540c\u671f\u51e6\u7406\u3092\u884c\u3046\u30ad\u30e5\u30fc\u6a5f\u80fd\u306e\u8a2d\u5b9a\u3002database\u3001sqs\u3001redis\u306a\u3069\u3082\u4f7f\u7528\u3067\u304d\u308b\u6a21\u69d8<\/p>\n<p>services.php #\u30b5\u30fc\u30c9\u30d0\u30fc\u30c6\u30a3\u30fc\u88fd\u306e\u30b5\u30fc\u30d3\u30b9\u8a2d\u5b9a\u3002mailgun\u3001ses\u3001Stripe\u306a\u3069\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<p>session.php #\u30bb\u30c3\u30b7\u30e7\u30f3\u8a2d\u5b9a\u3002\u4fdd\u5b58\u65b9\u6cd5\u3084\u3001\u6697\u53f7\u5316\u306e\u6709\u7121\u306a\u3069\u3002<\/p>\n<p>view.php #\u30d3\u30e5\u30fc\u306e\u30d1\u30b9\u3001\u30d3\u30e5\u30fc\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u5f8c\u306e\u30d1\u30b9\u306a\u3069\u306e\u8a2d\u5b9a<\/p>\n<p>database<\/p>\n<p>factories<\/p>\n<p>UserFactory.php #\u69cb\u7bc9\u6642\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308busers\u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3059\u308b\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\uff08\u5404\u30ab\u30e9\u30e0\u306e\u521d\u671f\u30c7\u30fc\u30bf\u8a2d\u5b9a\u5024\u306a\u3069\u3092\u81ea\u52d5\u3067\u5165\u308c\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u308b\u6a5f\u80fd\uff09\u30d5\u30a1\u30a4\u30eb\u3002\u5fc5\u305a\u3057\u3082\u4f7f\u3046\u5fc5\u8981\u306f\u306a\u3044<\/p>\n<p>migrations<\/p>\n<p>2014_10_12_000000_create_users_table.php #users\u30c6\u30fc\u30d6\u30eb\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u3002\u5fc5\u305a\u3057\u3082\u4f7f\u3046\u5fc5\u8981\u306f\u306a\u3044<\/p>\n<p>2014_10_12_100000_create_password_resets_table.php #create_password_resets\u30c6\u30fc\u30d6\u30eb\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u3002\u5fc5\u305a\u3057\u3082\u4f7f\u3046\u5fc5\u8981\u306f\u306a\u3044<\/p>\n<p>seeds<\/p>\n<p>DatabaseSeeder.php #seeder\u30d5\u30a1\u30a4\u30eb\u3002\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d5\u30a1\u30a4\u30eb\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5404\u30c6\u30fc\u30d6\u30eb\u306e\u521d\u671f\u5024\u3092\u547c\u3073\u51fa\u3057\u3001\u5404\u30c6\u30fc\u30d6\u30eb\u306b\u521d\u671f\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3059\u308b\u306a\u3069\u3001\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u4f5c\u6210\u306e\u969b\u306a\u3069\u306b\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p>public<\/p>\n<p>css<\/p>\n<p>app.css #\u30a2\u30d7\u30ea\u4f5c\u6210\u6642\u306b\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308bCSS<\/p>\n<p>js<\/p>\n<p>app.js #\u30a2\u30d7\u30ea\u4f5c\u6210\u6642\u306b\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308bJS<\/p>\n<p>.htaccess<br \/>\nfavicon.ico<br \/>\nindex.php #\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7acb\u3061\u4e0a\u3052\u6642\u306b\u307e\u305a\u6700\u521d\u306b\u547c\u3070\u308c\u308bindex.php\u30d5\u30a1\u30a4\u30eb\u3002\u3053\u306e\u4e2d\u3067\u3001\u30aa\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306b\u3066\u5404\u30d9\u30f3\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u521d\u671f\u5316\u3092\u884c\u3063\u305f\u5f8c\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>robots.txt<br \/>\nweb.config #IIS(WindowsServer)\u306a\u3069\u3067\u4f7f\u7528\u3059\u308b\u969b\u306b\u4f7f\u3046\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3002<\/p>\n<p>resources<\/p>\n<p>assets<\/p>\n<p>js<\/p>\n<p>components \/ ExampleComponent.vue #vue.js\u3092\u4f7f\u7528\u3059\u308b\u969b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb<\/p>\n<p>app.js #\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3051\u308bJavascript\u306e\u5168\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u8aad\u307f\u8fbc\u3080\u8a2d\u5b9a\u304c\u66f8\u304b\u308c\u3066\u3044\u308b\u3002\u521d\u671f\u3067\u306fbootstrap\u3068vue<\/p>\n<p>bootstrap.js #bootstrap\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8aad\u307f\u8fbc\u307f<\/p>\n<p>sass<\/p>\n<p>_variables.scss #\u5404\u8a2d\u5b9a\u5024\u304c\u66f8\u304b\u308c\u305fSCSS\u3002\u5f53\u7136\u306a\u304c\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u524d<\/p>\n<p>app.scss #\u521d\u671f\u3067\u306f\u4e0a\u8a18\u306e_variables.scss\u3001WEB\u30d5\u30a9\u30f3\u30c8\u3001Bootstrap\u306a\u3069\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308bSCSS\u30d5\u30a1\u30a4\u30eb\u3002\u5f53\u7136\u306a\u304c\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u524d<\/p>\n<p>lang #\u8a00\u8a9e\u8a2d\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3002\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306a\u3069\u3092\u3072\u3068\u307e\u3068\u3081\u306b\u7ba1\u7406\u3059\u308b\u3002\u30a2\u30d7\u30ea\u69cb\u7bc9\u6642\u306f\u82f1\u8a9e\u3057\u304b\u306a\u3044\u3002<\/p>\n<p>en<\/p>\n<p>auth.php #\u8a8d\u8a3c\u6642\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u7ba1\u7406<\/p>\n<p>pagination.php #\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u7ba1\u7406<\/p>\n<p>passwords.php #\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u95a2\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u7ba1\u7406<\/p>\n<p>validation.php #\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306b\u95a2\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u7ba1\u7406<\/p>\n<p>views #\u30d3\u30e5\u30fc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>welcome.blade.php #\u521d\u671f\u30d5\u30a1\u30a4\u30eb\u3002\u521d\u56de\u8d77\u52d5\u6642\u306b\u3053\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u547c\u3070\u308c\u3001\u8868\u793a\u3055\u308c\u308b<\/p>\n<p>routes #\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u8a2d\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>api.php #API\u4f7f\u7528\u6642\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8a2d\u5b9a\u3059\u308b\u3002API\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092\u7d4c\u7531\u3057\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u306a\u3044\u30b9\u30c6\u30fc\u30c8\u30ec\u30b9\u306a\u901a\u4fe1\u3092\u884c\u3046\u6a5f\u80fd\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u4e3b\u306b\u4f7f\u7528\u3002<\/p>\n<p>channels.php #WebSocket\u306a\u3069\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u6a5f\u80fd\u4f7f\u7528\u6642\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8a2d\u5b9a\u3059\u308b<\/p>\n<p>console.php #\u30b3\u30f3\u30bd\u30fc\u30eb\u4f7f\u7528\u6642\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8a2d\u5b9a\u3059\u308b<\/p>\n<p>web.php #WEB\u4f7f\u7528\u6642\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8a2d\u5b9a\u3059\u308b\u3002WEB\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092\u7d4c\u7531\u3057\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u3001CSRF\u30c8\u30fc\u30af\u30f3\u3092\u4f7f\u7528\u3057\u305f\u901a\u4fe1\u3092\u884c\u3046\u6a5f\u80fd\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u4f7f\u7528\u3059\u308b<\/p>\n<p>storage<\/p>\n<p>app<\/p>\n<p>public #\u4e00\u822c\u516c\u958b\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u3059\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3057\u3001public\/storage\u304b\u3089\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u8cbc\u308b\u3053\u3068\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u914d\u5e03\u3092\u53ef\u80fd\u306b\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>framework<\/p>\n<p>cache #\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30fc\u30bf\u683c\u7d0d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>sessions #\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u683c\u7d0d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>testing #\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u683c\u7d0d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>views #view\u306e\u300c\u30ad\u30e3\u30c3\u30b7\u30e5\u300d\u30c7\u30fc\u30bf\u683c\u7d0d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>logs #\u30ed\u30b0\u30c7\u30fc\u30bf\u683c\u7d0d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>tests<\/p>\n<p>Feature<\/p>\n<p>ExampleTest.php #\u6a5f\u80fd(Feature)\u30c6\u30b9\u30c8\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/p>\n<p>Unit<\/p>\n<p>ExampleTest.php #\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/p>\n<p>CreatesApplication.php #\u30c6\u30b9\u30c8\u74b0\u5883\u8d77\u52d5\u7528\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb<\/p>\n<p>TestCase.php #\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u8a18\u8ff0\u3059\u308b\u30d5\u30a1\u30a4\u30eb<\/p>\n<p>vendor<\/p>\n<p>(\u30d9\u30f3\u30c0\u30fc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u591a\u6570)<\/p>\n<p>.env #\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u57fa\u672c\u8a2d\u5b9a\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u3001\u74b0\u5883\u8a2d\u5b9a\u5024\u30d5\u30a1\u30a4\u30eb\u3002\u3053\u3053\u306b\u8a18\u8ff0\u3057\u305f\u5024\u306f\u3001PHP\u30b9\u30fc\u30d1\u30fc\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e$_ENV\u306b\u3066\u53d6\u5f97\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308b<\/p>\n<p>.env.example\u3000#\u4e0a\u8a18env\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30f3\u30d7\u30eb<\/p>\n<p>.gitattributes<br \/>\n.gitignore<br \/>\nartisan\u3000#\u30a2\u30eb\u30c1\u30b6\u30f3\u3068\u8aad\u3080\u3002\u69d8\u3005\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u69d8\u3005\u306a\u3053\u3068\u304c\u884c\u3048\u308b\u3002<\/p>\n<p>composer.json\u3000#composer\u8a2d\u5b9a\u7528json<\/p>\n<p>composer.lock\u3000#composer\u8a2d\u5b9a\u7528lock\u30d5\u30a1\u30a4\u30eb<\/p>\n<p>package.json\u3000#npm\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30d5\u30a1\u30a4\u30eb<\/p>\n<p>phpunit.xml\u3000#PHPUnit\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<\/p>\n<p>readme.md<br \/>\nserver.php\u3000#\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<\/p>\n<p>webpack.mix.js\u3000#\u5168\u30a2\u30bb\u30c3\u30c8\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u30a8\u30f3\u30c8\u30ea\u30dd\u30a4\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u3002\u30a2\u30bb\u30c3\u30c8\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u3084\u30b3\u30f3\u30d1\u30a4\u30eb\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u8a18\u8ff0\u3059\u308b<\/p>\n<p>\u203b \u6240\u6709\u5b50\u76ee\u5f55\u7684.gitignore\u6587\u4ef6\u90fd\u7701\u7565\u4e86\u63cf\u8ff0\u3002\u5c3d\u7ba1\u5230\u5904\u90fd\u6709\uff0c\u4f46\u8fd9\u662f\u9879\u76ee\u5728\u8fdb\u884cgit\u7ba1\u7406\u65f6\u4e3a\u4e86\u7cbe\u7ec6\u8bbe\u7f6e\u6240\u63d0\u4f9b\u7684\u5e2e\u52a9\u3002<br \/>\n\u203b \u5173\u4e8evendor\u76ee\u5f55\uff0c\u6211\u6ca1\u6709\u63cf\u8ff0\u5176\u4e2d\u7684\u5185\u5bb9\u3002\u5982\u679c\u6709\u673a\u4f1a\u548c\u7cbe\u529b\uff0c\u6211\u4f1a\u5168\u90e8\u5199\u51fa\u6765\u3002<\/p>\n<h1>\u603b\u7ed3<\/h1>\n<p>\u5728\u64b0\u5199\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u610f\u8bc6\u5230\u5982\u679c\u4e0d\u6307\u5b9a\u4efb\u4f55\u9009\u9879\u6765\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\uff0c\u6587\u4ef6\u6570\u91cf\u4f1a\u76f8\u5f53\u591a\u3002\u7136\u800c\uff0c\u6211\u8ba4\u4e3a\u8fd9\u5b9e\u9645\u4e0a\u662f\u56e0\u4e3a\u6bcf\u4e2a\u529f\u80fd\u548c\u5904\u7406\u90fd\u5f97\u5230\u4e86\u6e05\u6670\u7684\u5206\u7c7b\u548c\u533a\u5206\uff0c\u6240\u4ee5\u5e76\u4e0d\u662f\u4e00\u4ef6\u8d1f\u9762\u7684\u4e8b\u60c5\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u30b7\u30f3\u30d7\u30eb\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308c\u3070\u3042\u308b\u307b\u3069\u3001\u4f5c\u308a\u624b\u306e\u80fd\u529b\u306b\u3088\u3063\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u69cb\u6210\u3084\u3001\u53ef\u8aad\u6027\u306e\u826f\u3057\u60aa\u3057\u306a\u3069\u304c\u8457\u3057\u304f\u5909\u308f\u308a\u307e\u3059\u3002<br \/>\n\u305d\u308c\u304c\u306e\u3061\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u591a\u5927\u306a\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u4e8b\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001Laravel\u306e\u3053\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u611f\u306f\u4e01\u5ea6\u826f\u3044\u3068\u3055\u3048\u601d\u3048\u307e\u3059\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u65e2\u7136\u6211\u4eec\u5927\u81f4\u4e86\u89e3\u4e86\u7ec4\u6210\u5185\u5bb9\uff0c\u90a3\u4e48\u4ece\u4e0b\u6b21\u5f00\u59cb\uff0c\u6211\u60f3\u8981\u7acb\u523b\u4f7f\u7528\u793a\u8303\u5e94\u7528\u7a0b\u5e8f\u8fdb\u884c\u5b9e\u65bd\u3002<\/p>\n<p>\u203b \u5982\u679c\u5bf9\u4e0a\u8ff0\u7684\u7ec4\u6210\u5185\u5bb9\u6709\u4efb\u4f55\u9519\u8bef\u4e4b\u5904\uff0c\u8bf7\u4e0d\u8981\u5ba2\u6c14\u5730\u63d0\u51fa\u6279\u8bc4\u548c\u5efa\u8bae\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u73b0\u5728\u9009\u62e9Laravel\uff1f \u5c0f\u3055\u306a\u5236\u4f5c\u4f1a\u793e\u3092\u3084\u3063\u3066\u3044\u307e\u3059\u3002 WEB\u306b\u9650\u3089\u305a\u3001\u30a2\u30d7\u30ea\u3084\u696d\u52d9\u7cfb\u3082\u4f5c\u3063\u3066\u307e\u3059\u3002  [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34705","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) - 1 - Laravel\u7684\u521d\u59cb\u914d\u7f6e - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4ed4\u7ec6\u7814\u7a76laravelv5-6-1-laravel\u7684\u521d\u59cb\u914d\u7f6e\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) - 1 - Laravel\u7684\u521d\u59cb\u914d\u7f6e\" \/>\n<meta property=\"og:description\" content=\"\u4e3a\u4ec0\u4e48\u73b0\u5728\u9009\u62e9Laravel\uff1f \u5c0f\u3055\u306a\u5236\u4f5c\u4f1a\u793e\u3092\u3084\u3063\u3066\u3044\u307e\u3059\u3002 WEB\u306b\u9650\u3089\u305a\u3001\u30a2\u30d7\u30ea\u3084\u696d\u52d9\u7cfb\u3082\u4f5c\u3063\u3066\u307e\u3059\u3002 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4ed4\u7ec6\u7814\u7a76laravelv5-6-1-laravel\u7684\u521d\u59cb\u914d\u7f6e\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-23T15:16:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T21:09:01+00:00\" \/>\n<meta name=\"author\" content=\"\u5b87, \u534e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5b87, \u534e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/\",\"name\":\"\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) - 1 - Laravel\u7684\u521d\u59cb\u914d\u7f6e - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-12-23T15:16:04+00:00\",\"dateModified\":\"2024-04-29T21:09:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) &#8211; 1 &#8211; Laravel\u7684\u521d\u59cb\u914d\u7f6e\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\",\"name\":\"\u5b87, \u534e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"caption\":\"\u5b87, \u534e\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) - 1 - Laravel\u7684\u521d\u59cb\u914d\u7f6e - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u4ed4\u7ec6\u7814\u7a76laravelv5-6-1-laravel\u7684\u521d\u59cb\u914d\u7f6e\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) - 1 - Laravel\u7684\u521d\u59cb\u914d\u7f6e","og_description":"\u4e3a\u4ec0\u4e48\u73b0\u5728\u9009\u62e9Laravel\uff1f \u5c0f\u3055\u306a\u5236\u4f5c\u4f1a\u793e\u3092\u3084\u3063\u3066\u3044\u307e\u3059\u3002 WEB\u306b\u9650\u3089\u305a\u3001\u30a2\u30d7\u30ea\u3084\u696d\u52d9\u7cfb\u3082\u4f5c\u3063\u3066\u307e\u3059\u3002 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4ed4\u7ec6\u7814\u7a76laravelv5-6-1-laravel\u7684\u521d\u59cb\u914d\u7f6e\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-12-23T15:16:04+00:00","article_modified_time":"2024-04-29T21:09:01+00:00","author":"\u5b87, \u534e","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u5b87, \u534e","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/","name":"\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) - 1 - Laravel\u7684\u521d\u59cb\u914d\u7f6e - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-12-23T15:16:04+00:00","dateModified":"2024-04-29T21:09:01+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4ed4\u7ec6\u7814\u7a76Laravel(v5.6) &#8211; 1 &#8211; Laravel\u7684\u521d\u59cb\u914d\u7f6e"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458","name":"\u5b87, \u534e","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","caption":"\u5b87, \u534e"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bb%94%e7%bb%86%e7%a0%94%e7%a9%b6laravelv5-6-1-laravel%e7%9a%84%e5%88%9d%e5%a7%8b%e9%85%8d%e7%bd%ae\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=34705"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34705\/revisions"}],"predecessor-version":[{"id":89879,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34705\/revisions\/89879"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=34705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=34705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=34705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}