{"id":10526,"date":"2020-05-06T20:57:03","date_gmt":"2020-05-06T11:57:03","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=10526"},"modified":"2023-05-27T21:17:32","modified_gmt":"2023-05-27T12:17:32","slug":"%e3%80%90laravel%e3%80%91%e3%80%8cfacade%e3%83%95%e3%82%a1%e3%82%b5%e3%83%bc%e3%83%89%e3%80%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=10526","title":{"rendered":"\u3010Laravel\u3011\u300cFacade(\u30d5\u30a1\u30b5\u30fc\u30c9)\u300d\u3001Form\u30d5\u30a1\u30b5\u30fc\u30c9"},"content":{"rendered":"<h2>\u30d5\u30a1\u30b5\u30fc\u30c9\u3068\u306f\uff1f<\/h2>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u3082\u4f7f\u308f\u308c\u308b\u7528\u8a9e\u3067<span style=\"color: #ff0000;\"><strong>\u5165\u308a\u53e3\u3060\u3051\u77e5\u3063\u3066\u304a\u3051\u3070\u5185\u90e8\u306e\u4ed5\u7d44\u307f\u3092\u77e5\u3089\u306a\u304f\u3066\u3082\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u4f7f\u308f\u308c\u307e\u3059\u3002<\/strong><\/span><\/p>\n<h2>Laravel\u3067\u3088\u304f\u4f7f\u3046\u30d5\u30a1\u30b5\u30fc\u30c9<\/h2>\n<p>Laravel\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3044\u304f\u3064\u304b\u30d5\u30a1\u30b5\u30fc\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>Auth<\/li>\n<li>Blade<\/li>\n<li>DB(\u30af\u30a8\u30ea\u30d3\u30eb\u30c0\u30fc)<\/li>\n<li>File<\/li>\n<li>Hash<\/li>\n<li>Route<\/li>\n<\/ul>\n<h2>\u30d5\u30a1\u30b5\u30fc\u30c9\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5834\u6240<\/h2>\n<p><span style=\"color: #ff0000;\"><strong>\u300cconfig\/app.php\u300d<\/strong><\/span>\u306b\u3066\u30d5\u30a1\u30b5\u30fc\u30c9\u306f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002provides\u304b\u3089\u59cb\u307e\u308b\u7b87\u6240\u3068\u3001aliases\u304b\u3089\u59cb\u307e\u308b\u7b87\u6240\u304c\u30d5\u30a1\u30b5\u30fc\u30c9\u306e\u5b9a\u7fa9\u306e\u7b87\u6240\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>provides<\/h3>\n<pre class=\"lang:default decode:true\">    'providers' =&gt; [\r\n\r\n        \/*\r\n         * Laravel Framework Service Providers...\r\n         *\/\r\n        Illuminate\\Auth\\AuthServiceProvider::class,\r\n        Illuminate\\Broadcasting\\BroadcastServiceProvider::class,\r\n\u3000\u3000\u3000\u2025<\/pre>\n<h3>aliases<\/h3>\n<pre class=\"lang:default decode:true\">    'aliases' =&gt; [\r\n\r\n        'App' =&gt; Illuminate\\Support\\Facades\\App::class,\r\n        'Arr' =&gt; Illuminate\\Support\\Arr::class,\r\n\u3000\u3000\u3000\u2025<\/pre>\n<h2>\u30d5\u30a1\u30b6\u30fc\u30c9\u306e\u4f7f\u3044\u65b9<\/h2>\n<p>Controller\u5185\u3067\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8a18\u8ff0\u3092\u3057\u3066\u3042\u3052\u308c\u3070PHP\u5185\u3067\u30d5\u30a1\u30b5\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u4e8b\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">use Illuminate\\Support\\Facades\\\u30d5\u30a1\u30b6\u30fc\u30c9\u540d;<\/pre>\n<h2>Illuminate\\Support\\Facades<\/h2>\n<p>\u3053\u308c\u306f\u3001<span style=\"color: #ff0000;\"><strong>composer\u3067\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d1\u30b9<\/strong><\/span>\u3092\u793a\u3057\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u4e0b\u8a18\u306e\u30d1\u30b9\u3092\u898b\u308c\u3070\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u95b2\u89a7\u3059\u308b\u4e8b\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">vender\/laravel\/framework\/src\/illuminate\/Support\/Facades<\/pre>\n<h2>Form\u30d5\u30a1\u30b5\u30fc\u30c9\u3068\u306f\uff1f<\/h2>\n<p>Laravel\u306eForm\u306f\u666e\u901a\u306b\u3082\u8a18\u8ff0\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304c\u3001<span style=\"color: #ff0000;\"><strong>Form\u30d5\u30a1\u30b5\u30fc\u30c9\u3068\u3044\u3046\u62e1\u5f35\u6a5f\u80fd<\/strong><\/span>\u3092\u4f7f\u7528\u3057\u3066\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u304b\u3064\u3066\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u73fe\u5728\u306fcomposer\u3067\u7ba1\u7406\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u30d5\u30a1\u30b5\u30fc\u30c9\u3068\u306f\uff1f \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u3082\u4f7f\u308f\u308c\u308b\u7528\u8a9e\u3067\u5165\u308a\u53e3\u3060\u3051\u77e5\u3063\u3066\u304a\u3051\u3070\u5185\u90e8\u306e\u4ed5\u7d44\u307f\u3092\u77e5\u3089\u306a\u304f\u3066\u3082\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u4f7f\u308f\u308c\u307e\u3059\u3002 Laravel\u3067\u3088\u304f\u4f7f\u3046\u30d5\u30a1\u30b5\u30fc\u30c9 Laravel\u3067\u306f\u30c7 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[99],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/10526"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10526"}],"version-history":[{"count":8,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/10526\/revisions"}],"predecessor-version":[{"id":20330,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/10526\/revisions\/20330"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10526"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}