{"id":6053,"date":"2020-03-06T18:44:33","date_gmt":"2020-03-06T09:44:33","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=6053"},"modified":"2020-03-07T07:56:30","modified_gmt":"2020-03-06T22:56:30","slug":"laravel-7-x%e3%81%ae%e6%96%b0%e3%81%97%e3%81%84%e3%82%ad%e3%83%a3%e3%82%b9%e3%83%88%ef%bc%88%e3%83%87%e3%83%bc%e3%82%bf%e5%a4%89%e6%8f%9b%ef%bc%89%e6%a9%9f%e8%83%bd%ef%bc%81%e5%ae%9f%e4%be%8b","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=6053","title":{"rendered":"Laravel 7.x\u306e\u65b0\u3057\u3044\u30ad\u30e3\u30b9\u30c8\uff08\u30c7\u30fc\u30bf\u5909\u63db\uff09\u6a5f\u80fd\uff01\u5b9f\u4f8b"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u524d\u56de\u306f<code>Laravel 7.x<\/code>\u306e\u65b0\u6a5f\u80fd\u306e<a href=\"https:\/\/blog.capilano-fw.com\/?p=6033\">HTTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u8a71\u984c<\/a>\u3092\u304a\u5c4a\u3051\u3057\u307e\u3057\u305f\u304c\u3044\u304b\u304c\u3060\u3063\u305f\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3055\u3066\u3001\u4eca\u56de\u306f\u5f15\u304d\u7d9a\u304d<code>Laravel 7.x<\/code>\u306e\u65b0\u3057\u3044\u6a5f\u80fd\u7d39\u4ecb\u3010\u7b2c\uff14\u5f3e\u3011\u3068\u3057\u3066\u3001<\/p>\n<p><strong style=\"font-size: 35px;\">\u65b0\u3057\u3044\u30ad\u30e3\u30b9\u30c8\uff08\u30c7\u30fc\u30bf\u5909\u63db\uff09\u6a5f\u80fd<\/strong><\/p>\n<p>\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u300c\u30ad\u30e3\u30b9\u30c8\u6a5f\u80fd\u300d\u3068\u306f\u3001\u4f8b\u3048\u3070<code>posts<\/code>\u3068\u3044\u3046\u30c6\u30fc\u30d6\u30eb\u306b<code>verified_at<\/code>\uff08\u627f\u8a8d\u3055\u308c\u305f\u65e5\u6642\uff09\u3068\u3044\u3046\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u3001<code>verified_at<\/code>\u306f\u305d\u306e\u307e\u307e\u3060\u3068\u300c<strong>2020-01-31 08:26:16<\/strong>\u300d\u3068\u3044\u3046\u3088\u3046\u306a\u6587\u5b57\u5217\u3068\u3057\u3066\u53d6\u5f97\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u6bce\u56de\u3053\u306e\u6587\u5b57\u5217\u3092<code>new Carbon()<\/code>\u306a\u3069\u3067\u30c7\u30fc\u30bf\u5909\u63db\u3059\u308b\u306e\u306f\u3081\u3093\u3069\u3046\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u767b\u5834\u3059\u308b\u306e\u304c\u300c<strong>\u30ad\u30e3\u30b9\u30c8\u6a5f\u80fd<\/strong>\u300d\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u81ea\u52d5\u7684\u306b\u30c7\u30fc\u30bf\u5909\u63db\u3092\u884c\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<pre>&lt;?php\n\nnamespace App;\n\nuse Illuminate\\Database\\Eloquent\\Model;\n\nclass Post extends Model\n{\n    <strong>protected $casts = [<\/strong>\n<strong>        'verified_at' =&gt; 'date'<\/strong> \/\/ \u65e5\u4ed8\uff08Carbon\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff09\u306b\u81ea\u52d5\u5909\u63db\n<strong>    ];<\/strong>\n}<\/pre>\n<p><strong>\u203b\u8a73\u3057\u3044\u30ad\u30e3\u30b9\u30c8\u6a5f\u80fd\u306b\u3064\u3044\u3066\u306f\u3001\u904e\u53bb\u8a18\u4e8b\u306e<\/strong><strong><a href=\"https:\/\/blog.capilano-fw.com\/?p=504\">\u30ad\u30e3\u30b9\u30c8\uff08\u578b\u5909\u63db\uff09\u5b9f\u4f8b<\/a><\/strong><strong>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/strong><\/p>\n<p>\u305f\u3060\u3057\u3001<code>Laravel<\/code>\u306b\u306f\u3058\u3081\u304b\u3089\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u30ad\u30e3\u30b9\u30c8\u6a5f\u80fd\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u57fa\u672c\u7684\u306a\u3082\u306e\u3060\u3051\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u65e5\u4ed8\u3001\u65e5\u4ed8\uff06\u6642\u9593<\/li>\n<li>JSON\uff08array\uff09<\/li>\n<\/ul>\n<p>\u3010\u8ffd\u8a18:2020.3.7\u3011\u9593\u9055\u3044\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u4fee\u6b63\u3057\u307e\u3057\u305f\u3002m(_ _)m<\/p>\n<p>\u305d\u3053\u3067\uff01<\/p>\n<p>\u4eca\u56de\u306f\u3001\u3053\u306e\u30ad\u30e3\u30b9\u30c8\u6a5f\u80fd\u3092\u72ec\u81ea\u306b\u3064\u304f\u308b\u3053\u3068\u304c\u3067\u304d\u308b<code>Laravel 7.x<\/code>\u306e\u65b0\u6a5f\u80fd\u300c<strong>\u30ab\u30b9\u30bf\u30e0\u30ad\u30e3\u30b9\u30c8<\/strong>\u300d\u6a5f\u80fd\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u306e\u304a\u5f79\u306b\u7acb\u3066\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3405 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_18.png\" alt=\"\" width=\"310\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_18.png 310w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_18-291x300.png 291w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Laravel 7.x<\/p>\n<h1>\u3084\u308a\u305f\u3044\u3053\u3068<\/h1>\n<p>\u4eca\u56de\u306f\u3001\u6697\u53f7\u5316\u3055\u308c\u305f\u300c\u30ef\u30f3\u30bf\u30a4\u30e0\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u3092<code>users<\/code>\u30c6\u30fc\u30d6\u30eb\u3067\u7ba1\u7406\u3059\u308b\u4f8b\u3092\u3064\u304f\u308a\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u3084\u308a\u305f\u3044\u3053\u3068\u306f\u6b21\u306e\uff12\u3064\u3067\u3059\u3002<\/p>\n<ul>\n<li>DB\u306b\u4fdd\u5b58\u3059\u308b\u5834\u5408\u3001\u6697\u53f7\u5316\u3059\u308b<\/li>\n<li>DB\u304b\u3089\u53d6\u5f97\u3059\u308b\u5834\u5408\u3001\u5fa9\u53f7\u3059\u308b<\/li>\n<\/ul>\n<p>\uff08\u5148\u307b\u3069\u306e\u65e5\u4ed8\u5909\u63db\u306e\u4f8b\u304c\u3001\u6697\u53f7\u5316\uff06\u5fa9\u53f7\u306b\u306a\u3063\u305f\u3060\u3051\u3067\u3059\u306d\uff09<\/p>\n<p>\u306a\u304a\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\u306f\u5206\u304b\u308a\u3084\u3059\u304f<code>one_time_password<\/code>\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6054\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/laravel_new_custom_cast_1.png\" alt=\"\" width=\"376\" height=\"336\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/laravel_new_custom_cast_1.png 376w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/laravel_new_custom_cast_1-300x268.png 300w\" sizes=\"auto, (max-width: 376px) 100vw, 376px\" \/><\/p>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306e\u4f5c\u696d\u306b\u79fb\u308a\u307e\u3057\u3087\u3046\uff01<\/p>\n<h1>\u5c02\u7528\u306e\u30ad\u30e3\u30b9\u30c8\u30fb\u30af\u30e9\u30b9\u3092\u3064\u304f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u307e\u305a\u306f\u6697\u53f7\u5316\uff06\u5fa9\u53f7\u3059\u308b\u30af\u30e9\u30b9\u3092\u3064\u304f\u308a\u307e\u3059\u3002<br \/>\n\u5834\u6240\u306f\u300c<strong>\/app\/Casts\/Encrypt.php<\/strong>\u300d\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u4e2d\u8eab\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre>&lt;?php\n\nnamespace App\\Casts;\n\nuse Illuminate\\Contracts\\Database\\Eloquent\\CastsAttributes;\n\nclass Encrypt implements CastsAttributes\n{\n    <strong>public function get($model, $key, $value, $attributes)<\/strong>\n<strong>    {<\/strong>\n<strong>        return decrypt($value); <\/strong>\/\/ \u30c7\u30fc\u30bf\u53d6\u5f97\u3059\u308b\u5834\u5408\uff1a\u5fa9\u53f7\u3059\u308b\n<strong>    }<\/strong>\n\n<strong>    public function set($model, $key, $value, $attributes)<\/strong>\n<strong>    {<\/strong>\n<strong>        return encrypt($value); <\/strong>\/\/ \u30c7\u30fc\u30bf\u4fdd\u5b58\u3059\u308b\u5834\u5408\uff1a\u6697\u53f7\u5316\u3059\u308b\n<strong>    }<\/strong>\n}<\/pre>\n<p>\u5185\u5bb9\u3068\u3057\u3066\u306f\u3001<code>get()<\/code>\u304c\u30c7\u30fc\u30bf\u53d6\u5f97\u3059\u308b\u5834\u5408\u3067\u3001<code>set()<\/code>\u304c\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u5834\u5408\u306b\u5b9f\u884c\u3055\u308c\u308b\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001<code>get()<\/code>\u3068<code>set()<\/code>\u5185\u3067\u5229\u7528\u3067\u304d\u308b\u5024\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>$model\u3000\u30fb\u30fb\u30fb\u3000\u30e2\u30c7\u30eb\u306e\u672c\u4f53\uff08\u203b\uff11\uff09<\/li>\n<li>$key\u3000\u30fb\u30fb\u30fb\u3000\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\uff08\u4eca\u56de\u3060\u3068 &#8220;one_time_password&#8221;\uff09<\/li>\n<li>$value\u3000\u30fb\u30fb\u30fb\u3000\u53d6\u5f97\u3001\u3082\u3057\u304f\u306f\u30bb\u30c3\u30c8\u3059\u308b\u5024<\/li>\n<li>$attributes\u3000\u30fb\u30fb\u30fb\u3000\u305d\u306e\u4ed6\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\uff08\u914d\u5217\uff09<\/li>\n<\/ul>\n<p>\u203b\uff11\uff1a \u3064\u307e\u308a\u3001<code>$model-&gt;name<\/code>\u306e\u3088\u3046\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h1>\u4f7f\u3044\u65b9<\/h1>\n<p>\u3067\u306f\u3001\u5148\u307b\u3069\u4f7f\u3063\u305f\u30ab\u30b9\u30bf\u30e0\u30ad\u30e3\u30b9\u30c8\u30fb\u30af\u30e9\u30b9\u3092\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u4eca\u56de\u306f<code>users<\/code>\u30c6\u30fc\u30d6\u30eb\u306e\u30c7\u30fc\u30bf\u5909\u63db\u306a\u306e\u3067\u3001\u300c<strong>app\/User.php<\/strong>\u300d\u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>$casts<\/code>\u3092\u4f7f\u3063\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre>&lt;?php\n\n\/\/ \u7701\u7565\n\nclass <strong>User<\/strong> extends Authenticatable\n{\n    \/\/ \u7701\u7565\n\n    protected $casts = [\n        \/\/ \u7701\u7565\n        <strong>'one_time_password' =&gt; Encrypt::class<\/strong>\n    ];\n}<\/pre>\n<p>\u3053\u308c\u3067\u3001\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u300c<strong>secret<\/strong>\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u306f\u81ea\u52d5\u7684\u306b\u6697\u53f7\u5316\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>$user = new \\App\\User();\n$user-&gt;name = '\u5c71\u7530\u592a\u90ce';\n$user-&gt;email = 'taro.yamada@example.com';\n$user-&gt;password = bcrypt('xxxxxxxx');\n<strong>$user-&gt;one_time_password = 'secret'; <\/strong>\/\/ \u81ea\u52d5\u7684\u306b\u6697\u53f7\u5316\u3055\u308c\u308b\n$user-&gt;save();<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6055\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/laravel_new_custom_cast_2.png\" alt=\"\" width=\"390\" height=\"377\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/laravel_new_custom_cast_2.png 390w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/laravel_new_custom_cast_2-300x290.png 300w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><\/p>\n<p>\u9006\u306b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u5fa9\u53f7\u3055\u308c\u3001\u300c<strong>secret<\/strong>\u300d\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>$user = \\App\\User::find(1);\necho <strong>$user-&gt;one_time_password<\/strong>; \/\/ \"<strong>secret<\/strong>\" \u304c\u53d6\u5f97\u3067\u304d\u308b<\/pre>\n<h1>\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3046\u5834\u5408<\/h1>\n<p>\u6b21\u306b\u30ab\u30b9\u30bf\u30e0\u30ad\u30e3\u30b9\u30c8\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3046\u5834\u5408\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u5148\u307b\u3069\u3064\u304f\u3063\u305f<code>Encrypt<\/code>\u30af\u30e9\u30b9\u306b\u3001\u3055\u3089\u306b\u300c<strong>Base64\u5f62\u5f0f\u306e\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\uff0f\u3057\u306a\u3044<\/strong>\u300d\u3092\u6c7a\u3081\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u5148\u306b\u4f7f\u3044\u65b9\u3067\u3059\u3002\u901a\u5e38\u306e\u30ad\u30e3\u30b9\u30c8\u6a5f\u80fd\u3068\u540c\u3058\u304f<code>:<\/code>\u306b\u7d9a\u3044\u3066\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u7e4b\u3052\u307e\u3059\u3002\uff08\u8907\u6570\u306e\u5834\u5408\u306f<code>:true,1,test<\/code>\u306a\u3069\u306e\u3088\u3046\u306b\u30ab\u30f3\u30de\u3067\u3064\u306a\u3044\u3067\u304f\u3060\u3055\u3044\uff09<\/p>\n<pre>protected $casts = [\n    'one_time_password' =&gt; Encrypt::class .'<strong>:true<\/strong>',\n];<\/pre>\n<p>\u3067\u306f\u3001<code>app\/Casts\/Encrypt.php<\/code>\u306e\u4e2d\u8eab\u3092\u5909\u66f4\u3057\u3066\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u5bfe\u5fdc\u3055\u305b\u307e\u3059\u3002<\/p>\n<pre>&lt;?php\n\nnamespace App\\Casts;\n\nuse Illuminate\\Contracts\\Database\\Eloquent\\CastsAttributes;\n\nclass Encrypt implements CastsAttributes\n{\n    <strong>private $is_base64;<\/strong>\n\n<strong>    public function __construct($is_base64 = false)<\/strong>\n<strong>    {<\/strong>\n<strong>        $this-&gt;is_base64 = filter_var($is_base64, FILTER_VALIDATE_BOOLEAN);<\/strong>\n<strong>    }<\/strong>\n\n<strong>    public function get($model, $key, $value, $attributes)<\/strong>\n<strong>    {<\/strong>\n<strong>        if($this-&gt;is_base64) {<\/strong>\n\n<strong>            $value = base64_decode($value);<\/strong>\n\n<strong>        }<\/strong>\n\n<strong>        return decrypt($value);<\/strong>\n<strong>    }<\/strong>\n\n<strong>    public function set($model, $key, $value, $attributes)<\/strong>\n<strong>    {<\/strong>\n<strong>        $value = encrypt($value);<\/strong>\n\n<strong>        if($this-&gt;is_base64) {<\/strong>\n\n<strong>            $value = base64_encode($value);<\/strong>\n\n<strong>        }<\/strong>\n\n<strong>        return $value;<\/strong>\n<strong>    }<\/strong>\n}<\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u91cd\u8981\u306a\u306e\u306f\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u6307\u5b9a\u3057\u305f\u5024\u306f\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u53d6\u5f97\u3067\u304d\u308b\u3068\u3044\u3046\u70b9\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<strong>\u3053\u306e\u3068\u304d\u53d6\u5f97\u3055\u308c\u308b\u5024\u306f\u6587\u5b57\u5217<\/strong>\u306a\u306e\u3067<code>Boolean<\/code>\u578b\u3068\u3057\u3066\u4f7f\u3044\u305f\u3044\u65b9\u306f\u3001<code>filter_var()<\/code>\u3001\u6570\u5024\u306e\u5834\u5408\u306f<code>intval()<\/code>\u306a\u3069\u3067\u9069\u5b9c\u578b\u306e\u5909\u63db\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>Laravel 7.x<\/code>\u306e\u65b0\u3057\u3044\u300c\u30ab\u30b9\u30bf\u30e0\u30ad\u30e3\u30b9\u30c8\u300d\u6a5f\u80fd\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u3048\u3070\u3001\u3053\u308c\u307e\u3067<code>Accessor<\/code>\u3084<code>Mutator<\/code>\u3067\uff11\u3064\u305a\u3064\u30c7\u30fc\u30bf\u5909\u63db\u3057\u3066\u3044\u305f\u3082\u306e\u3092\u30af\u30e9\u30b9\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u3055\u3089\u306b\u3053\u306e\u30af\u30e9\u30b9\u306f\u4f7f\u3044\u56de\u3057\u304c\u3067\u304d\u308b\u306e\u3067\uff11\u5ea6\u4f5c\u3063\u3066\u304a\u3051\u3070\u5225\u306e\u5834\u6240\u3067\u3082\u540c\u3058\u3088\u3046\u306b\u30ad\u30e3\u30b9\u30c6\u30a3\u30f3\u30b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u6709\u52b9\u306b\u6d3b\u7528\u3057\u3066\u30b3\u30fc\u30c9\u91cf\u3092\u6e1b\u3089\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/04\/24.png\" alt=\"\" width=\"182\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/04\/24.png 182w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/04\/24-171x300.png 171w\" sizes=\"auto, (max-width: 182px) 100vw, 182px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u524d\u56de\u306fLaravel 7.x\u306e\u65b0\u6a5f\u80fd\u306eHTTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u8a71\u984c\u3092\u304a\u5c4a\u3051\u3057\u307e\u3057\u305f\u304c\u3044\u304b\u304c\u3060\u3063\u305f\u3067\u3057\u3087\u3046\u304b\u3002 \u3055\u3066\u3001\u4eca\u56de\u306f\u5f15\u304d\u7d9a\u304dLaravel 7.x &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=6053\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Laravel 7.x\u306e\u65b0\u3057\u3044\u30ad\u30e3\u30b9\u30c8\uff08\u30c7\u30fc\u30bf\u5909\u63db\uff09\u6a5f\u80fd\uff01\u5b9f\u4f8b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":6059,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[66],"class_list":["post-6053","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","tag-66"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/6053","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=6053"}],"version-history":[{"count":6,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/6053\/revisions"}],"predecessor-version":[{"id":6087,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/6053\/revisions\/6087"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/6059"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}