{"id":8673,"date":"2021-03-01T07:00:40","date_gmt":"2021-02-28T22:00:40","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=8673"},"modified":"2021-02-21T05:33:27","modified_gmt":"2021-02-20T20:33:27","slug":"%e3%80%90laravel%e3%80%91%e9%96%8b%e7%99%ba%e7%94%a8%e3%81%ab%e3%83%ab%e3%83%bc%e3%83%88%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%97%e3%80%81%e7%b0%a1%e5%8d%98%e3%81%ab%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=8673","title":{"rendered":"\u3010Laravel\u3011\u958b\u767a\u7528\u306b\u30eb\u30fc\u30c8\u3092\u8868\u793a\u3057\u3001\u7c21\u5358\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30da\u30fc\u30b8\u3092\u3064\u304f\u3063\u3066\u307f\u308b"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u6c17\u304c\u3064\u3051\u3070\u3053\u306e\u30d6\u30ed\u30b0\u3082\u8a18\u4e8b\u6570\u304c<code>350<\/code>\u3092\u8d85\u3048\u3001\u904e\u53bb\u3092\u601d\u3044\u51fa\u305b\u3070\u30db\u30f3\u30c8\u306b\u3044\u308d\u3093\u306a\u6a5f\u80fd\u3092\u7d39\u4ecb\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u3046\u8003\u3048\u308b\u3068\uff08\u3082\u3061\u308d\u3093\u6709\u76ca\u3060\u3068\u601d\u3046\u306e\u3067\u66f8\u3044\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff09\u6700\u8fd1\u306f\u5c11\u3057\u65b9\u5411\u6027\u304c\u30de\u30f3\u30cd\u30ea\u5316\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u90e8\u5206\u3082\u3042\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3044\u3046\u8003\u3048\u304c\u982d\u3092\u3088\u304e\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u305f\u307e\u306b\u300c<strong>\u3053\u308c\u3084\u3063\u3066\u307f\u305f\u3089\u4fbf\u5229\u306a\u3093\u3058\u3083\uff1f<\/strong>\u300d\u3068\u3044\u3046\u3088\u3046\u306a\u30c1\u30e3\u30ec\u30f3\u30b8\u4f01\u753b\u3082\u304a\u5c4a\u3051\u3067\u304d\u305f\u3089\u3044\u3044\u306a\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u4eca\u56de\u306f\u305d\u3093\u306a\u4e2d\u3001\u3068\u3042\u308b\u300c<strong>\u958b\u767a\u8005\u5411\u3051<\/strong>\u300d\u306e\u6a5f\u80fd\u3092\u8003\u3048\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u306f\u3068\u3044\u3046\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><strong style=\"font-size: 35px;\">\u30af\u30a4\u30c3\u30af\u30fb\u30da\u30fc\u30b8\u30ea\u30f3\u30af<\/strong><\/p>\n<p>\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u306f\u3053\u306e\u9593\u3001\u3042\u308b\u9867\u554f\u5951\u7d04\u3092\u958b\u59cb\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u4e2d\u3067<code>GitHub<\/code>\u306e\u30b3\u30df\u30c3\u30c8\u3092\u898b\u306a\u304c\u3089\u78ba\u8a8d\u3092\u3059\u308b\u3068\u3044\u3046\u4f5c\u696d\u304c\u3042\u308a\u3001\u305d\u306e\u3068\u304d\u300c<strong>\u3046\u30fc\u3093\u3001\u3044\u3061\u3044\u3061\u30eb\u30fc\u30c8\u3092\u898b\u3066\u63a2\u3059\u306e\u306f\u975e\u52b9\u7387\u3060\u3088\u306d\u30fb\u30fb\u30fb<\/strong>\u300d\u3068\u611f\u3058\u305f\u304b\u3089\u306a\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u300c\u30b9\u30da\u30fc\u30b9\u30ad\u30fc\u300d\u3092\u62bc\u3057\u305f\u3089\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u30eb\u30fc\u30c8\u306e\u30ea\u30b9\u30c8\u304c\u4e00\u6c17\u306b\u8868\u793a\u3055\u308c\u3001\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u305d\u306e\u30da\u30fc\u30b8\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u300c<strong>\u30af\u30a4\u30c3\u30af\u30fb\u30da\u30fc\u30b8\u30ea\u30f3\u30af<\/strong>\u300d\u3092\u3064\u304f\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u5b66\u7fd2\u306e\u305f\u3081\u3067\u306f\u306a\u304f\u3001\u8aad\u307f\u3082\u306e\u7684\u306a\u30ab\u30f3\u30b8\u3067\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6071 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/no_8.png\" alt=\"\" width=\"216\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/no_8.png 216w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/no_8-203x300.png 203w\" sizes=\"auto, (max-width: 216px) 100vw, 216px\" \/>\u300c\u50d5\u3060\u3051\u304c\u3044\u306a\u3044\u8857\u3092\u30a8\u30f3\u30b8\u30e7\u30a4\u4e2d\u3002<br \/>\n\u30c9\u30ad\u30c9\u30ad\u611f\u3001\u534a\u7aef\u306a\u3044\u3067\u3059\u2757\u300d<\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Laravel 8.x\uff08\u305f\u3060\u3057\u3001Laravel 7.x\u3067\u3082\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\uff09<\/p>\n<h1>\u3084\u308a\u305f\u3044\u3053\u3068<\/h1>\n<p>\u4eca\u56de\u5b9f\u88c5\u3057\u305f\u3044\u8a73\u3057\u3044\u306f\u5185\u5bb9\u306f\u4ee5\u4e0b\uff15\u3064\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u30b9\u30da\u30fc\u30b9\u30ad\u30fc\u3092\u30bf\u30a4\u30d7\u3057\u305f\u3089\u30eb\u30fc\u30c8\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\uff08\u305f\u3060\u3057\u3001\u5165\u529b\u30dc\u30c3\u30af\u30b9\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u7121\u8996\uff09<\/li>\n<li>\u691c\u7d22\u30dc\u30c3\u30af\u30b9\u306b\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u305f\u3089\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u7d5e\u308a\u8fbc\u307f<\/li>\n<li>{user} \u306a\u3069\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u81ea\u5206\u3067\u5909\u66f4\u3067\u304d\u308b<\/li>\n<li>\u305f\u3060\u3057\u3001GET\u4ee5\u5916\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u4f55\u304b\u3092\u7528\u610f\u3057\u306b\u304f\u3044\u306e\u3067\u9664\u5916<\/li>\n<li>\u3067\u304d\u308b\u3060\u3051\u6c4e\u7528\u7684\u306b\u4f7f\u3044\u305f\u3044\u306e\u3067\u3001\uff11\u30d5\u30a1\u30a4\u30eb\u3067\u5b8c\u7d50\u3055\u305b\u3001JS\u30fbCSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u4e00\u5207\u4f7f\u308f\u306a\u3044<\/li>\n<\/ul>\n<p>\u3067\u306f\u3001\u697d\u3057\u304f\u3084\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u2757<\/p>\n<h1>\u4f7f\u3044\u65b9<\/h1>\n<p>\u307e\u305a\u306f\u4f7f\u3044\u65b9\u3067\u3059\u3002<\/p>\n<p>\u300c<strong>\u3084\u308a\u305f\u3044\u3053\u3068<\/strong>\u300d\u3067\u3082\u66f8\u3044\u305f\u3068\u304a\u308a\u6c4e\u7528\u7684\u306b\u4f7f\u3044\u305f\u3044\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>Blade<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3060\u3051\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\uff08\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u30bb\u30c3\u30c8\u3059\u308c\u3070\u4e00\u6c17\u306b\u5168\u3066\u306e\u30da\u30fc\u30b8\u3067\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3088\ud83d\udc4d\uff09<\/p>\n<pre>&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\"{{ str_replace('_', '-', app()-&gt;getLocale()) }}\"&gt;\r\n    &lt;head&gt;\r\n        &lt;!-- \u7701\u7565 --&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        &lt;!-- \u7701\u7565 --&gt;\r\n    &lt;\/body&gt;\r\n<strong>    @env('local')<\/strong>\r\n\r\n<strong>        @include('test.route_list')<\/strong>\r\n\r\n<strong>    @endenv<\/strong>\r\n&lt;\/html&gt;<\/pre>\n<h1>\u8aad\u307f\u8fbc\u3080\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab<\/h1>\n<p>\u4ee5\u4e0b\u304c\u4eca\u56de\u4f5c\u6210\u3057\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<p><strong>resources\/views\/test\/route_list.blade.php<\/strong><\/p>\n<pre><strong>@php<\/strong>\r\n\r\n<strong>    $grouped_routes = \\Illuminate\\Support\\Facades\\Route::getRoutes()-&gt;getRoutesByMethod();<\/strong>\r\n\r\n<strong>@endphp<\/strong>\r\n<strong>&lt;div id=\"dev-route\" style=\"display:none;position:absolute;width:100%;top:0;left:0;color:#333;\"&gt;<\/strong>\r\n<strong>    &lt;div style=\"background-color:#ccc;margin:15px;padding:15px;\"&gt;<\/strong>\r\n<strong>        &lt;input id=\"dev-route-filter\" type=\"text\" style=\"padding:3px;margin-bottom:15px;\" placeholder=\"\u30eb\u30fc\u30c8\u540d\u3067\u7d5e\u308a\u8fbc\u307f\"&gt;<\/strong>\r\n<strong>        &lt;br&gt;<\/strong>\r\n<strong>        @foreach($grouped_routes as $method =&gt; $routes)<\/strong>\r\n<strong>            @foreach($routes as $route)<\/strong>\r\n<strong>                @if($method === 'GET')<\/strong>\r\n<strong>                    @php<\/strong>\r\n\r\n<strong>                        $index = $loop-&gt;index;<\/strong>\r\n<strong>                        $content = preg_replace_callback('|\\{[^\\}]*\\}|', function($matches) use($index) {<\/strong>\r\n\r\n<strong>                            return '&lt;input '.<\/strong>\r\n<strong>                                'type=\"text\" '.<\/strong>\r\n<strong>                                'style=\"padding:2px;width:100px;font-size:14px;margin:0 5px;\" '.<\/strong>\r\n<strong>                                'class=\"dev-route-input dev-route-input-'. $index .'\" '.<\/strong>\r\n<strong>                                'placeholder=\"'. $matches[0] .'\"'.<\/strong>\r\n<strong>                                'data-pattern=\"'. $matches[0] .'\"'.<\/strong>\r\n<strong>                                'data-index=\"'. $index .'\"<\/strong>\r\n<strong>                                onfocus=\"this.select()\"&gt;';<\/strong>\r\n\r\n<strong>                        }, $route-&gt;uri);<\/strong>\r\n\r\n<strong>                    @endphp<\/strong>\r\n<strong>                    &lt;div class=\"dev-route-item\" style=\"padding-bottom:7px;\"&gt;<\/strong>\r\n<strong>                        {!! $content !!}<\/strong>\r\n<strong>                        &lt;a<\/strong>\r\n<strong>                            id=\"dev-route-link-{{ $loop-&gt;index }}\"<\/strong>\r\n<strong>                            href=\"{{ $route-&gt;uri }}\"<\/strong>\r\n<strong>                            style=\"padding-left:10px;\"<\/strong>\r\n<strong>                            data-uri=\"{{ $route-&gt;uri }}\"<\/strong>\r\n<strong>                            target=\"_blank\"&gt;\u958b\u304f&lt;\/a&gt;<\/strong>\r\n<strong>                    &lt;\/div&gt;<\/strong>\r\n<strong>                @endif<\/strong>\r\n<strong>            @endforeach<\/strong>\r\n<strong>        @endforeach<\/strong>\r\n<strong>    &lt;\/div&gt;<\/strong>\r\n<strong>&lt;\/div&gt;<\/strong>\r\n\r\n<strong>&lt;script&gt;<\/strong>\r\n\r\n<strong>    window.onload = () =&gt; {<\/strong>\r\n\r\n<strong>        document.querySelector('#dev-route-filter')<\/strong>\r\n<strong>            .addEventListener('input', e =&gt; {<\/strong>\r\n\r\n<strong>                const keyword = e.target.value;<\/strong>\r\n\r\n<strong>                document.querySelectorAll('.dev-route-item').forEach(link =&gt; {<\/strong>\r\n\r\n<strong>                    const linkText = link.innerText;<\/strong>\r\n\r\n<strong>                    if(keyword === '' || linkText.includes(keyword)) {<\/strong>\r\n\r\n<strong>                        link.style.display = 'block';<\/strong>\r\n\r\n<strong>                    } else {<\/strong>\r\n\r\n<strong>                        link.style.display = 'none';<\/strong>\r\n\r\n<strong>                    }<\/strong>\r\n\r\n<strong>                });<\/strong>\r\n\r\n<strong>            });<\/strong>\r\n\r\n<strong>        document.querySelectorAll('.dev-route-input').forEach(input =&gt; {<\/strong>\r\n\r\n<strong>            input.addEventListener('input', e =&gt; {<\/strong>\r\n\r\n<strong>                const target = e.target;<\/strong>\r\n<strong>                const index = target.getAttribute('data-index');<\/strong>\r\n<strong>                const link = document.querySelector('#dev-route-link-'+ index);<\/strong>\r\n<strong>                let url = link.getAttribute('data-uri');<\/strong>\r\n<strong>                document.querySelectorAll('.dev-route-input-'+ index)<\/strong>\r\n<strong>                    .forEach(input =&gt; {<\/strong>\r\n\r\n<strong>                        const pattern = input.getAttribute('data-pattern');<\/strong>\r\n<strong>                        console.log(pattern)<\/strong>\r\n<strong>                        url = url.replace(pattern, input.value);<\/strong>\r\n\r\n<strong>                    })<\/strong>\r\n<strong>                link.setAttribute('href', url);<\/strong>\r\n\r\n<strong>            });<\/strong>\r\n\r\n<strong>        });<\/strong>\r\n\r\n<strong>        document.onkeypress = e =&gt; {<\/strong>\r\n\r\n<strong>            const tagName = e.target.tagName;<\/strong>\r\n<strong>            const code = e.code;<\/strong>\r\n\r\n<strong>            if(tagName === 'BODY' &amp;&amp; code === 'Space') {<\/strong>\r\n\r\n<strong>                const container = document.querySelector('#dev-route');<\/strong>\r\n\r\n<strong>                if(container.style.display === 'none') {<\/strong>\r\n\r\n<strong>                    container.style.display = 'block';<\/strong>\r\n\r\n<strong>                    setTimeout(() =&gt; {<\/strong>\r\n\r\n<strong>                        const filterInput = document.querySelector('#dev-route-filter').focus();<\/strong>\r\n\r\n<strong>                    }, 500);<\/strong>\r\n\r\n<strong>                } else {<\/strong>\r\n\r\n<strong>                    container.style.display = 'none';<\/strong>\r\n\r\n<strong>                }<\/strong>\r\n\r\n<strong>            }<\/strong>\r\n\r\n<strong>        }<\/strong>\r\n\r\n<strong>    };<\/strong>\r\n\r\n<strong>&lt;\/script&gt;<\/strong><\/pre>\n<p><strong>\u26a0\u3054\u6ce8\u610f<br \/>\n<\/strong>\u300c<strong>\uff11\u30d5\u30a1\u30a4\u30eb\u3067\u3064\u304f\u308b<\/strong>\u300d\u304c\u30b3\u30f3\u30bb\u30d7\u30c8\u306a\u306e\u3067\u3001\u901a\u5e38\u306e\u958b\u767a\u3067\u306f\u3084\u308b\u3079\u304d\u3067\u306f\u306a\u3044\u66f8\u304d\u65b9\u304c\u305f\u304f\u3055\u3093\u5165\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u6c17\u3092\u3064\u3051\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u4f1a\u793e\u3067\u3084\u3063\u305f\u3089\u6012\u3089\u308c\u308b\u304b\u3082\u30fb\u30fb\u30fb\u306e\u30ec\u30d9\u30eb\u3067\u3059\ud83d\ude02\uff09<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u4e2d\u8eab\u306b\u3064\u3044\u3066\u306f\u5272\u611b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002m(_ _)m<\/p>\n<h1>\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30bb\u30c3\u30c8\u3057\u3066\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u2757<\/p>\n<p>\u306a\u304a\u3001<code>Laravel 8.x<\/code>\u306b\u306f\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u304c\uff12\u3064\u3042\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u30ed\u30b0\u30a4\u30f3\u4e0d\u8981\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p><strong>resources\/views\/layouts\/guest.blade.php<\/strong><\/p>\n<pre>&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\"{{ str_replace('_', '-', app()-&gt;getLocale()) }}\"&gt;\r\n    \r\n    &lt;!-- \u7701\u7565 --&gt;\r\n\r\n    <strong>@env('local')<\/strong>\r\n\r\n<strong>        @include('test.route_list')<\/strong>\r\n\r\n<strong>    @endenv<\/strong>\r\n&lt;\/html&gt;<\/pre>\n<p>\u3067\u306f\u3001\u300c<strong>http:\/\/****\/login<\/strong>\u300d\u3078\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u81ea\u52d5\u7684\u306b\u5165\u529b\u30dc\u30c3\u30af\u30b9\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u304c\u5f53\u305f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8674\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_1.png\" alt=\"\" width=\"476\" height=\"386\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_1.png 476w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_1-300x243.png 300w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/p>\n<p>\u4eca\u56de\u306e\u4ed5\u69d8\u300c\u30b9\u30da\u30fc\u30b9\u30ad\u30fc\u3092\u30bf\u30a4\u30d7\u3057\u305f\u3089\u30eb\u30fc\u30c8\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\uff08<strong>\u305f\u3060\u3057\u3001\u5165\u529b\u30dc\u30c3\u30af\u30b9\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u7121\u8996<\/strong>\uff09\u300d\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u4ed5\u69d8\u3069\u304a\u308a\u4f55\u3082\u52d5\u304d\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u6b21\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5916\u3057\u3066\u30b9\u30da\u30fc\u30b9\u30ad\u30fc\u3092\u30bf\u30a4\u30d7\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8675\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_2.png\" alt=\"\" width=\"632\" height=\"449\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_2.png 632w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_2-300x213.png 300w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/p>\n<p>\u30eb\u30fc\u30c8\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u3053\u306e\u4e2d\u304b\u3089\u300c<strong>register<\/strong>\u300d\u306e\u6a2a\u306b\u3042\u308b\u300c<strong>\u958b\u304f<\/strong>\u300d\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8676\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_3.png\" alt=\"\" width=\"481\" height=\"513\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_3.png 481w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_3-281x300.png 281w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u3046\u307e\u304f\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u6b21\u306f\u7d5e\u308a\u8fbc\u307f\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u7d5e\u308a\u8fbc\u307f\u30dc\u30c3\u30af\u30b9\u306b<code>item<\/code>\u3068\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8677\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_4.png\" alt=\"\" width=\"394\" height=\"259\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_4.png 394w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_4-300x197.png 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u3053\u3061\u3089\u3082\u3046\u307e\u304f\u7d5e\u308a\u8fbc\u307f\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u6b21\u306f\u300c<strong>item\/1<\/strong>\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066\u30da\u30fc\u30b8\u3092\u958b\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8678\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_5.png\" alt=\"\" width=\"375\" height=\"254\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_5.png 375w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_5-300x203.png 300w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8679\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_6.png\" alt=\"\" width=\"499\" height=\"77\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_6.png 499w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/02\/larave_quick_page_link_6-300x46.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u5165\u529b\u3057\u305f\u5024\u3092\u542b\u3080URL\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u6210\u529f\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u306e\u305f\u3081\u3067\u306f\u306a\u304f\u958b\u767a\u8005\u306e\u305f\u3081\u306e\u6a5f\u80fd\u3092\u3064\u304f\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u5192\u982d\u3067\u3082\u66f8\u3044\u305f\u3068\u304a\u308a\u3001\u500b\u4eba\u7684\u306b\u3082\u3053\u308c\u3067\u958b\u767a\u52b9\u7387\u304c\u4e0a\u304c\u308c\u3070\u5b09\u3057\u3044\u306a\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u4eca\u56de\u306f<code>Laravel 7.x<\/code>\u3067\u3082\u30c6\u30b9\u30c8\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u3061\u3089\u306fCSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b<code>Tailwind CSS<\/code>\u3067\u306f\u306a\u304f<code>Bootstrap<\/code>\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u82e5\u5e72\u898b\u3048\u65b9\u304c\u9055\u3044\u307e\u3057\u305f\u3002\uff08\u305d\u3046\u3044\u3048\u3070<code>Bootstrap 5<\/code>\u306f\u3044\u3064\u51fa\u308b\u3093\u3067\u3057\u3087\u3046\u304b\u2753\u2753\uff09<\/p>\n<p>\u9006\u306b\u3001<code>JavaScript<\/code>\u306f\u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u4f7f\u3044\u65b9\u3092\u3057\u3066\u3044\u308b\u306e\u3067\u7279\u5225\u4f55\u3082\u8aad\u307f\u8fbc\u3080\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30fb\u30fb\u30fb\u305d\u3046\u3044\u3048\u3070\u3001\u4eca\u56de\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u306e\u306f\u30db\u30f3\u30c8\u306b\u4e45\u3057\u3076\u308a\u3067\u3057\u305f\u3002<\/p>\n<p>\u3084\u3063\u3071\u308a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3063\u3066\u3059\u3054\u3044\u3067\u3059\u306d\u3002<br \/>\n\u300c<strong>\u305d\u3063\u304b\u3001\u3053\u308c\u3082\u3067\u304d\u306a\u3044\u306e\u304b\ud83d\ude2d<\/strong>\u300d\u3068\u611f\u3058\u308b\u5834\u9762\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3042\u3063\u3066\u5f53\u7136\u306a\u5b58\u5728\u3067\u3059\u304c\u3001\u305d\u306e\u3042\u308a\u304c\u305f\u307f\u3092\u611f\u3058\u305f\u77ac\u9593\u3067\u3057\u305f\u3002<\/p>\n<p>\u4ee5\u4e0a\u3001\u305c\u3072\u7686\u3055\u3093\u3082\u300c<strong>\u958b\u767a\u8005\u5411\u3051<\/strong>\u300d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\u2757<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4445 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_2.png\" alt=\"\" width=\"370\" height=\"310\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_2.png 370w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_2-300x251.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/>\u300c\u5c11\u3057\u305a\u3064\u30d4\u30a2\u30ce\u3067\u65e9\u3044\u66f2\u306b\u6163\u308c\u3066\u304d\u307e\u3057\u305f\u266a\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u6c17\u304c\u3064\u3051\u3070\u3053\u306e\u30d6\u30ed\u30b0\u3082\u8a18\u4e8b\u6570\u304c350\u3092\u8d85\u3048\u3001\u904e\u53bb\u3092\u601d\u3044\u51fa\u305b\u3070\u30db\u30f3\u30c8\u306b\u3044\u308d\u3093\u306a\u6a5f\u80fd\u3092\u7d39\u4ecb\u3057\u3066\u304d\u307e\u3057\u305f\u3002 \u305d\u3057\u3066\u3001\u305d\u3046\u8003\u3048\u308b\u3068\uff08\u3082\u3061\u308d\u3093\u6709\u76ca\u3060\u3068\u601d\u3046\u306e\u3067\u66f8 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=8673\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Laravel\u3011\u958b\u767a\u7528\u306b\u30eb\u30fc\u30c8\u3092\u8868\u793a\u3057\u3001\u7c21\u5358\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30da\u30fc\u30b8\u3092\u3064\u304f\u3063\u3066\u307f\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":8683,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-8673","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/8673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8673"}],"version-history":[{"count":3,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/8673\/revisions"}],"predecessor-version":[{"id":8682,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/8673\/revisions\/8682"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/8683"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}