{"id":3053,"date":"2021-10-05T08:34:43","date_gmt":"2021-10-04T23:34:43","guid":{"rendered":"https:\/\/qol-kk.com\/wp2\/?p=3053"},"modified":"2021-10-05T08:34:43","modified_gmt":"2021-10-04T23:34:43","slug":"post-3053","status":"publish","type":"post","link":"https:\/\/qol-kk.com\/wp2\/blog\/2021\/10\/05\/post-3053\/","title":{"rendered":"Laravel\uff1a\u6570\u5b578\u6841\u306e\u4e00\u610f\u306e\u4e71\u6570\u3092\u751f\u6210\u3059\u308b5\u3064\u306e\u65b9\u6cd5"},"content":{"rendered":"<h2>Laravel\uff1a\u6570\u5b578\u6841\u306e\u4e00\u610f\u306e\u4e71\u6570\u3092\u751f\u6210\u3059\u308b5\u3064\u306e\u65b9\u6cd5<\/h2>\n<p>\u4f8b\u3048\u3070\u3001\u30b5\u30fc\u30d0\u30fc\u304c\u6c7a\u3081\u305fID\u3067\u30ed\u30b0\u30a4\u30f3\u3055\u305b\u308b\u306a\u3069\u300c\u81ea\u52d5\u63a1\u756a\u30678\u6841\u6570\u5b57\u3092\u751f\u6210\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u300d\u3068\u304b\u3002<br \/>\nSMS\u3067\u8a8d\u8a3c\u30b3\u30fc\u30c9\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u4e71\u6570\u3082\u6570\u5b57\u306b\u306a\u308b\u3053\u3068\u591a\u3044\u3067\u3059\u3088\u306d\u3002<\/p>\n<h3>PHP\u3067\u30e9\u30f3\u30c0\u30e0\u5024\u3092\u751f\u6210\u3059\u308b\u65b9\u6cd5\u306f\u5168\u90e8\u30675\u901a\u308a<\/h3>\n<div class=\"paperBox\">\n<ul>\n<li>rand()<\/li>\n<li>mt_rand()<\/li>\n<li>random_int()<\/li>\n<li>random_bytes()<\/li>\n<li>openssl_random_pseudo_bytes()<\/li>\n<\/ul>\n<\/div>\n<p>\u3061\u306a\u307f\u306b\u79c1\u306f<code>openssl_random_pseudo_bytes()<\/code>\u3067\u66f8\u3044\u305f\u3089\u300copenssl\u306f\u9045\u3044\u304b\u3089\u4ed6\u306e\u3067\u300d\u3068\u8a00\u308f\u308c\u305f\u7d4c\u9a13\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>rand()\u306e\u5834\u5408<\/h3>\n<p>8\u6841\u3067\u8abf\u6574\u3057\u3088\u3046\u3068\u3057\u305f\u5834\u5408\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">\uff04code = str_pad(rand(0,99999999),8,0, STR_PAD_LEFT);\r\necho 'rand\uff1a'.$code;\r\n\r\n#\u7d50\u679c =&gt; rand\uff1a48625668<\/pre>\n<p><code>rand($min, $max)<\/code>\u3068\u3044\u3046\u5f62\u3067\u6700\u5c0f\u5024\u3068\u6700\u5927\u5024\u3092\u6307\u5b9a\u3059\u308b\u3068\u305d\u306e\u9593\u306e\u5024\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>\n\u4e0a\u306e\u30b3\u30fc\u30c9\u4f8b\u3060\u3068\u30010\u301c99999999\u307e\u3067\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u3088\u3046\u306b\u6307\u793a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u5f53\u7136\u3067\u3059\u304c\u30016\u6841\u30847\u6841\u30011\u6841\u306e\u6570\u5b57\u3082\u9078\u629e\u80a2\u306b\u5165\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u8a73\u7d30\u306f\u5f8c\u534a\u306b\u307e\u3068\u3081\u307e\u3059\u304c\u3001<code>str_pad<\/code>\u306b\u3064\u3044\u3066\u306f\u30bc\u30ed\u57cb\u3081\u306e\u6307\u793a\u3067\u3059\u30028\u6841\u307e\u3067\u5de6\u304b\u3089\u30bc\u30ed\u3067\u57cb\u3081\u3066\u306d\u3068\u8a18\u8f09\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.php.net\/manual\/ja\/function.rand.php\">\u516c\u5f0f<\/a>\u3092\u78ba\u8a8d\u3059\u308b\u3068\u6b21\u306e\u69d8\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"paperBox\">\n<p><strong>\u8b66\u544a\u3000<\/strong>\u3053\u306e\u95a2\u6570\u304c\u751f\u6210\u3059\u308b\u5024\u306f\u3001\u6697\u53f7\u5b66\u7684\u306b\u5b89\u5168\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u3053\u308c\u3092\u6697\u53f7\u3068\u3057\u3066\u4f7f\u3063\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002\u6697\u53f7\u5b66\u7684\u306b\u5b89\u5168\u306a\u5024\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001<span class=\"function\"><a class=\"function\" href=\"https:\/\/www.php.net\/manual\/ja\/function.random-int.php\">random_int()<\/a><\/span>\u00a0\u304b\u00a0<span class=\"function\"><a class=\"function\" href=\"https:\/\/www.php.net\/manual\/ja\/function.random-bytes.php\">random_bytes()<\/a><\/span>\u00a0\u3042\u308b\u3044\u306f\u00a0<span class=\"function\"><a class=\"function\" href=\"https:\/\/www.php.net\/manual\/ja\/function.openssl-random-pseudo-bytes.php\">openssl_random_pseudo_bytes()<\/a><\/span>\u00a0\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<\/div>\n<h3>mt_rand()\u306e\u5834\u5408<\/h3>\n<p><span class=\"dc-title\">\u3010\u30e1\u30eb\u30bb\u30f3\u30cc\u30fb\u30c4\u30a4\u30b9\u30bf\u30fc\u4e71\u6570\u751f\u6210\u5668\u3092\u4ecb\u3057\u3066\u4e71\u6570\u5024\u3092\u751f\u6210\u3059\u308b\u3011\u4e71\u6570\u306e\u751f\u6210\u65b9\u6cd5\u3067\u3059\u3002<\/span><br \/>\n<span class=\"dc-title\">\u30e1\u30eb\u30bb\u30f3\u30cc\u30fb\u30c4\u30a4\u30b9\u30bf\u30fc\u4e71\u6570\u751f\u6210\u5668\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%83%A1%E3%83%AB%E3%82%BB%E3%83%B3%E3%83%8C%E3%83%BB%E3%83%84%E3%82%A4%E3%82%B9%E3%82%BF\">Wiki<\/a>\u306b\u3066\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002\uff08\u79c1\u306f\u8aac\u660e\u3067\u304d\u307e\u305b\u3093\uff09<\/span><br \/>\n\u4e71\u6570\u751f\u6210\u5668\u304c\u7570\u306a\u308b\u3060\u3051\u3067\u3001\u4f7f\u7528\u65b9\u6cd5\u306frand()\u3068\u540c\u3058\u3067\u3059\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u8a18\u8f09\u3059\u308b\u30b3\u30fc\u30c9\u3082\u540c\u3058\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">\uff04code = str_pad(mt_rand(0,99999999),8,0, STR_PAD_LEFT);\r\necho 'mt_rand\uff1a'.$code;\r\n\r\n#\u7d50\u679c =&gt; mt_rand\uff1a79747812<\/pre>\n<p>\u3061\u306a\u307f\u306b\u3001\u5148\u7a0b\u306e<strong>\u8b66\u544a<\/strong>\u306f<a href=\"https:\/\/www.php.net\/manual\/ja\/function.mt-rand.php\">\u3053\u3061\u3089\u306e\u516c\u5f0f<\/a>\u3067\u3082\u540c\u69d8\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>random_int()\u306e\u5834\u5408<\/h3>\n<p>\u7d30\u3044\u6240\u306f\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001<a href=\"https:\/\/www.php.net\/manual\/ja\/function.random-int.php\">\u516c\u5f0f\u66f0\u304f<\/a>\u300c\u6697\u53f7\u7684\u306b\u30e9\u30f3\u30c0\u30e0\u306a\u6574\u6570\u3092\u751f\u6210\u300d\u3057\u3066\u304f\u308c\u308b\u69d8\u3067\u3059\u3002<br \/>\n\u30ed\u30b0\u30a4\u30f3\u95a2\u4fc2\u306e\u5b9f\u88c5\u3067\u30e9\u30f3\u30c0\u30e0\u6570\u5024\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f<code>rand()<\/code>\u3084<code>mt_rand()<\/code>\u3067\u306f\u306a\u304f\u3053\u3061\u3089\u3092\u5229\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b3\u30fc\u30c9\u306e\u66f8\u304d\u65b9\u306f<code>rand()<\/code>\/<code>mt_rand()<\/code>\u3068\u540c\u3058\u3067<code>random_int($min, $max)<\/code>\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">\uff04code = str_pad(random_int(0,99999999),8,0, STR_PAD_LEFT);\r\necho 'random_int\uff1a'.$code;\r\n\r\n#\u7d50\u679c =&gt; random_int\uff1a34857957<\/pre>\n<h3>random_bytes()\u306e\u5834\u5408<\/h3>\n<p>\u6697\u53f7\u8ad6\u7684\u306b\u5b89\u5168\u306a\u3001\u7591\u4f3c\u30e9\u30f3\u30c0\u30e0\u306a\u30d0\u30a4\u30c8\u5217\u3092\u751f\u6210\u3059\u308b\u547d\u4ee4\u3067\u3059\u3002<br \/>\n\u30d0\u30a4\u30c8\u5217\uff08\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\uff09\u306a\u306e\u3067\u3001\u51fa\u529b\u3059\u308b\u305f\u3081\u306b\u306f\u5909\u63db\u3057\u3066\u3042\u3052\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3088\u304f\u3084\u308b\u65b9\u6cd5\u304c16\u9032\u6570\u306b\u5909\u63db\u3010bin2hex()\u3011\u3057\u305f\u5f8c\u306b10\u9032\u6570\u306b\u5909\u63db\u3010hexdec()\u3011\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3067\u3059\u3002\uff08\u6570\u5b57\u304c\u6b32\u3057\u3044\u5834\u5408\uff09<\/p>\n<pre class=\"lang:default decode:true\">\uff04code = str_pad(\r\n            (\r\n                hexdec(\r\n                    bin2hex(random_bytes(3))\r\n                )\r\n            ),8,0, STR_PAD_LEFT\r\n        )\r\necho 'random_bytes\uff1a'.$code;\r\n\r\n#\u7d50\u679c =&gt; random_bytes\uff1a11086536<\/pre>\n<p>\u62ec\u5f27\u306e\u6570\u308f\u304b\u308a\u306b\u304f\u304f\u306a\u308b\u306e\u3067\u6539\u884c\u3057\u3066\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n1\u884c\u306b\u3057\u3066\u3057\u307e\u3046\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">\uff04code = str_pad((hexdec(bin2hex(random_bytes(3)))),8,0, STR_PAD_LEFT)<\/pre>\n<p>\u30d0\u30a4\u30c8\u6570\u306e\u6307\u793a\u306f\u30103\u3011\u3067\u4e01\u5ea68\u6841\u307e\u3067\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>openssl_random_pseudo_bytes()\u306e\u5834\u5408<\/h3>\n<p>\u3010\u7591\u4f3c\u30e9\u30f3\u30c0\u30e0\u306a\u30d0\u30a4\u30c8\u6587\u5b57\u5217\u3092\u751f\u6210\u3059\u308b\u547d\u4ee4\u3067\u3059\u3011\u3068\u516c\u5f0f\u306b\u306f\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u304c\u3001\u7406\u89e3\u306f\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002<br \/>\n<code>random_bytes()<\/code>\u3068\u540c\u3058\u304f\u3001\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u3068\u3057\u3066\u51fa\u529b\u3055\u308c\u308b\u70ba\u3001\u6570\u5b57\u306b\u76f4\u3059\u305f\u3081\u306b\u306f\u3072\u3068\u624b\u9593\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">\uff04code = str_pad(\r\n            hexdec(\r\n                bin2hex(\r\n                    openssl_random_pseudo_bytes(3,$cstrong)\r\n                )\r\n            ),8,0, STR_PAD_LEFT\r\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000)\r\necho 'openssl_random_pseudo_bytes\uff1a'.$code;\r\n\r\n#\u7d50\u679c =&gt; openssl_random_pseudo_bytes\uff1a02436601<\/pre>\n<p>\u307e\u305f<code>random_bytes()<\/code>\u3068\u6bd4\u3079\u3066\u52d5\u4f5c\u304c\u9045\u3044\u3068\u3044\u3046\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b\u69d8\u3067\u3059\u304c<code>random_bytes()<\/code>\u304c\u5229\u7528\u3055\u308c\u308b\u306e\u306f\u91cd\u8907\u306a\u51fa\u529b\u53ef\u80fd\u6027\u304c\u4f4e\u3044\u304b\u3089\u306a\u306e\u3060\u305d\u3046\u3067\u3059\u3002\u203b\u4f4e\u3044\u3060\u3051\u3067\u53ef\u80fd\u6027\u306f\u3042\u308b\u306e\u3067Unique\u306a\u5024\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u56de\u907f\u624b\u6bb5\u306e\u69cb\u7bc9\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u751f\u6210\u3059\u308b\u30d0\u30a4\u30c8\u6570\u3068\u6570\u5024\u306e\u6841\u6570\u306e\u95a2\u4fc2\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\u203b<code>random_bytes()<\/code>\u3068<code>openssl_random_pseudo_bytes()<\/code>\u306f\u540c\u3058<\/p>\n<div class=\"paperBox\">\n<ul>\n<li>hexdec(bin2hex(random_bytes(1))) =&gt; 3\u6841<\/li>\n<li>hexdec(bin2hex(random_bytes(2))) =&gt; 5\u6841<\/li>\n<li>hexdec(bin2hex(random_bytes(3))) =&gt; 8\u6841<\/li>\n<li>hexdec(bin2hex(random_bytes(4))) =&gt; 10\u6841<\/li>\n<li>hexdec(bin2hex(random_bytes(5))) =&gt; 12\u6841<\/li>\n<li>hexdec(bin2hex(random_bytes(6))) =&gt; 15\u6841<\/li>\n<li>hexdec(bin2hex(random_bytes(7))) =&gt; 17\u6841<\/li>\n<\/ul>\n<\/div>\n<h3>8\u6587\u5b57\u306b\u8db3\u308a\u306a\u3044\u6642\u306f\u5de6\u304b\u3089\u30bc\u30ed\u57cb\u3081\u3059\u308b str_pad($int, 8,0, STR_PAD_LEFT)<\/h3>\n<p><code>str_pad<\/code> \u306f\u3010\u6587\u5b57\u5217\u3092\u56fa\u5b9a\u9577\u306e\u4ed6\u306e\u6587\u5b57\u5217\u3067\u57cb\u3081\u308b\u3011\u3068\u3044\u3046\u547d\u4ee4\u3067\u3059\u3002\uff08<a href=\"https:\/\/www.php.net\/manual\/ja\/function.str-pad.php\">\u516c\u5f0f<\/a>\uff09<\/p>\n<p>\u7b2c3\u5f15\u6570\u306b\u57cb\u3081\u308b\u6587\u5b57\u6587\u5b57(\u6570\u5b57)\u3092\u5165\u308c\u3001\u7b2c4\u5f15\u6570\u306b\u57cb\u3081\u65b9\u306e\u30bf\u30a4\u30d7\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002\uff08\u7b2c4\u5f15\u6570\u3092\u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u306f\u53f3\u6885\u306b\u306a\u308b\uff09<\/p>\n<h4>\u7b2c4\u5f15\u6570pad_type\u306b\u3064\u3044\u3066<\/h4>\n<p>3\u30d1\u30bf\u30fc\u30f3\u306e\u6307\u793a\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"paperBox\">\n<ul>\n<li><code>STR_PAD_RIGHT\uff1a \u5de6\u306b\u8a70\u3081\u3066\u53f3\u5074\u3092\u6307\u5b9a\u6587\u5b57\u3067\u57cb\u3081\u308b<\/code><\/li>\n<li><code>STR_PAD_LEFT \uff1a\u53f3\u306b\u8a70\u3081\u3066\u5de6\u5074\u3092\u6587\u5b57\u3067\u57cb\u3081\u308b<\/code><\/li>\n<li><code>STR_PAD_BOTH \uff1a\u4e2d\u592e\u306b\u6765\u308b\u3088\u3046\u306b\u5de6\u53f3\u3092\u6587\u5b57\u3067\u57cb\u3081\u308b\u3053\u203b\u5747\u7b49\u306b\u306a\u3089\u306a\u306a\u3044\u5834\u5408\u306f\u53f3\u5074\u5897\u52a0<\/code><\/li>\n<\/ul>\n<\/div>\n<h3>\u4e00\u610f\u306e\u5024\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u30c1\u30a7\u30c3\u30ab\u30fc\u304c\u4e0d\u53ef\u6b20<\/h3>\n<p>\u30ed\u30b0\u30a4\u30f3\u306e\u6642\u306b\u8a8d\u8a3c\u30d1\u30b9\u3092\u5165\u308c\u305fAuthorization\u3092\u66f8\u304f\u4e8b\u304c\u591a\u304f\u306a\u3063\u305f\u3088\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u3002<br \/>\n\u8a8d\u8a3c\u30d1\u30b9\u306e\u5834\u5408\u306f\u91cd\u8907\u3092\u6c17\u306b\u3059\u308b\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30ed\u30b0\u30a4\u30f3ID\u3068\u3057\u3066\u5229\u7528\u3057\u305f\u308a\u3001uuid\u7684\u306a\u4f7f\u3044\u65b9\u3092\u3059\u308b\u5834\u5408\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\u7406\u7531\u306f\u3001\u3069\u306e\u624b\u6bb5\u3067\u3082\u300c\u5024\u304c\u91cd\u8907\u3057\u306a\u3044\u4e8b\u3092\u4fdd\u8a3c\u306f\u3057\u3066\u3044\u306a\u3044\u300d\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u3069\u306e\u624b\u6bb5\u3067\u3042\u3063\u3066\u3082\u3001\u72b6\u6cc1\u3068\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u3088\u3063\u3066\u306f\u91cd\u8907\u3059\u308b\u5024\u3092\u751f\u6210\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305d\u3093\u306a\u6642\u306f\u3001\u91cd\u8907\u30c1\u30a7\u30c3\u30af\u7528\u306e\u30d7\u30ed\u30bb\u30b9\u30921\u3064\u7528\u610f\u3057\u300c\u3053\u308c\u3092\u901a\u308b\u3068\u8ab0\u304b\u304c\u4f7f\u3063\u3066\u3044\u308b\u5024\u300d\u304b\u5426\u304b\u306e\u5224\u65ad\u3092\u3064\u3051\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u7c21\u5358\u306a\u306e\u306fIf\u306e\u5206\u5c90\u3067\u3059\u304c\u3001Unique\u3067\u306f\u306a\u3044\u5024\u3092\u9023\u7d9a\u3057\u3066\u53d6\u5f97\u3057\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u3092\u8003\u616e\u3057\u3066while\u3092\u5229\u7528\u3059\u308b\u306a\u3069\u5de5\u592b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>\u81ea\u52d5\u63a1\u756a\u3068\u8a00\u3063\u3066\u3082\u624b\u6bb5\u306f\u305f\u304f\u3055\u3093\u3042\u308b\u3093\u3067\u3059\u306d\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001\u3053\u306e\u8a18\u4e8b\u306e\u5143\u30cd\u30bf\u306f\u79c1\u304c\u3088\u304f\u4f7f\u3063\u3066\u3044\u305f<code>openssl_random_pseudo_bytes()<\/code>\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u6240\u300c\u9045\u3044\u304b\u3089\u4ed6\u306e\u306b\u3057\u3066\u300d\u3068\u8a00\u308f\u308c\u305f\u3053\u3068\u306b\u8d77\u56e0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel\uff1a\u6570\u5b578\u6841\u306e\u4e00\u610f\u306e\u4e71\u6570\u3092\u751f\u6210\u3059\u308b5\u3064\u306e\u65b9\u6cd5 \u4f8b\u3048\u3070\u3001\u30b5\u30fc\u30d0\u30fc\u304c\u6c7a\u3081\u305fID\u3067\u30ed\u30b0\u30a4\u30f3\u3055\u305b\u308b\u306a\u3069\u300c\u81ea\u52d5\u63a1\u756a\u30678\u6841\u6570\u5b57\u3092\u751f\u6210\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u300d\u3068\u304b\u3002 SMS\u3067\u8a8d\u8a3c\u30b3\u30fc\u30c9\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u4e71\u6570\u3082\u6570\u5b57\u306b\u306a\u308b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":944,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_lightning_design_setting":[],"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[34],"tags":[153,1101,1100,98,1102,1099,1103,53,1098],"class_list":["post-3053","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-memorandum","tag-laravel","tag-mt_rand","tag-openssl_random_pseudo_bytes","tag-php","tag-rand","tag-random_bytes","tag-random_int","tag-53","tag-1098"],"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_publicize_connections":[],"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/qol-kk.com\/wp2\/wp-content\/uploads\/2018\/11\/laravel_logo.png","_links":{"self":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/comments?post=3053"}],"version-history":[{"count":0,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3053\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media\/944"}],"wp:attachment":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media?parent=3053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/categories?post=3053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/tags?post=3053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}