{"id":2108,"date":"2020-01-10T08:47:23","date_gmt":"2020-01-09T23:47:23","guid":{"rendered":"http:\/\/taki-lab.site\/bocci\/?p=2108"},"modified":"2020-01-10T08:47:23","modified_gmt":"2020-01-09T23:47:23","slug":"%e3%80%90laravel%e3%80%91%e3%80%90%e3%83%9b%e3%83%86%e3%83%ab%e4%ba%88%e7%b4%84%e7%ae%a1%e7%90%86%e3%80%91%e3%83%a6%e3%83%bc%e3%82%b6%e3%83%bc%e3%82%a2%e3%82%ab%e3%82%a6%e3%83%b3%e3%83%88%e3%81%a7","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=2108","title":{"rendered":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u4e88\u7d04\u767b\u9332"},"content":{"rendered":"\n<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-\u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"WXNYt76QMV\"><a href=\"https:\/\/taki-lab.site\/bocci\/?p=2105\">\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u542b\u3081\u308b<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u542b\u3081\u308b&#8221; &#8212; \u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\" src=\"https:\/\/taki-lab.site\/bocci\/?p=2105&#038;embed=true#?secret=RfJLJdMi3l#?secret=WXNYt76QMV\" data-secret=\"WXNYt76QMV\" width=\"474\" height=\"267\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089(gitHub)<\/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>\u4eca\u56de\u306f\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u72b6\u614b\u3067\u4e88\u7d04\u767b\u9332\u3059\u308b\u5834\u5408\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e88\u7d04\u767b\u9332\u753b\u9762\u3002<\/p>\n\n\n\n<p>\u4eca\u307e\u3067\u306f\u5bbf\u6cca\u8005\u306e\u60c5\u5831\u3092\u5165\u529b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306e\u4ed5\u69d8\u5909\u66f4\u3067\u3001\u73fe\u5728\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u60c5\u5831\u3092\u8868\u793a\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>                &lt;table class=\"edit\">\n                    &lt;tr>\n                        &lt;th>\u540d\u524d&lt;\/th>\n                        &lt;td>{!! $user->name !!}&lt;\/td>\n                    &lt;\/tr>\n                    &lt;tr>\n                        &lt;th>\u4f4f\u6240&lt;\/th>\n                        &lt;td>{!! $user->address !!}&lt;\/td>\n                    &lt;\/tr>\n                    &lt;tr>\n                        &lt;th>\u96fb\u8a71\u756a\u53f7&lt;\/th>\n                        &lt;td>{!! $user->phone !!}&lt;\/td>\n                    &lt;\/tr>\n                    &lt;tr>\n                        &lt;th>\u4eba\u6570&lt;\/th>\n                        &lt;td>{!! Form::select('num', &#91;'1' => 1, '2' => 2]) !!}&lt;\/td>\n                    &lt;\/tr>\n                    &lt;tr>\n                        &lt;th>\u5bbf\u6cca\u90e8\u5c4b&lt;\/th>\n                        &lt;td>{!! Form::select('room', $rooms) !!}&lt;\/td>\n                    &lt;\/tr>\n                    &lt;tr>\n                        &lt;th>\u5bbf\u6cca\u65e5\u6570&lt;\/th>\n                        &lt;td>{!! Form::number('days', 1) !!}&lt;\/td>\n                    &lt;\/tr>\n                    &lt;tr>\n                        &lt;th>\u5bbf\u6cca\u65e5&lt;\/th>\n                        &lt;td>{!! Form::date('start_day', \\Carbon\\Carbon::now()) !!}&lt;\/td>\n                    &lt;\/tr>\n                    &lt;tr>\n                        &lt;th>\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8&lt;\/th>\n                        &lt;td>{!! Form::select('checkout', $timelist) !!}&lt;\/td>\n                    &lt;\/tr>\n                &lt;\/table>\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>    \/**\n     * \u5165\u529b\u30d5\u30a9\u30fc\u30e0\n     *\n     * @return \\Illuminate\\Http\\Response\n     *\/\n    public function create()\n    {\n        return view('register.create',\n                    &#91;\n                        'user' => Auth::user(),\n                        'rooms' => $this->roomRepository->getRoomList(),\n                        'timelist' => $this->registerManagement->getTimeList()\n                    ]\n                );\n    }\n<\/code><\/pre>\n\n\n\n<p>\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u306fAuth::user()\u3067\u7c21\u5358\u306b\u53d6\u308a\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\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=\"240\" data-attachment-id=\"2109\" data-permalink=\"https:\/\/taki-lab.site\/bocci\/?attachment_id=2109\" data-orig-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-30.png?fit=752%2C381&amp;ssl=1\" data-orig-size=\"752,381\" 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-2020-01-10-08-28-30\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-30.png?fit=474%2C240&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-30.png?resize=474%2C240\" alt=\"\" class=\"wp-image-2109\" srcset=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-30.png?w=752&amp;ssl=1 752w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-30.png?resize=300%2C152&amp;ssl=1 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n\n\n\n<p>\u4e88\u7d04\u767b\u9332\u51e6\u7406\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u3001\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30eb\u30fc\u30eb\u3092\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    public function rules()\n    {\n        return &#91;\n            'num' => 'required|numeric|digits_between:1,2',\n            'room' => 'required|numeric',\n            'days' => 'required|numeric|digits_between:1,4',\n            'start_day' => 'required|date',\n        ];\n    }\n<\/code><\/pre>\n\n\n\n<p>\u767b\u9332\u3059\u308b\u30c7\u30fc\u30bf\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class RemoveCalumnReserveManagementTable extends Migration\n{\n    \/**\n     * Run the migrations.\n     *\n     * @return void\n     *\/\n    public function up()\n    {\n        Schema::table('reserve_managements', function (Blueprint $table) {\n            $table->dropColumn('name');\n            $table->dropColumn('address');\n            $table->dropColumn('phone');\n        });\n    }\n\n    \/**\n     * Reverse the migrations.\n     *\n     * @return void\n     *\/\n    public function down()\n    {\n        Schema::table('reserve_managements', function (Blueprint $table) {\n            $table->string('name')->befor('num');\n            $table->string('address')->after('name');\n            $table->string('phone')->after('address');\n        });\n    }\n}\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>class AddReserveManagementUserTable extends Migration\n{\n    \/**\n     * Run the migrations.\n     *\n     * @return void\n     *\/\n    public function up()\n    {\n        Schema::create('reserve_management_user', function (Blueprint $table) {\n            $table->increments('id');\n            $table->integer('reserve_management_id')\n                  ->foreign('reserve_management_id')\n                  ->references('id')->on('reserve_managements')\n                  ->onDelete('cascade');\n            $table->integer('user_id')\n                  ->foreign('user_id')\n                  ->references('id')->on('users')\n                  ->onDelete('cascade');\n            $table->timestamps();\n            $table->engine = 'InnoDB';\n            $table->charset = 'utf8mb4';\n            $table->collation = 'utf8mb4_unicode_ci';\n        });\n    }\n\n    \/**\n     * Reverse the migrations.\n     *\n     * @return void\n     *\/\n    public function down()\n    {\n        Schema::dropIfExists('reserve_management_user');\n    }\n}\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>    private $paramNames = &#91;'num', 'days', 'start_day', 'lodging', 'checkout'];\n<\/code><\/pre>\n\n\n\n<p>\u4e88\u7d04\u30c7\u30fc\u30bf\u3068\u30e6\u30fc\u30b6\u30fc\u3092\u7d50\u3073\u3064\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u69cb\u6210\u306f\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1220\" height=\"693\" data-attachment-id=\"2110\" data-permalink=\"https:\/\/taki-lab.site\/bocci\/?attachment_id=2110\" data-orig-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/4f3dac00520011b007b923235b6d5bb0.jpg?fit=1220%2C693&amp;ssl=1\" data-orig-size=\"1220,693\" 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=\"4f3dac00520011b007b923235b6d5bb0\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/4f3dac00520011b007b923235b6d5bb0.jpg?fit=474%2C269&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/4f3dac00520011b007b923235b6d5bb0.jpg?fit=474%2C269\" alt=\"\" class=\"wp-image-2110\" srcset=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/4f3dac00520011b007b923235b6d5bb0.jpg?w=1220&amp;ssl=1 1220w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/4f3dac00520011b007b923235b6d5bb0.jpg?resize=300%2C170&amp;ssl=1 300w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/4f3dac00520011b007b923235b6d5bb0.jpg?resize=1024%2C582&amp;ssl=1 1024w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/4f3dac00520011b007b923235b6d5bb0.jpg?resize=768%2C436&amp;ssl=1 768w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/4f3dac00520011b007b923235b6d5bb0.jpg?w=948&amp;ssl=1 948w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    public function add($param, $room, $user)\n    {\n        $model = new ReserveManagement;\n        foreach($this->paramNames as $name)\n        {\n            $model->$name = $param&#91;$name];\n        }\n        $model->save();\n        $this->attachToRoom($model, $room);\n        $this->attachToSchedule($model);\n        $this->attachToUser($model, $user);\n    }\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>    public function attachToUser($model, $user)\n    {\n        $model->users()->attach($user);\n    }\n\n    public function detachToUser($model, $user)\n    {\n        $model->users()->detach($user);\n    }\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>    public function store(ManagementRequest $request)\n    {\n        if($this->registerManagement->checkSchedule($request->start_day, \n                                                    $request->days, \n                                                    $request->room) == false)\n        {\n            return redirect('management\/create')\n                        ->with(&#91;'error' => '\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u304c\u91cd\u8907\u3057\u307e\u3059'])\n                        ->withInput();\n        }\n        $param = $this->registerManagement->getParam();\n        $this->registerManagement->add(&#91;\n            $param&#91;0] => $request->num,\n            $param&#91;1] => $request->days,\n            $param&#91;2] => $request->start_day,\n            $param&#91;3] => false,\n            $param&#91;4] => date('Y-m-d H:i', strtotime($request->start_day.'+'.$request->days.' day') + $request->checkout)\n        ], $request->room, Auth::user());\n        return redirect('management');\n    }\n<\/code><\/pre>\n\n\n\n<p>\u6700\u5f8c\u306b\u3001\u767b\u9332\u3057\u305f\u60c5\u5831\u3092\u4e88\u7d04\u4e00\u89a7\u306b\u8868\u793a\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30e6\u30fc\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u3068\u304d\u306f\u3001\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u60c5\u5831\u304c\u898b\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    public function getList()\n    {\n        $select = &#91;'reserve_managements.id as id', 'num', 'rooms.id as roomid', 'rooms.name as room', 'days', 'checkout', 'start_day'];\n        return ReserveManagement::select($select)\n                                    ->where('lodging', false)\n                                    ->orderBy('start_day')\n                                    ->leftJoin('reserve_management_room', 'reserve_managements.id', '=', 'reserve_management_room.reserve_management_id')\n                                    ->leftJoin('rooms', 'reserve_management_room.room_id', '=', 'rooms.id')\n                                    ->get();\n    }\n\n    public function getListByMonth($year, $month, $room, $userId)\n    {\n        $select = &#91;'reserve_managements.id as id', 'users.name as name', 'users.address as address', 'users.phone as phone', 'num', 'rooms.id as roomid', 'rooms.name as room', 'days', 'checkout', 'start_day'];\n        return ReserveManagement::select($select)\n                                ->leftJoin('reserve_management_room', 'reserve_managements.id', '=', 'reserve_management_room.reserve_management_id')\n                                ->leftJoin('rooms', 'reserve_management_room.room_id', '=', 'rooms.id')\n                                ->leftJoin('reserve_management_user', 'reserve_managements.id', '=', 'reserve_management_user.reserve_management_id')\n                                ->leftJoin('users', 'reserve_management_user.user_id', '=', 'users.id')\n                                ->where('start_day', '>=', date('Y-m-d', strtotime('first day of '.$year.'-'.$month)))\n                                ->where('start_day', '&lt;=', date('Y-m-d', strtotime('last day of '.$year.'-'.$month)))\n                                ->where('reserve_management_room.room_id', $room)\n                                ->where('lodging', false)\n                                ->where('users.id', $userId)\n                                ->orderBy('start_day')\n                                ->get();\n    }\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>    public function registers(Request $request)\n    {\n        return response()->json(&#91;'registerLists' => $this->registerManagement->getListByMonth(\n            $request->year,\n            $request->month,\n            $request->room,\n            Auth::user()->id\n        )]);\n    }\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"138\" data-attachment-id=\"2111\" data-permalink=\"https:\/\/taki-lab.site\/bocci\/?attachment_id=2111\" data-orig-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-46.png?fit=758%2C220&amp;ssl=1\" data-orig-size=\"758,220\" 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-2020-01-10-08-28-46\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-46.png?fit=474%2C138&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-46.png?resize=474%2C138\" alt=\"\" class=\"wp-image-2111\" srcset=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-46.png?w=758&amp;ssl=1 758w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-46.png?resize=300%2C87&amp;ssl=1 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"251\" data-attachment-id=\"2112\" data-permalink=\"https:\/\/taki-lab.site\/bocci\/?attachment_id=2112\" data-orig-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-59.png?fit=511%2C271&amp;ssl=1\" data-orig-size=\"511,271\" 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-2020-01-10-08-28-59\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-59.png?fit=474%2C251&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-59.png?resize=474%2C251\" alt=\"\" class=\"wp-image-2112\" srcset=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-59.png?w=511&amp;ssl=1 511w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-10-08-28-59.png?resize=300%2C159&amp;ssl=1 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n\n\n\n<p>\u307e\u3060\u5341\u5206\u3067\u306f\u306a\u3044\u3051\u308c\u3069\u3001\u305d\u3053\u305d\u3053\u5f62\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<a href=\"\/\/blog.with2.net\/link\/?2023426:1010\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/03a6eee54039f74ded0b8f7548b1868f.png?w=474\" title=\"\u30d1\u30bd\u30b3\u30f3\u30e9\u30f3\u30ad\u30f3\u30b0\"><\/a>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 \u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089(gitHub) https:\/\/github.com\/takishita2nd\/hotel-mng \u4eca\u56de\u306f\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u72b6\u614b\u3067\u4e88\u7d04\u767b\u9332\u3059\u308b\u5834\u5408\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e &hellip; <a href=\"https:\/\/taki-lab.site\/bocci\/?p=2108\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u4e88\u7d04\u767b\u9332<\/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_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":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u4e88\u7d04\u767b\u9332\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},"jetpack_post_was_ever_published":false},"categories":[167,8,3],"tags":[138,79],"class_list":["post-2108","post","type-post","status-publish","format-standard","hentry","category-laravel","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-y0","jetpack-related-posts":[{"id":2119,"url":"https:\/\/taki-lab.site\/bocci\/?p=2119","url_meta":{"origin":2108,"position":0},"title":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u60c5\u5831\u3092\u5909\u66f4\u3001\u524a\u9664\u3059\u308b","author":"taki","date":"2020\u5e741\u670813\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 https:\/\/taki-lab.site\/bocci\/?p=2108 \u6700\u65b0\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\/01\/Screenshot-from-2020-01-13-08-52-52.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-13-08-52-52.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-13-08-52-52.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2145,"url":"https:\/\/taki-lab.site\/bocci\/?p=2145","url_meta":{"origin":2108,"position":1},"title":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u7ba1\u7406\u8005\u753b\u9762\u306e\u4fee\u6b63","author":"taki","date":"2020\u5e741\u670815\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 https:\/\/taki-lab.site\/bocci\/?p=2108#co\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\/01\/Screenshot-from-2020-01-15-11-56-01.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-15-11-56-01.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-15-11-56-01.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-15-11-56-01.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1656,"url":"https:\/\/taki-lab.site\/bocci\/?p=1656","url_meta":{"origin":2108,"position":2},"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":2099,"url":"https:\/\/taki-lab.site\/bocci\/?p=2099","url_meta":{"origin":2108,"position":3},"title":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u7ba1\u7406\u3092\u884c\u3046","author":"taki","date":"2020\u5e741\u67088\u65e5","format":false,"excerpt":"\u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089(gitHub) https:\/\/github.com\/takishita2nd\/\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\/01\/Screenshot-from-2020-01-08-09-06-37.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-08-09-06-37.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-08-09-06-37.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-08-09-06-37.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2105,"url":"https:\/\/taki-lab.site\/bocci\/?p=2105","url_meta":{"origin":2108,"position":4},"title":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u542b\u3081\u308b","author":"taki","date":"2020\u5e741\u67089\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 https:\/\/taki-lab.site\/bocci\/?p=2099 \u6700\u65b0\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\/01\/Screenshot-from-2020-01-09-10-05-14.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-09-10-05-14.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-09-10-05-14.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-09-10-05-14.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1722,"url":"https:\/\/taki-lab.site\/bocci\/?p=1722","url_meta":{"origin":2108,"position":5},"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":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2108","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=2108"}],"version-history":[{"count":1,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2108\/revisions"}],"predecessor-version":[{"id":2113,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2108\/revisions\/2113"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}