{"id":4240,"date":"2020-07-14T14:21:34","date_gmt":"2020-07-14T05:21:34","guid":{"rendered":"https:\/\/deha.co.jp\/magazine\/?p=4240"},"modified":"2024-07-09T10:10:39","modified_gmt":"2024-07-09T01:10:39","slug":"introducing-laravel-repository","status":"publish","type":"post","link":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/","title":{"rendered":"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011"},"content":{"rendered":"\n<p>PHP\u306e\u4eba\u6c17\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<a href=\"https:\/\/deha.co.jp\/magazine\/laravel-development-choice\/\">Laravel<\/a>\u3092\u6d3b\u7528\u3059\u308b\u3068\u77ed\u671f\u9593\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e<a href=\"https:\/\/deha.co.jp\/magazine\/laravel-development-choice\/\">Laravel<\/a>\u3067\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001<strong>\u30c1\u30fc\u30e0\u3067\u30bd\u30fc\u30b9\u306e\u958b\u767a\u30fb\u4fdd\u5b88\u304c\u3057\u3084\u3059\u304f\u306a\u3063\u305f\u308a\u3001\u30c7\u30fc\u30bf\u306e\u69cb\u7bc9\u306a\u3069\u3067\u5909\u66f4\u304c\u751f\u3058\u308b\u5834\u5408\u306b\u30bd\u30fc\u30b9\u306e\u5909\u66f4\u304c\u3057\u3084\u3059\u3044\u306a\u3069\u3068\u8a00\u3063\u305f\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u305d\u3093\u306a\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u3001\u3069\u3046\u8a00\u3063\u305f\u3082\u306e\u306a\u306e\u304b\u30fb\u3069\u306e\u3088\u3046\u306b\u5b9f\u88c5\u3059\u308b\u306e\u304b\u3092\u5fb9\u5e95\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul>\n<li><strong>Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9<\/strong><\/li>\n\n\n\n<li><strong>Laravel\u306b\u8208\u5473\u304c\u3042\u308b\u65b9<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u3089\u306b\u5f53\u3066\u306f\u307e\u308b\u65b9\u306b\u304a\u3059\u3059\u3081\u306e\u8a18\u4e8b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u8aad\u3081\u3070Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u3001\u3069\u306e\u3088\u3046\u306b\u6d3b\u7528\u3057\u3066\u3044\u3051\u3070\u3044\u3044\u304b\u304c\u308f\u304b\u308a\u307e\u3059\u3088\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3068\u306f<\/h2>\n\n\n\n<p>\u3053\u308c\u306f\u9ad8\u5ea6\u306a\u30c7\u30b6\u30a4\u30f3\u30d1\u30fc\u30bf\u30f3\u3067\u3059\u306e\u3067\u521d\u5fc3\u8005\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u3055\u3093\u306f\u3042\u307e\u308a\u6c17\u306b\u3057\u306a\u3044\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u304c\u3001IT\u4f1a\u793e\u3067\u52e4\u52d9\u7d4c\u9a13\u306e\u3042\u308b\u30a4\u30f3\u30bf\u30fc\u30f3\u30b7\u30c3\u30d7\u306f\u5fc5\u305a\u30c8\u30ec\u30fc\u30ca\u30fc\u304b\u3089\u6559\u3048\u3066\u3082\u3089\u3063\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br><br>Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306f.NET\u3001Java\u3001 PHP\u7b49\u591a\u304f\u306e\u8a00\u8a9e\u30fb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3063\u3066\u304a\u308a\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3001\u30b5\u30fc\u30d3\u30b9\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u307e\u3067\u5e45\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.42.46-1024x408.png\" alt=\"\" class=\"wp-image-4243\" width=\"768\" height=\"306\" srcset=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.42.46-1024x408.png 1024w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.42.46-300x119.png 300w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.42.46-768x306.png 768w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.42.46-585x233.png 585w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.42.46.png 760w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306fBusiness Logic\u3068Data Source\u306e\u4e2d\u9593\u30af\u30e9\u30b9\u306b\u3042\u308b\u3082\u306e\u3067\u3059\u3002\u3053\u306e\u4e2d\u9593\u30af\u30e9\u30b9\u306b\u3042\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306fRepository\u3068\u547c\u3070\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001 Business Logic\u3068Data Source \u3092\u304a\u4e92\u3044\u306b\u547c\u3073\u51fa\u3057\u5408\u3046\u305f\u3081\u306b\u3001Interface\u7d4c\u7531\u3067\u5b9f\u65bd\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u3063\u3066\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u30c7\u30fc\u30bf\u3092\u6a19\u6e96\u5316\u3055\u305b\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u3068\u30c7\u30fc\u30bf\u30fc\u30a2\u30af\u30bb\u30b9\u30ed\u30b8\u30c3\u30af\u3092\u5206\u3051\u3066\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u3082\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306e\u51e6\u7406\u306b\u95a2\u4fc2\u306a\u304f\u3001\u7570\u306a\u308b\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\uff08\u305d\u306e\u9006\u3082\u540c\u3058\u3067\u3059\uff09\u3002\u3053\u306e\u5206\u5272\u51e6\u7406\u306e\u76ee\u7684\u306f\u305d\u308c\u305e\u308c\u306e\u30d1\u30fc\u30c4\u3092\u81ea\u5df1\u5206\u62c5\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<strong>\u3053\u3046\u3059\u308b\u4e8b\u3067\u30bd\u30fc\u30b9\u306e\u69cb\u7bc9\u304c\u7dba\u9e97\u306b\u306a\u308a\u3001\u4fdd\u5b88\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306e\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<ul>\n<li>\u30c1\u30fc\u30e0\u3067\u30bd\u30fc\u30b9\u306e\u958b\u767a\u30fb\u4fdd\u5b88\u304c\u3057\u6613\u3044<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u306e\u69cb\u7bc9\u3001\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u306b\u5909\u66f4\u304c\u767a\u751f\u3059\u308b\u5834\u5408\u3001\u30bd\u30fc\u30b9\u306e\u5909\u66f4\u304c\u5c11\u306a\u304f\u6e08\u3080<\/li>\n\n\n\n<li>\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u3068\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3092\u5206\u3051\u3066\u3001\u30c6\u30b9\u30c8\u3059\u308b\u4e8b\u304c\u3067\u304d\u308b<\/li>\n\n\n\n<li>\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u306e\u30c7\u30fc\u30bf\u306e\u6a19\u6e96\u5316<\/li>\n\n\n\n<li>\u30bd\u30fc\u30b9\u306e\u91cd\u8907\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u308b (DRY \u2013 Don\u2019t Repeat Yourself).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306e\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<ul>\n<li>\u958b\u767a\u6642\u3001\u30bd\u30fc\u30b9\u306e\u884c\u304c\u591a\u53e3\u306a\u308b\u3002\u5206\u3051\u3066Repository\u306b\u5165\u308c\u3066\u4f7f\u3044\u56de\u3059\u4e8b\u3092\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<\/li>\n\n\n\n<li>\u5c0f\u898f\u6a21\u306e\u6848\u4ef6\u306f\u5c0e\u5165\u3057\u306a\u304f\u3066\u3082\u826f\u3044<\/li>\n\n\n\n<li>\u30df\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u306e\u4e0a\u6607\u306b\u4f34\u3044\u3001Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u30df\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u306e\u305d\u308c\u305e\u308c\u306e\u7b87\u6240\u306b\u5165\u308c\u308b\u3068\u7121\u99c4\u306b\u306a\u308a\u3001\u7d4c\u8cbb\u3082\u304b\u304b\u308b<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Laravel\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3<\/h2>\n\n\n\n<p><a href=\"https:\/\/deha.co.jp\/magazine\/php-framework-laravel\/\">Laravel<\/a>\u3067\u306f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u30e2\u30c7\u30eb\u3068\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u9593\u306e\u300c\u30d6\u30ea\u30c3\u30b8\u300d\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u30c7\u30fc\u30bf\u30af\u30a8\u30ea\u306e\u51e6\u7406\u5834\u6240\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u30af\u30a8\u30ea\u306f\u3001\u30b3\u30f3\u30ed\u30fc\u30e9\u30fc\u3067\u5b9f\u88c5\u3059\u308b\u4ee3\u308f\u308a\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5165\u308c\u3089\u308c\u307e\u3059\u3002\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306f\u3001\u30e2\u30c7\u30eb\u3092\u76f4\u63a5\u547c\u3073\u51fa\u3059\u306e\u3067\u306f\u306a\u304f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4ecb\u3057\u3066\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u30fb\u64cd\u4f5c\u3057\u307e\u3059\u3002 \u30af\u30a8\u30ea\u306e\u5b9f\u884c\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306b\u96a0\u3055\u308c\u307e\u3059\u3002\uff08\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u81ea\u4f53\u306f\u6c17\u306b\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u6b63\u3057\u304f\u3068\u5341\u5206\u306a\u30c7\u30fc\u30bf\u304c\u8fd4\u305b\u3089\u308c\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\uff09<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u306e\u51e6\u7406\u306f\u3069\u3046\u3059\u308b\u306e\uff1f<\/h2>\n\n\n\n<p>\u5b9f\u969b\u306b\u3001\u30c7\u30fc\u30bf\u306e\u7c21\u5358\u306aGet\u51e6\u7406\u3067\u3042\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4ecb\u3057\u3066\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3067\u76f4\u63a5\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8907\u96d1\u306a\u30d3\u30b8\u30cd\u30b9\u306e\u5834\u5408\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u9593\u306bService\u5c64\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304c\u30ed\u30b8\u30c3\u30af\u51e6\u7406\u3092Service\u5c64\u306b\u8ee2\u9001\u3059\u308b\u3053\u3068\u306e\u307f\u3092\u62c5\u5f53\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u3001Service\u5c64\u306f\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u304c\u5b9f\u88c5\u3055\u308c\u3001\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306b\u66f4\u65b0\u3055\u308c\u308b\u5834\u6240\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/h2>\n\n\n\n<p>\u30b7\u30b9\u30c6\u30e0\u306e\u307b\u3068\u3093\u3069\u306f\u30e6\u30fc\u30b6\u30fc\u30e2\u30c7\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u4f8b\u3068\u3057\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u3001UserModel\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"367\" src=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.23-1024x367.png\" alt=\"\" class=\"wp-image-4244\" srcset=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.23-1024x367.png 1024w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.23-300x107.png 300w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.23-768x275.png 768w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.23-1536x550.png 1536w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.23-1170x419.png 1170w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.23-585x209.png 585w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.23.png 760w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u6b21\u306fUserController\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"604\" src=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.44-1024x604.png\" alt=\"\" class=\"wp-image-4246\" srcset=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.44-1024x604.png 1024w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.44-300x177.png 300w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.44-768x453.png 768w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.44-1536x905.png 1536w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.44-1170x690.png 1170w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.44-585x345.png 585w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.53.44.png 724w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>UserController\u3067\u306f\u3001\u30c7\u30fc\u30bf\u3092\u7167\u4f1a\u3059\u308b\u305f\u3081\u306bUser\u304c\u76f4\u63a5\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002 \u30e6\u30fc\u30b6\u30fc\u304c\u30c7\u30fc\u30bf\u306e\u30af\u30a8\u30ea\u65b9\u6cd5\u3092\u5909\u66f4\u3059\u308b\u307e\u3067\u3001\u3059\u3079\u3066\u304c\u9806\u8abf\u306b\u9032\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30e6\u30fc\u30b6\u30fc\u306fuser_code\u3067\u30bd\u30fc\u30c8\u3055\u308c\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u8a73\u7d30\u30da\u30fc\u30b8\u306fid\u3067\u306f\u306a\u304fuser_code\u3067\u30af\u30a8\u30ea\u3055\u308c\u307e\u3059\u3002\u304a\u5ba2\u69d8\u306e\u8981\u4ef6\u306b\u5408\u308f\u305b\u3066\u30c7\u30fc\u30bf\u3092\u7167\u4f1a\u3059\u308b\u3088\u3046\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u66f4\u65b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u975e\u5e38\u306b\u5371\u967a\u3067\u7121\u99c4\u306a\u64cd\u4f5c\u3067\u3059\u3002 UserController\u304c\u3053\u306e\u3088\u3046\u306a\u64cd\u4f5c\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u4ed6\u306e\u591a\u304f\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u3082\u540c\u3058\u3053\u3068\u3092\u884c\u3046\u3053\u3068\u3092\u60f3\u50cf\u3057\u3066\u304f\u3060\u3055\u3044\u3002<strong> \u975e\u5e38\u306b\u591a\u304f\u306e\u5834\u6240\u306e\u30b3\u30fc\u30c9\u3092\u66f4\u65b0\u3059\u308b\u3068\u3001\u898b\u9003\u3057\u305f\u308a\u3001\u8aa4\u52d5\u4f5c\u3057\u305f\u308a\u3059\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u4ee5\u4e0b\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u304d\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.12-1-1024x567.png\" alt=\"\" class=\"wp-image-4247\" srcset=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.12-1-1024x567.png 1024w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.12-1-300x166.png 300w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.12-1-768x425.png 768w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.12-1-1536x850.png 1536w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.12-1-1170x647.png 1170w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.12-1-585x324.png 585w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.12-1.png 760w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u66f4\u65b0\u3057\u307e\u3059<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"867\" src=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.40-1024x867.png\" alt=\"\" class=\"wp-image-4248\" srcset=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.40-1024x867.png 1024w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.40-300x254.png 300w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.40-768x650.png 768w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.40-1536x1301.png 1536w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.40-1170x991.png 1170w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.40-585x495.png 585w, https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.54.40.png 504w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u3057\u305f\u304c\u3063\u3066\u3001\u4eca\u5f8c\u3001\u30ed\u30b8\u30c3\u30af\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u304d\u306f\u3044\u3064\u3067\u3082\u3001\u305d\u308c\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u304b\u3002\u672c\u65e5\u306f<a href=\"https:\/\/deha.co.jp\/magazine\/php-framework-laravel\/\">Laravel<\/a>\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306f\u30c1\u30fc\u30e0\u3067\u30bd\u30fc\u30b9\u306e\u958b\u767a\u30fb\u4fdd\u5b88\u304c\u3057\u6613\u304f\u3001\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u306b\u3082\u5f37\u307f\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305c\u3072\u958b\u767a\u306b\u5f79\u7acb\u3066\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u672c\u65e5\u7d39\u4ecb\u3057\u305f\u3088\u3046\u306aLaravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3092\u5916\u6ce8\u3059\u308b\u306e\u3082\u304a\u3059\u3059\u3081\u3067\u3059\u3002 deha\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u30ba\u3067\u306f<a href=\"https:\/\/deha.co.jp\/magazine\/why-vietnams\/\">\u30aa\u30d5\u30b7\u30e7\u30a2\u958b\u767a<\/a>\u306b\u3088\u3063\u3066\u4f4e\u30b3\u30b9\u30c8\u3067\u8fc5\u901f\u306a\u958b\u767a\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>Laravel\u306b\u95a2\u3057\u3066\u8a73\u3057\u304f\u304a\u8a71\u3092\u805e\u304d\u305f\u3044\u65b9\u3001\u958b\u767a\u76f8\u8ac7\u3084\u7121\u6599\u304a\u898b\u7a4d\u308a\u3092\u3057\u305f\u3044\u65b9\u306f<a href=\"https:\/\/deha.co.jp\/contact\/\">\u3053\u3061\u3089<\/a>\u304b\u3089\u3054\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u25bc deha\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3078\u306e\u7c21\u5358\u898b\u7a4d\u3082\u308a\u306e\u4f9d\u983c\u306f<a href=\"https:\/\/deha.co.jp\/contact\/\">\u3053\u3061\u3089<\/a><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Laravel\u30b7\u30ea\u30fc\u30ba<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/deha.co.jp\/magazine\/laravel-php-mvc\/\">\u3010Laravel\u5165\u9580\u8005\u5411\u3051\u3011Laravel6\u7cfb+PHP7.4\u3067MVC\u306e\u6d41\u308c\u3092\u30b5\u30af\u30c3\u3068\u8a66\u3059 (Mac\u7de8)<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/deha.co.jp\/magazine\/admin-laravel-nuxt-setup\/\">Laravel\uff08API\uff09\u3068Nuxt.js\u306e\u9023\u643a\u3092\u884c\u3046\u3010Laravel6+Nuxt.js\u3067\u4f5c\u308b\u7ba1\u7406\u753b\u9762\u3011<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/deha.co.jp\/magazine\/admin-laravel-nuxt-cookie-auth\/\">Cookie\u306b\u3088\u308bAPI\u7d4c\u7531\u306e\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c\u6a5f\u80fd\u3092\u4f5c\u308b\u3010Laravel6\u3068Nuxt.js\u3067\u4f5c\u308b\u7ba1\u7406\u753b\u9762\u3011<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/deha.co.jp\/magazine\/admin-laravel-nuxt-crud\/\">Nuxt.js+Vuetify\u3068Laravel\u3067CRUD\u6a5f\u80fd\u3092\u4f5c\u308b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u306e\u4eba\u6c17\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30afLaravel\u3092\u6d3b\u7528\u3059\u308b\u3068\u77ed\u671f\u9593\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u305d\u306eLaravel\u3067\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30c1\u30fc\u30e0\u3067\u30bd\u30fc\u30b9\u306e\u958b\u767a\u30fb\u4fdd\u5b88\u304c\u3057\u3084\u3059\u304f\u306a\u3063\u305f\u308a\u3001\u30c7\u30fc\u30bf\u306e\u69cb\u7bc9\u306a\u3069\u3067\u5909\u66f4\u304c\u751f\u3058\u308b\u5834\u5408\u306b\u30bd\u30fc\u30b9\u306e\u5909\u66f4\u304c\u3057\u3084\u3059\u3044\u306a\u3069\u3068\u8a00\u3063\u305f\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u305d\u3093\u306a\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u3001\u3069\u3046\u8a00\u3063\u305f\u3082\u306e\u306a\u306e\u304b\u30fb\u3069\u306e\u3088\u3046\u306b\u5b9f\u88c5\u3059\u308b\u306e\u304b\u3092\u5fb9\u5e95\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \u3053\u308c\u3089\u306b\u5f53\u3066\u306f\u307e\u308b\u65b9\u306b\u304a\u3059\u3059\u3081\u306e\u8a18\u4e8b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u8aad\u3081\u3070Repository\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u3001\u3069\u306e\u3088\u3046\u306b\u6d3b\u7528\u3057\u3066\u3044\u3051\u3070\u3044\u3044\u304b\u304c\u308f\u304b\u308a\u307e\u3059\u3088\u3002<\/p>\n","protected":false},"author":3,"featured_media":4242,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[436,19],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011 - DEHA Magazine<\/title>\n<meta name=\"description\" content=\"Repository\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62bd\u8c61\u5316\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u6027\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Laravel\u306b\u304a\u3051\u308bRepository\u30d1\u30bf\u30fc\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011 - DEHA Magazine\" \/>\n<meta property=\"og:description\" content=\"Repository\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62bd\u8c61\u5316\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u6027\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Laravel\u306b\u304a\u3051\u308bRepository\u30d1\u30bf\u30fc\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/\" \/>\n<meta property=\"og:site_name\" content=\"DEHA Magazine\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-14T05:21:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-09T01:10:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.56.56.png\" \/>\n\t<meta property=\"og:image:width\" content=\"760\" \/>\n\t<meta property=\"og:image:height\" content=\"427\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Van Nguyen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Van Nguyen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/\"},\"author\":{\"name\":\"Van Nguyen\",\"@id\":\"https:\/\/deha.co.jp\/magazine\/#\/schema\/person\/7bbb5babdce37e3a3a196346d24bf629\"},\"headline\":\"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011\",\"datePublished\":\"2020-07-14T05:21:34+00:00\",\"dateModified\":\"2024-07-09T01:10:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/\"},\"wordCount\":80,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/deha.co.jp\/magazine\/#organization\"},\"articleSection\":[\"Laravel\",\"\u30b7\u30b9\u30c6\u30e0\u958b\u767a\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/\",\"url\":\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/\",\"name\":\"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011 - DEHA Magazine\",\"isPartOf\":{\"@id\":\"https:\/\/deha.co.jp\/magazine\/#website\"},\"datePublished\":\"2020-07-14T05:21:34+00:00\",\"dateModified\":\"2024-07-09T01:10:39+00:00\",\"description\":\"Repository\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62bd\u8c61\u5316\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u6027\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Laravel\u306b\u304a\u3051\u308bRepository\u30d1\u30bf\u30fc\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/deha.co.jp\/magazine\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/deha.co.jp\/magazine\/#website\",\"url\":\"https:\/\/deha.co.jp\/magazine\/\",\"name\":\"DEHA Magazine\",\"description\":\"DEHA\u304c\u304a\u5c4a\u3051\u3059\u308b\u30aa\u30d5\u30b7\u30e7\u30a2\u958b\u767a\u60c5\u5831\u30e1\u30c7\u30a3\u30a2\",\"publisher\":{\"@id\":\"https:\/\/deha.co.jp\/magazine\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/deha.co.jp\/magazine\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/deha.co.jp\/magazine\/#organization\",\"name\":\"Deha Magazine\",\"url\":\"https:\/\/deha.co.jp\/magazine\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/deha.co.jp\/magazine\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2025\/06\/DEHA-Solutions-Site-icon.png\",\"contentUrl\":\"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2025\/06\/DEHA-Solutions-Site-icon.png\",\"width\":780,\"height\":780,\"caption\":\"Deha Magazine\"},\"image\":{\"@id\":\"https:\/\/deha.co.jp\/magazine\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/deha.co.jp\/magazine\/#\/schema\/person\/7bbb5babdce37e3a3a196346d24bf629\",\"name\":\"Van Nguyen\",\"url\":\"https:\/\/deha.co.jp\/magazine\/author\/vannguyen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011 - DEHA Magazine","description":"Repository\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62bd\u8c61\u5316\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u6027\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Laravel\u306b\u304a\u3051\u308bRepository\u30d1\u30bf\u30fc\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002","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:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/","og_locale":"en_US","og_type":"article","og_title":"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011 - DEHA Magazine","og_description":"Repository\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62bd\u8c61\u5316\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u6027\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Laravel\u306b\u304a\u3051\u308bRepository\u30d1\u30bf\u30fc\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002","og_url":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/","og_site_name":"DEHA Magazine","article_published_time":"2020-07-14T05:21:34+00:00","article_modified_time":"2024-07-09T01:10:39+00:00","og_image":[{"width":760,"height":427,"url":"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2020\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-07-14-13.56.56.png","type":"image\/png"}],"author":"Van Nguyen","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Van Nguyen","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/#article","isPartOf":{"@id":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/"},"author":{"name":"Van Nguyen","@id":"https:\/\/deha.co.jp\/magazine\/#\/schema\/person\/7bbb5babdce37e3a3a196346d24bf629"},"headline":"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011","datePublished":"2020-07-14T05:21:34+00:00","dateModified":"2024-07-09T01:10:39+00:00","mainEntityOfPage":{"@id":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/"},"wordCount":80,"commentCount":0,"publisher":{"@id":"https:\/\/deha.co.jp\/magazine\/#organization"},"articleSection":["Laravel","\u30b7\u30b9\u30c6\u30e0\u958b\u767a"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/","url":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/","name":"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011 - DEHA Magazine","isPartOf":{"@id":"https:\/\/deha.co.jp\/magazine\/#website"},"datePublished":"2020-07-14T05:21:34+00:00","dateModified":"2024-07-09T01:10:39+00:00","description":"Repository\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62bd\u8c61\u5316\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u6027\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Laravel\u306b\u304a\u3051\u308bRepository\u30d1\u30bf\u30fc\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/deha.co.jp\/magazine\/introducing-laravel-repository\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/deha.co.jp\/magazine\/"},{"@type":"ListItem","position":2,"name":"\u3010\u62e1\u5f35\u6027\u30fb\u4fdd\u5b88\u6027\u30d0\u30c4\u30b0\u30f3\u3011Laravel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30d1\u30bf\u30fc\u30f3\u3068\u306f\u3010Repository\u3011"}]},{"@type":"WebSite","@id":"https:\/\/deha.co.jp\/magazine\/#website","url":"https:\/\/deha.co.jp\/magazine\/","name":"DEHA Magazine","description":"DEHA\u304c\u304a\u5c4a\u3051\u3059\u308b\u30aa\u30d5\u30b7\u30e7\u30a2\u958b\u767a\u60c5\u5831\u30e1\u30c7\u30a3\u30a2","publisher":{"@id":"https:\/\/deha.co.jp\/magazine\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/deha.co.jp\/magazine\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/deha.co.jp\/magazine\/#organization","name":"Deha Magazine","url":"https:\/\/deha.co.jp\/magazine\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/deha.co.jp\/magazine\/#\/schema\/logo\/image\/","url":"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2025\/06\/DEHA-Solutions-Site-icon.png","contentUrl":"https:\/\/deha.co.jp\/magazine\/wp-content\/uploads\/2025\/06\/DEHA-Solutions-Site-icon.png","width":780,"height":780,"caption":"Deha Magazine"},"image":{"@id":"https:\/\/deha.co.jp\/magazine\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/deha.co.jp\/magazine\/#\/schema\/person\/7bbb5babdce37e3a3a196346d24bf629","name":"Van Nguyen","url":"https:\/\/deha.co.jp\/magazine\/author\/vannguyen\/"}]}},"_links":{"self":[{"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/posts\/4240"}],"collection":[{"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/comments?post=4240"}],"version-history":[{"count":8,"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/posts\/4240\/revisions"}],"predecessor-version":[{"id":7668,"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/posts\/4240\/revisions\/7668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/media\/4242"}],"wp:attachment":[{"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/media?parent=4240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/categories?post=4240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deha.co.jp\/magazine\/wp-json\/wp\/v2\/tags?post=4240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}