{"id":4475,"date":"2019-08-23T03:07:41","date_gmt":"2019-08-22T18:07:41","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=4475"},"modified":"2019-08-23T03:07:41","modified_gmt":"2019-08-22T18:07:41","slug":"%e3%80%90laravel-5-8-33%e3%80%91%e3%83%a1%e3%83%bc%e3%83%ab%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e3%81%ae%e6%96%b0%e3%83%90%e3%83%aa%e3%83%87%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%83%bb%e5%ae%9f","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=4475","title":{"rendered":"\u3010Laravel 5.8.33\u3011\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u65b0\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30fb\u5b9f\u4f8b\u5168\uff15\u4ef6\uff01"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001<code>Laravel<\/code>\u306f\u77ed\u3044\u671f\u9593\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u305f\u307e\u306b\u5927\u304d\u306a\u6a5f\u80fd\u62e1\u5f35\u306e\u8ffd\u52a0\u304c\u3042\u3063\u305f\u308a\u3082\u3059\u308b\u306e\u3067\u3001\u30de\u30a4\u30ca\u30fc\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u3042\u3063\u3066\u3082\u898b\u9003\u3055\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u5148\u65e5\u30d0\u30fc\u30b8\u30e7\u30f3<code>5.8.33<\/code>\u3078\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u306f<strong>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u65b0\u3057\u3044\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u304c\u8ffd\u52a0<\/strong>\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u306f\u305a\u3063\u3068\u524d\u304b\u3089\u8a00\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u306a\u306e\u3067\u3059\u304c\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306f\u4e00\u5b9a\u306e\u6cd5\u5247\u304c\u3042\u308b\u3088\u3046\u3067\u3001\u5b9f\u306f\u6b63\u898f\u8868\u73fe\u3067\u300c\u6709\u52b9 or \u7121\u52b9\u300d\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u306e\u306f\u96e3\u3057\u304b\u3063\u305f\u308a\u3057\u307e\u3059\u3002\uff08\u78ba\u304b\u5b8c\u74a7\u306b\u306f\u4e0d\u53ef\u80fd\u3060\u3063\u305f\u6c17\u304c\u3057\u307e\u3059\ud83d\ude2b\uff09<\/p>\n<p>\u3057\u304b\u3057\u3001\u4eca\u56de\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u306f\u3001<a href=\"https:\/\/github.com\/egulias\/EmailValidator\" target=\"_blank\" rel=\"noopener noreferrer\">egulias\/email-validator<\/a>\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3063\u3066\u69d8\u3005\u306a\u89d2\u5ea6\u304b\u3089\u300c\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u59a5\u5f53\u6027\u30c1\u30a7\u30c3\u30af\u300d\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u65e9\u901f\u305d\u308c\u3089\u3092\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\uff01<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u306e\u53c2\u8003\u306b\u306a\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3344 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22.png\" alt=\"\" width=\"320\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22.png 320w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22-150x150.png 150w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22-300x300.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22-100x100.png 100w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/p>\n<p>\u958b\u767a\u74b0\u5883\uff1a Laravel 5.8.33<\/p>\n<h1>\u524d\u63d0\u3068\u3057\u3066<\/h1>\n<p>\u4eca\u56de\u8ffd\u52a0\u3055\u308c\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u7528\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u3044\u304f\u3064\u304bPHP\u306e\u62e1\u5f35\u6a5f\u80fd\u304c\u5fc5\u8981\u306b\u306a\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u4ee5\u964d\u306e\u624b\u9806\u3067\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304b\u3089\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u5b9f\u884c\u74b0\u5883\u306f\u3001<code>Ubuntu 18.04<\/code> + <code>PHP 7.2<\/code>\u3067\u3059\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4476\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_1.png\" alt=\"\" width=\"420\" height=\"247\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_1.png 420w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_1-300x176.png 300w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><\/p>\n<p>\u307e\u305a\u3001\u81ea\u5206\u306e\u74b0\u5883\u306b\u3042\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u691c\u7d22\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>sudo apt search intl | grep \"php\"<\/strong><\/pre>\n<p>\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4478\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_2.png\" alt=\"\" width=\"412\" height=\"249\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_2.png 412w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_2-300x181.png 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/p>\n<p>\u5f8c\u306f\u3001\u3054\u81ea\u8eab\u306ePHP\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5408\u3046<code>php****-intl<\/code>\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u9078\u3093\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><strong>sudo apt install php7.2-intl<\/strong><\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\uff08<code>nginx<\/code>\u306e\u5834\u5408\u306f<code>php-fpm<\/code>\uff09\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>sudo systemctl restart php7.2-fpm<\/strong><\/pre>\n<p><code>phpinfo()<\/code>\u3067\u78ba\u8a8d\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u9805\u76ee\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4477\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_3.png\" alt=\"\" width=\"780\" height=\"294\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_3.png 780w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_3-300x113.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/laravel_new_email_validation_3-768x289.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<h1>\u65b0\u3057\u3044\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u30fb\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3<\/h1>\n<h2>email:rfc<\/h2>\n<p><code>RFC<\/code>\u3068\u547c\u3070\u308c\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306e\u6a19\u6e96\u4ed5\u69d8\u306b\u5408\u3063\u3066\u3044\u308b\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\uff08\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8aac\u660e\u3067\u306f\u3001<code>RFC 5321<\/code>, <code>5322<\/code>, <code>6530<\/code>, <code>6531<\/code>, <code>6532<\/code>\u304c\u5bfe\u8c61\u3068\u306a\u3063\u3066\u3044\u307e\u3059\uff09<\/p>\n<p>\u5b9f\u969b\u306e\u4f8b\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>$data = ['email' =&gt; <strong>'te@st@example.com'<\/strong>];\r\n\r\n$validator = \\Validator::make($data, [\r\n    'email' =&gt; <strong>'email:rfc'<\/strong>\r\n]);\r\n\r\nif($validator-&gt;fails()) {\r\n\r\n    \/\/ \u6709\u52b9\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u306a\u3044\u5834\u5408\r\n    \/\/ \u3053\u306e\u4f8b\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\r\n\r\n}<\/pre>\n<h2>email:strict<\/h2>\n<p>\u5148\u307b\u3069\u306e\u3001<code>email:rfc<\/code>\u3092\u3088\u308a\u53b3\u683c\u306b\u3057\u3066\u3082\u306e\u3067\u300c\u30a8\u30e9\u30fc\u3060\u3051\u3067\u306a\u304f\u3001\u8b66\u544a\u304c\u3042\u3063\u3066\u3082\u30c0\u30e1\u300d\u306a\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>RFC<\/code>\u306e\u5f62\u5f0f\u3068\u3057\u3066\u306f\u6b63\u3057\u3044\u3051\u308c\u3069\u3082\u3001\u3042\u307e\u308a\u306b\u3082\u9577\u904e\u304e\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3082\u30c1\u30a7\u30c3\u30af\u3059\u308b\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>$email = <strong>str_repeat('x', 254).'@example.com';<\/strong> \/\/ x\u304c\uff12\uff15\uff14\u500b\u3067\u9577\u3059\u304e\u308b<\/pre>\n<p>\u5b9f\u969b\u306e\u4f8b\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>$data = ['email' =&gt; <strong>str_repeat('x', 254).'@example.com'<\/strong>];\r\n\r\n$validator = \\Validator::make($data, [\r\n    'email' =&gt; <strong>'email:strict'<\/strong>\r\n]);\r\n\r\nif($validator-&gt;fails()) {\r\n\r\n    \/\/ \u6709\u52b9\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u306a\u3044\u5834\u5408\r\n    \/\/ \u3053\u306e\u4f8b\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\r\n\r\n}<\/pre>\n<h2>email:dns<\/h2>\n<p><code>DNS<\/code>\u306b\u305d\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u30c9\u30e1\u30a4\u30f3\u304c\u5b58\u5728\u3059\u308b\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001<code>example.com<\/code>\u3068\u3044\u3046\u30c9\u30e1\u30a4\u30f3\u306f\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u304c<code>test.example.com<\/code>\u3068\u3044\u3046\u3082\u306e\u306f\u5b58\u5728\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u30a8\u30e9\u30fc\u3068\u5224\u65ad\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<pre>$data = ['email' =&gt; <strong>'xxx@test.example.com'<\/strong>];\r\n\r\n$validator = \\Validator::make($data, [\r\n    'email' =&gt; <strong>'email:dns'<\/strong>\r\n]);\r\n\r\nif($validator-&gt;fails()) {\r\n\r\n    \/\/ \u6709\u52b9\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u306a\u3044\u5834\u5408\r\n    \/\/ \u3053\u306e\u4f8b\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\r\n\r\n}<\/pre>\n<p>\u306a\u304a\u3001\u3053\u3053\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u306a\u306e\u306f\u3001\u3053\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306f\u300c\u30c9\u30e1\u30a4\u30f3\u304c\u6709\u52b9\u304b\u3069\u3046\u304b\u300d\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3082\u306e\u306a\u306e\u3067<strong>\u30c9\u30e1\u30a4\u30f3\u3055\u3048\u5b58\u5728\u3057\u3066\u3044\u308c\u3070\u6709\u52b9\u3067\u3042\u308b\u3068\u5224\u65ad\u3059\u308b<\/strong>\u3068\u3044\u3046\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<code>xxx.@example.com<\/code>\u3068\u3044\u3046\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306f<code>@<\/code>\u306e\u76f4\u524d\u306b<code>.<\/code>\u304c\u3042\u308b\u306e\u3067<code>email:rfc<\/code>\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u304c\u3001<code>email:dns<\/code>\u306e\u30c1\u30a7\u30c3\u30af\u3067\u306f\u901a\u904e\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f75\u7528\u3059\u308b\u306e\u304c\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre>$validator = \\Validator::make($data, [\r\n    'email' =&gt; <strong>'email:rfc,dns'<\/strong>\r\n]);<\/pre>\n<h2>email:spoof<\/h2>\n<p>\u306a\u308a\u3059\u307e\u3057\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306f\u62d2\u5426\u3059\u308b\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<code>test@ex\u0430mple.com<\/code>\u3068\u3044\u3046\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306f\u898b\u305f\u76ee\u306f\u59a5\u5f53\u306a\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u304c\u3001\u5b9f\u306f\u3053\u308c\u306f\u82f1\u8a9e\u306e<code>example<\/code>\u3067\u306f\u306a\u304f\u3001<code>\u0430<\/code>\u306b\u300c\u30ad\u30ea\u30eb\u6587\u5b57\u300d\u304c\u4f7f\u308f\u308c\u305f\u507d\u88c5\u30c9\u30e1\u30a4\u30f3\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3053\u3046\u3057\u305f\u507d\u88c5\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u9055\u3044\u306b\u3088\u3063\u3066\u533a\u5225\u3057\u3066\u3044\u307e\u3059\uff08\u5185\u90e8\u3067\u306f\u3001<code>Spoofchecker<\/code>\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\uff09<\/p>\n<pre>$data = ['email' =&gt; <strong>'test@ex\u0430mple.com'<\/strong>];\r\n\r\n$validator = \\Validator::make($data, [\r\n    'email' =&gt; <strong>'email:spoof'<\/strong>\r\n]);\r\n\r\nif($validator-&gt;fails()) {\r\n\r\n    \/\/ \u6709\u52b9\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u306a\u3044\u5834\u5408\r\n    \/\/ \u3053\u306e\u4f8b\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\r\n\r\n}<\/pre>\n<p>\u203b \u30e1\u30fc\u30eb\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/ja.stackoverflow.com\/questions\/106\/php%E3%81%A7%E6%96%87%E5%AD%97%E5%88%97%E3%81%8C%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%8B%E5%88%A4%E5%AE%9A%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF\/161\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8<\/a>\u306e<code>masakielastic<\/code>\u3055\u3093\u306e\u56de\u7b54\u304c\u8a73\u3057\u3044\u3067\u3059\u3002<\/p>\n<h2>email:filter<\/h2>\n<p>PHP\u95a2\u6570\u306e<a href=\"https:\/\/www.php.net\/manual\/ja\/function.filter-var.php\" target=\"_blank\" rel=\"noopener noreferrer\">filter_var()<\/a>\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u30c1\u30a7\u30c3\u30af\u3067\u3059\u3002<\/p>\n<pre>$data = ['email' =&gt; <strong>'test.@example.com'<\/strong>];\r\n\r\n$validator = \\Validator::make($data, [\r\n    'email' =&gt; <strong>'email:filter'<\/strong>\r\n]);\r\n\r\nif($validator-&gt;fails()) {\r\n\r\n    \/\/ \u6709\u52b9\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u306a\u3044\u5834\u5408\r\n    \/\/ \u3053\u306e\u4f8b\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\r\n\r\n}<\/pre>\n<h1>\u3061\u306a\u307f\u306b\uff1a\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306f\u4f75\u7528\u3067\u304d\u308b<\/h1>\n<p>\u9014\u4e2d\u3067\u3082\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306e\u65b0\u3057\u3044\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f75\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>$validator = \\Validator::make($data, [\r\n    'email' =&gt; <strong>'email:strict,dns,spoof'<\/strong>\r\n]);<\/pre>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>Laravel<\/code>\u306e\u65b0\u3057\u3044\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u30fb\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u306b\u3057\u3066\u3082\u3001\u4ee5\u524d\u3069\u3053\u304b\u3067\u805e\u3044\u305f\u3053\u3068\u306f\u3042\u3063\u305f\u3082\u306e\u306e\u30e1\u30fc\u30eb\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\uff08\u507d\u88c5\u30a2\u30c9\u30ec\u30b9\uff09\u306e\u4ed5\u7d44\u307f\u306b\u306f\u9a5a\u304d\u307e\u3057\u305f\u3002\u30ad\u30ea\u30eb\u6587\u5b57\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u82f1\u8a9e\u306b\u3068\u3066\u3082\u4f3c\u3066\u3044\u308b\u6587\u5b57\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3001\u60b2\u3057\u3044\u8a71\u3067\u3059\u304c\u3001\u3053\u308c\u3089\u3092\u99c6\u4f7f\u3057\u3066\u6709\u540d\u4f01\u696d\u306a\u3069\u306b\u306a\u308a\u3059\u307e\u3057\u3066\u60aa\u3055\u3092\u3059\u308b\u4eba\u304c\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u0430\u3000\u30fb\u30fb\u30fb\u3000\u82f1\u8a9e\u306e\u300ca\u300d\u3067\u306f\u306a\u3044<\/li>\n<li>\u0440\u3000\u30fb\u30fb\u30fb\u3000\u82f1\u8a9e\u306e\u300cp\u300d\u3067\u306f\u306a\u3044<\/li>\n<li>\u041a\u3000\u30fb\u30fb\u30fb\u3000\u82f1\u8a9e\u306e\u300cK\u300d\u3067\u306f\u306a\u3044<\/li>\n<\/ul>\n<p>\u3057\u304b\u3082\u4f3c\u3066\u3044\u308b\u6587\u5b57\u306f\u30ad\u30ea\u30eb\u6587\u5b57\u3060\u3051\u3058\u3083\u306a\u3044\u3067\u3059\u3057\u306d\u30fb\u30fb\u30fb\ud83d\ude05\u3002<\/p>\n<p>\u306a\u306b\u306f\u3068\u3082\u3042\u308c\u3001\u4eca\u56de\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u3053\u3046\u3044\u3063\u305f\u3082\u306e\u3082\u4e8b\u524d\u306b\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u305c\u3072\u7686\u3055\u3093\u3082\u6d3b\u7528\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2017\/06\/15.png\" alt=\"\" width=\"348\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2017\/06\/15.png 348w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2017\/06\/15-300x276.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2017\/06\/15-30x28.png 30w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001Laravel\u306f\u77ed\u3044\u671f\u9593\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u305f\u307e\u306b\u5927\u304d\u306a\u6a5f\u80fd\u62e1\u5f35\u306e\u8ffd\u52a0\u304c\u3042\u3063\u305f\u308a\u3082\u3059\u308b\u306e\u3067\u3001\u30de\u30a4\u30ca\u30fc\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u3042\u3063\u3066\u3082\u898b\u9003\u3055\u306a\u3044\u3088 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=4475\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Laravel 5.8.33\u3011\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u65b0\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30fb\u5b9f\u4f8b\u5168\uff15\u4ef6\uff01&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":4489,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[5,169],"class_list":["post-4475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","tag-5","tag-169"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4475","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=4475"}],"version-history":[{"count":13,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4475\/revisions"}],"predecessor-version":[{"id":4492,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4475\/revisions\/4492"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/4489"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}