{"id":1702,"date":"2019-11-21T08:34:33","date_gmt":"2019-11-20T23:34:33","guid":{"rendered":"http:\/\/taki-lab.site\/bocci\/?p=1702"},"modified":"2019-11-21T08:46:50","modified_gmt":"2019-11-20T23:46:50","slug":"%e3%80%90linux%e3%80%91%e3%80%90laravel%e3%80%91%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc%e3%81%8b%e3%82%89%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ab","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=1702","title":{"rendered":"\u3010Linux\u3011\u3010Laravel\u3011\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002"},"content":{"rendered":"\n<p>\u4eca\u56de\u306fLaravel\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304b\u3089\u30e2\u30c7\u30eb\u3092\u4ecb\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/takishita2nd\/hotel-mng\">https:\/\/github.com\/takishita2nd\/hotel-mng<\/a><\/p>\n\n\n\n<p>\u307e\u305a\u306f\u3001\u30e2\u30c7\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u30a2\u30ec\u30b3\u30ec\u3059\u308b\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001repository\u3068\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u7279\u306b\u540d\u524d\u306b\u6c7a\u307e\u308a\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\n\nnamespace App\\Repository;\n\nuse App\\Model\\ReserveManagement;\n\nclass RegisterManagementRepository\n{\n    \/\/ \u4e88\u7d04\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\n    public function getList()\n    {\n        return ReserveManagement::all();\n    }\n}<\/pre>\n\n\n\n<p>\u4eca\u56de\u306f\u30ea\u30b9\u30c8\u53d6\u5f97\u3060\u3051\u306e\u6a5f\u80fd\u3060\u3051\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\n\nnamespace App\\Http\\Controllers;\n\nuse Illuminate\\Http\\Request;\nuse App\\Repository\\RegisterManagementRepository;\n\nclass RegisterManagementController extends Controller\n{\n    protected $registerManagement;\n\n    \/**\n     * Create a new controller instance.\n     *\n     * @return void\n     *\/\n    public function __construct()\n    {\n        $this-&gt;middleware('auth');\n        $this-&gt;registerManagement = new RegisterManagementRepository();\n    }\n\n    \/**\n     * Show the Register.\n     *\n     * @return \\Illuminate\\Http\\Response\n     *\/\n    public function index()\n    {\n        return view('register.index', ['registerLists' =&gt; $this-&gt;registerManagement-&gt;getList()]);\n    }\n}\n<\/pre>\n\n\n\n<p>Laravel\u306b\u306f\u30b5\u30fc\u30d3\u30b9\u30b3\u30f3\u30c6\u30ca\u3068\u3044\u3046\u6a5f\u80fd\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067repository\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>View\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u540d\u524d\u3092\u4e00\u89a7\u8868\u793a\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">@extends('layouts.app')\n\n@section('content')\n&lt;div class=\"container\"&gt;\n    &lt;div class=\"row\"&gt;\n        &lt;div class=\"col-md-8 col-md-offset-2\"&gt;\n            &lt;div class=\"panel panel-default\"&gt;\n                &lt;div class=\"panel-heading\"&gt;\u4e88\u7d04\u4e00\u89a7&lt;\/div&gt;\n\n                &lt;div class=\"panel-body\"&gt;\n                    &lt;table&gt;\n                    @foreach ($registerLists as $list)\n                        &lt;tr&gt;\n                            &lt;td&gt;\u3053\u308c\u306f {{ $list-&gt;name }} \u30e6\u30fc\u30b6\u30fc\u3067\u3059\u3002&lt;\/td&gt;\n                        &lt;\/tr&gt;\n                    @endforeach\n                    &lt;\/table&gt;\n                &lt;\/div&gt;\n            &lt;\/div&gt;\n        &lt;\/div&gt;\n    &lt;\/div&gt;\n&lt;\/div&gt;\n@endsection<\/pre>\n\n\n\n<p>\u6700\u5f8c\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Route::get('\/', function () {\n    return view('welcome');\n});\n\nAuth::routes();\n\nRoute::get('\/home', 'HomeController@index')-&gt;name('home');\nRoute::get('\/management', 'RegisterManagementController@index');<\/pre>\n\n\n\n<p>\u3053\u308c\u3067\u3001\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u3067<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/localhost:8000\/management<\/pre>\n\n\n\n<p>\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"96\" data-attachment-id=\"1703\" data-permalink=\"https:\/\/taki-lab.site\/bocci\/?attachment_id=1703\" data-orig-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-21-08-23-11.png?fit=788%2C160&amp;ssl=1\" data-orig-size=\"788,160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2019-11-21-08-23-11\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-21-08-23-11.png?fit=300%2C61&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-21-08-23-11.png?fit=474%2C96&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-21-08-23-11.png?resize=474%2C96&#038;ssl=1\" alt=\"\" class=\"wp-image-1703\" srcset=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-21-08-23-11.png?w=788&amp;ssl=1 788w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-21-08-23-11.png?resize=300%2C61&amp;ssl=1 300w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-21-08-23-11.png?resize=768%2C156&amp;ssl=1 768w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u30e2\u30c7\u30eb\u30fb\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30fb\u30d3\u30e5\u30fc\u9593\u306e\u3084\u308a\u53d6\u308a\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6b21\u306f\u3001CURD\u6a5f\u80fd\u3092\u4e00\u901a\u308a\u4f5c\u6210\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306fLaravel\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304b\u3089\u30e2\u30c7\u30eb\u3092\u4ecb\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u3092\u4f5c\u308a\u307e\u3059\u3002 https:\/\/github.com\/takishita2nd\/hotel-mng \u307e\u305a\u306f\u3001\u30e2\u30c7\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u30a2 &hellip; <a href=\"https:\/\/taki-lab.site\/bocci\/?p=1702\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010Linux\u3011\u3010Laravel\u3011\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u3010Linux\u3011\u3010Laravel\u3011\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002\n#TechCommit\n","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8,3],"tags":[138,79],"class_list":["post-1702","post","type-post","status-publish","format-standard","hentry","category-linux","category-3","tag-laravel","tag-linux"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8SDbY-rs","jetpack-related-posts":[{"id":2083,"url":"https:\/\/taki-lab.site\/bocci\/?p=2083","url_meta":{"origin":1702,"position":0},"title":"\u3010laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u6642\u523b\u4e00\u89a7\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b","author":"taki","date":"2020\u5e741\u67086\u65e5","format":false,"excerpt":"\u672c\u65e5\u304b\u3089\u672c\u6c17\u51fa\u3059\u3002 \u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 https:\/\/taki-lab.site\/bocci\/\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2541,"url":"https:\/\/taki-lab.site\/bocci\/?p=2541","url_meta":{"origin":1702,"position":1},"title":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u89e3\u9320API\u3092\u8ffd\u52a0\u3059\u308b","author":"taki","date":"2020\u5e743\u670819\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2384 \u6700\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/03\/Screenshot-from-2020-03-19-11-09-31.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/03\/Screenshot-from-2020-03-19-11-09-31.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/03\/Screenshot-from-2020-03-19-11-09-31.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/03\/Screenshot-from-2020-03-19-11-09-31.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":10513,"url":"https:\/\/taki-lab.site\/bocci\/?p=10513","url_meta":{"origin":1702,"position":2},"title":"DOCKER\u3067PHP+DB+LARAVEL\u3092\u69cb\u6210\u3057\u3066\u307f\u308b\uff08\u524d\u56de\u306e\u7d9a\u304d\uff09","author":"taki","date":"2023\u5e745\u67081\u65e5","format":false,"excerpt":"Docker\u3067PHP+DB+Laravel\u3092\u69cb\u6210\u3057\u3066\u307f\u308b | \u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f (taki-\u2026","rel":"","context":"\u6280\u8853","block_context":{"text":"\u6280\u8853","link":"https:\/\/taki-lab.site\/bocci\/?cat=3"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2023\/05\/db847522341e60bcff99edf8b94497fe.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2023\/05\/db847522341e60bcff99edf8b94497fe.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2023\/05\/db847522341e60bcff99edf8b94497fe.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2023\/05\/db847522341e60bcff99edf8b94497fe.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1656,"url":"https:\/\/taki-lab.site\/bocci\/?p=1656","url_meta":{"origin":1702,"position":3},"title":"\u3010Linux\u3011\u3010Laravel\u3011Auth\u6a5f\u80fd\u3092\u5b9f\u88c5\u3059\u308b\u3002","author":"taki","date":"2019\u5e7411\u670816\u65e5","format":false,"excerpt":"Laravel\u306bAuth\u6a5f\u80fd\uff08\u8981\u306f\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\uff09\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002 Laravel\u3063\u3066\u4fbf\u5229\u306a\u3082\u306e\u3067\u3001\u30c7\u30d5\u2026","rel":"","context":"Linux","block_context":{"text":"Linux","link":"https:\/\/taki-lab.site\/bocci\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-16-09-18-59.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-16-09-18-59.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-16-09-18-59.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-16-09-18-59.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1722,"url":"https:\/\/taki-lab.site\/bocci\/?p=1722","url_meta":{"origin":1702,"position":4},"title":"\u3010Laravel\u3011\u30c6\u30fc\u30d6\u30eb\u306e\u5185\u5bb9\u3092\u66f4\u65b0\u3059\u308b","author":"taki","date":"2019\u5e7411\u670823\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u69d8\u5b50\u306f\u3053\u3061\u3089\u3002 http:\/\/taki-lab.site\/bocci\/?p=1715 \u30bd\u30fc\u2026","rel":"","context":"Linux","block_context":{"text":"Linux","link":"https:\/\/taki-lab.site\/bocci\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-23-12-41-20.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1715,"url":"https:\/\/taki-lab.site\/bocci\/?p=1715","url_meta":{"origin":1702,"position":5},"title":"\u3010Laravel\u3011\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u767b\u9332\u3059\u308b","author":"taki","date":"2019\u5e7411\u670822\u65e5","format":false,"excerpt":"\u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089 https:\/\/github.com\/takishita2nd\/hotel-mn\u2026","rel":"","context":"\u6280\u8853","block_context":{"text":"\u6280\u8853","link":"https:\/\/taki-lab.site\/bocci\/?cat=3"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-22-11-26-23.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/1702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1702"}],"version-history":[{"count":2,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/1702\/revisions"}],"predecessor-version":[{"id":1705,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/1702\/revisions\/1705"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}