{"id":1554,"date":"2018-10-17T03:21:41","date_gmt":"2018-10-16T18:21:41","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=1554"},"modified":"2018-10-23T03:34:49","modified_gmt":"2018-10-22T18:34:49","slug":"%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e3%81%a7%e3%81%8d%e3%82%8b%ef%bc%81laravel%e3%81%a7%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%8c%e9%96%8b%e5%b0%81%e3%81%95%e3%82%8c%e3%81%9f%e3%81%8b","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=1554","title":{"rendered":"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308b\uff01Laravel\u3067\u30e1\u30fc\u30eb\u304c\u958b\u5c01\u3055\u308c\u305f\u304b\u78ba\u304b\u3081\u308b\u6a5f\u80fd\u3092\u3064\u304f\u308b"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u30a6\u30a7\u30d6\u958b\u767a\u3092\u9577\u3089\u304f\u7d9a\u3051\u3066\u3044\u308b\u3068\u69d8\u3005\u306a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3055\u3093\u305f\u3061\u306e\u3054\u5e0c\u671b\u306b\u89e6\u308c\u308b\u6a5f\u4f1a\u304c\u3042\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u306f\u305d\u3093\u306a\u4e2d\u304b\u3089\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u95a2\u308f\u308b\u3082\u306e\u3092\u30c1\u30e7\u30a4\u30b9\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u5185\u5bb9\u3068\u306f\u3001\u300c\u9001\u4fe1\u3055\u308c\u305f\u30e1\u30fc\u30eb\u304c\u958b\u5c01\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u300d\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3042\u307e\u308a\u8a73\u3057\u3044\u5185\u5bb9\u306f\u66f8\u3051\u307e\u305b\u3093\u304c\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u8a13\u7df4\u306e\u305f\u3081\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b7\u30b9\u30c6\u30e0\u304c\u5fc5\u8981\u306a\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<ol>\n<li>\u81ea\u793e\u306e\u793e\u54e1\u5168\u54e1\u306b\u8a13\u7df4\u7528\u306e\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b<\/li>\n<li>\u3082\u3057\u305d\u306e\u30e1\u30fc\u30eb\u304c\u958b\u5c01\u3055\u308c\u305f\u3089\u3001\u305d\u308c\u304c\u8ab0\u304b\u3092\u4fdd\u5b58\u3059\u308b<\/li>\n<li>\u5f8c\u304b\u3089\u305d\u306e\u4eba\u306b\u3001\u5b9f\u306f\u8a13\u7df4\u30e1\u30fc\u30eb\u3060\u3063\u305f\u3053\u3068\u3092\u4f1d\u3048\u3001\u4eca\u5f8c\u30e1\u30fc\u30eb\u306e\u958b\u5c01\u306f\u6c17\u3092\u3064\u3051\u3066\u3082\u3089\u3046<\/li>\n<\/ol>\n<p>\u3064\u307e\u308a\u3001\u4f01\u696d\u304c\u91cd\u5927\u306a\u30cf\u30c3\u30ad\u30f3\u30b0\u3092\u3055\u308c\u3066\u3057\u307e\u3046\u5834\u5408\u3001\u539f\u56e0\u306f\u305f\u3063\u305f\uff11\u901a\u306e\u30e1\u30fc\u30eb\u3060\u3063\u305f\u3001\u3068\u3044\u3046\u30b1\u30fc\u30b9\u304c\u7d50\u69cb\u3042\u308b\u305f\u3081\uff08\u4f8b\u306e\u30b3\u30a4\u30f3\u30c1\u30a7\u30c3\u30af\u4e8b\u4ef6\u306e\u5834\u5408\u3082\u305d\u3046\u3060\u3068\u8a00\u308f\u308c\u3066\u3044\u307e\u3059\uff09\u3001\u305d\u306e\u5bfe\u7b56\u306e\u4e00\u8cab\u3068\u3057\u3066\u793e\u54e1\u306e\u8a13\u7df4\u3092\u5b9f\u65bd\u3057\u305f\u3044\u3068\u306e\u3053\u3068\u3067\u3057\u305f\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u30e1\u30fc\u30eb\u304c\u958b\u5c01\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u65b9\u6cd5\u3092\u304a\u5c4a\u3051\u3057\u307e\u3059\u3002<\/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<p>\u203b \u958b\u767a\u74b0\u5883\uff1a Laravel 5.7<\/p>\n<h1>\u30e1\u30fc\u30eb\u958b\u5c01\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u4ed5\u7d44\u307f<\/h1>\n<p>\u307e\u305a\u306f\u3001\u30e1\u30fc\u30eb\u958b\u5c01\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u304c\u3001\u4f8b\u3048\u3070\u3042\u306a\u305f\u306f\u4ee5\u524d\u306b\u3053\u3093\u306a\u30e1\u30fc\u30eb\u3092\u53d7\u3051\u53d6\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f\uff1f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1555\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-17-00-09-15.png\" alt=\"\" width=\"553\" height=\"359\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-17-00-09-15.png 553w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-17-00-09-15-300x195.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/p>\n<p>\u4f55\u306e\u5909\u54f2\u3082\u306a\u3044\u30e1\u30fc\u30eb\u3067\u3059\u304c\u3001\u901a\u5e38\u306e\u30c6\u30ad\u30b9\u30c8\u30fb\u30e1\u30fc\u30eb\u3068\u306f\u9055\u3063\u3066\u8272\u3005\u3068\u88c5\u98fe\u304c\u65bd\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u30e1\u30fc\u30eb\u3092\u3088\u308a\u7dba\u9e97\u306b\u898b\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b<strong>HTML\u30e1\u30fc\u30eb<\/strong>\u3068\u547c\u3070\u308c\u308b\u3082\u306e\u3067\u3059\u304c\u3001\u5b9f\u306f\u30e1\u30fc\u30eb\u304c\u958b\u5c01\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001\u3053\u306e\u30e1\u30fc\u30eb\u4e0a\u90e8\u306b\u3042\u308b\u753b\u50cf\uff08\u4e0a\u306e\u4f8b\u3067\u306f\u30ed\u30b4\u753b\u50cf\uff09\u3092\u4f7f\u3063\u3066\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u6d41\u308c\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30e1\u30fc\u30eb\u304c\u958b\u304b\u308c\u308b\u3068\u540c\u6642\u306b\u300c\u500b\u4ebaID\u300d\u304c\u3064\u3044\u305f\u753b\u50cfURL\u3078\u30a2\u30af\u30bb\u30b9<\/li>\n<li>\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u6642\u306b\u500b\u4ebaID\u3092\u4fdd\u5b58<\/li>\n<li>\u4fdd\u5b58\u3057\u305f\u500b\u4ebaID\u3092\u5143\u306b\u8ab0\u304c\u30e1\u30fc\u30eb\u3092\u958b\u3044\u305f\u304b\u304c\u5206\u304b\u308b<\/li>\n<\/ol>\n<p>\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3067\u3059\u306d\u3002<\/p>\n<p>\u203b \u3082\u3061\u308d\u3093\u3001\u5229\u7528\u3057\u3066\u3044\u308b\u30e1\u30fc\u30eb\u306b\u3088\u3063\u3066\u306f\u753b\u50cf\u3092\u8868\u793a\u3057\u3066\u3044\u306a\u3044\uff0f\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u3001\u305d\u306e\u5834\u5408\u3053\u306e\u65b9\u6cd5\u306f\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u5927\u624b\u306eGMail\u3067\u3082\u521d\u671f\u8a2d\u5b9a\u3067\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u5229\u7528\u3067\u304d\u308b\u30b1\u30fc\u30b9\u306f\u591a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u203b \u3061\u306a\u307f\u306b\u3001\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u30ed\u30b4\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u60aa\u610f\u306e\u3042\u308b\u30e1\u30fc\u30eb\u306e\u5834\u5408\u306f\u30011&#215;1\u306e\u307b\u307c\u76ee\u3067\u306f\u8a8d\u8b58\u3067\u304d\u306a\u3044\u3054\u304f\u5c0f\u3055\u306a\u306a\u753b\u50cf\u3092\u7528\u610f\u3057\u3001\u901a\u5e38\u306e\u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb\u306e\u3088\u3046\u306b\u507d\u88c5\u3057\u3066\u3044\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u304a\u6c17\u3092\u3064\u3051\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1>\u500b\u4ebaID\u304c\u4fdd\u5b58\u3067\u304d\u308b\u753b\u50cf\u306e\u4f5c\u308a\u65b9<\/h1>\n<h2>\u30b5\u30f3\u30d7\u30eb\u753b\u50cf\u3092\u6e96\u5099\u3059\u308b<\/h2>\n<p>\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u7b11\u9854\u30de\u30fc\u30af\u3092\u4f7f\u3063\u3066\u958b\u767a\u3092\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\uff08\u3061\u306a\u307f\u306b<a href=\"http:\/\/fa2png.io\/\" target=\"_blank\" rel=\"noopener\">fa2png<\/a>\u3068\u3044\u3046\u30b5\u30a4\u30c8\u3067\u4f5c\u308a\u307e\u3057\u305f\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1558\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/smile.png\" alt=\"\" width=\"256\" height=\"256\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/smile.png 256w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/smile-150x150.png 150w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/smile-100x100.png 100w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/p>\n<p>\u3053\u306e\u753b\u50cf\u3092<code>storage\/app\/images\/<\/code>\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1559\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-17-00-32-33.png\" alt=\"\" width=\"263\" height=\"129\" \/><\/p>\n<h1>\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u90e8\u5206\u3092\u3064\u304f\u308b<\/h1>\n<h2>\u30c6\u30b9\u30c8\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u308b<\/h2>\n<p>\u4eca\u56de\u306f\u30c6\u30b9\u30c8\u306a\u306e\u3067\u3001\u4ee5\u4e0b\u306e\uff13\u4eba\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u3001\u3053\u306e\u4e2d\u304b\u3089\u8ab0\u304c\u30e1\u30fc\u30eb\u3092\u958b\u5c01\u3057\u305f\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li>\u592a\u90ce\u304f\u3093<\/li>\n<li>\u6b21\u90ce\u304f\u3093<\/li>\n<li>\u82b1\u5b50\u3055\u3093<\/li>\n<\/ul>\n<p>\u203b \u3059\u3067\u306b\u30e6\u30fc\u30b6\u30fc\u6a5f\u80fd\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u3066\u3044\u308b\u3082\u306e\u3068\u3057\u307e\u3059\u3002\u3082\u3057\u307e\u3060\u306e\u5834\u5408\u306f<a href=\"https:\/\/blog.capilano-fw.com\/?p=289\">\u3010Laravel5.6\u3011\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306b\u3084\u308b\u3053\u3068\uff13\u70b9<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067<code>users<\/code>\u30c6\u30fc\u30d6\u30eb\u7528\u306e<code>Seeder<\/code>\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre><strong>php artisan make:seed UsersTableSeeder<\/strong><\/pre>\n<pre><strong>public function run()<\/strong>\r\n<strong>{<\/strong>\r\n<strong>    $names = [<\/strong>\r\n<strong>        'taro' =&gt; '\u592a\u90ce',<\/strong>\r\n<strong>        'jiro' =&gt; '\u6b21\u90ce',<\/strong>\r\n<strong>        'hanako' =&gt; '\u82b1\u5b50'<\/strong>\r\n<strong>    ];<\/strong>\r\n\r\n<strong>    foreach ($names as $name_en =&gt; $name_jp) {<\/strong>\r\n\r\n<strong>        \\App\\User::create([<\/strong>\r\n<strong>            'name' =&gt; $name_jp,<\/strong>\r\n<strong>            'email' =&gt; $name_en .'@example.com',<\/strong>\r\n<strong>            'password' =&gt; bcrypt('xxxxxxxx')<\/strong>\r\n<strong>        ]);<\/strong>\r\n\r\n<strong>    }<\/strong>\r\n<strong>}<\/strong><\/pre>\n<p><code>UsersTableSeeder.php<\/code>\u306e\u5909\u66f4\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001<code>DatabaseSeeder.php<\/code>\u306b\u767b\u9332\u3057\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>public function run()\r\n{\r\n     <strong>$this-&gt;call(UsersTableSeeder::class);<\/strong>\r\n}<\/pre>\n<pre><strong>php artisan migrate:fresh --seed<\/strong><\/pre>\n<p>\u3053\u308c\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u30c6\u30b9\u30c8\u30e6\u30fc\u30b6\u30fc\u306e\u6e96\u5099\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1560\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/users_table.png\" alt=\"\" width=\"522\" height=\"312\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/users_table.png 522w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/users_table-300x179.png 300w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/p>\n<h2>\u30e1\u30fc\u30eb\u672c\u4f53\u3092\u4f5c\u308b<\/h2>\n<p>\u3067\u306f\u3001\u958b\u5c01\u30c1\u30a7\u30c3\u30af\u30e1\u30fc\u30eb\u672c\u4f53\u3092\u4f5c\u6210\u3059\u308b\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u30e1\u30fc\u30eb\u9001\u4fe1\u306b\u4f7f\u3046<code>Mailable<\/code>\u3092\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>php artisan make:mail CheckMail<\/strong><\/pre>\n<p>\u305d\u3057\u3066\u3001\u4f5c\u6210\u3055\u308c\u305f<code>app\/Mail\/CheckMail.php<\/code>\u3092\u958b\u3044\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u8ff0\u3092\u3057\u307e\u3059\u3002<\/p>\n<pre>&lt;?php\r\n\r\nnamespace App\\Mail;\r\n\r\nuse App\\User;\r\nuse Illuminate\\Bus\\Queueable;\r\nuse Illuminate\\Mail\\Mailable;\r\nuse Illuminate\\Queue\\SerializesModels;\r\n\r\nclass CheckMail extends Mailable\r\n{\r\n    use Queueable, SerializesModels;\r\n\r\n    <strong>public $user;<\/strong>\r\n\r\n    public function __construct(<strong>User $user<\/strong>)\r\n    {\r\n        <strong>$this-&gt;user = $user;<\/strong>\r\n    }\r\n\r\n    public function build()\r\n    {\r\n        <strong>return $this-&gt;view('mail.check_mail')<\/strong>\r\n<strong>            -&gt;with('user', $this-&gt;user);<\/strong>\r\n    }\r\n}<\/pre>\n<p>\u305d\u3057\u3066\u3001HTML\u30e1\u30fc\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<code>mail.check_mail<\/code>\u304c\u307e\u3060\u5b58\u5728\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001<code>resources\/views\/mail\/check_mail.blade.php<\/code>\u3092\u4f5c\u3063\u3066\u3001\u4ee5\u4e0b\u3088\u3046\u306a\u5185\u5bb9\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre>\u3053\u3093\u306b\u3061\u306f\u3001{{ $user-&gt;name }}\uff01&lt;br&gt;\r\n\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u3067\u3059\u3002&lt;br&gt;&lt;br&gt;\r\n&lt;img src=\"{{ url('images\/smile.png') }}?<strong>user_id={{ $user-&gt;id }}<\/strong>\"&gt;<\/pre>\n<p>\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u304c\u3001<code>user_id<\/code>=\u306e\u90e8\u5206\u3067\u3059\u3002<br \/>\n\u306a\u305c\u306a\u3089\u3001\u5f8c\u3067\u3053\u306eID\u3092\u4f7f\u3063\u3066\u8ab0\u304c\u30e1\u30fc\u30eb\u3092\u958b\u5c01\u3057\u305f\u304b\u304c\u5206\u304b\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<h2>\u30e1\u30fc\u30eb\u9001\u4fe1\u3059\u308b\u90e8\u5206\u3092\u3064\u304f\u308b<\/h2>\n<p>\u3067\u306f\u7d9a\u3044\u3066\u30e1\u30fc\u30eb\u9001\u4fe1\u3059\u308b\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a<code>routes\/web.php<\/code>\u306b\u4ee5\u4e0b\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8ffd\u52a0\u3057\u3001\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>Route::get('send_check_mail', 'HomeController@send_check_mail');<\/strong><\/pre>\n<pre><strong>php artisan make:controller HomeController<\/strong><\/pre>\n<p>\u305d\u3057\u3066\u3001<code>HomeController<\/code>\u5185\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<pre>public function send_check_mail() {\r\n\r\n    $users = \\App\\User::get();\r\n\r\n    foreach ($users as $user) {\r\n\r\n        \/\/ \u30e1\u30fc\u30eb\u9001\u4fe1\r\n        <strong>\\Mail::to($user)-&gt;send(new CheckMail($user));<\/strong>\r\n\r\n    }\r\n\r\n}<\/pre>\n<p>\u3053\u308c\u3067\u3001<code>https:\/\/******\/send_check_mail<\/code>\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u958b\u5c01\u30c1\u30a7\u30c3\u30af\u30e1\u30fc\u30eb\u304c\u9001\u4fe1\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\uff08\u305f\u3060\u3057\u3001\u307e\u3060\u753b\u50cf\u306e\u8868\u793a\u90e8\u5206\u304c\u3067\u304d\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u30e1\u30fc\u30eb\u306f\u5f8c\u3067\u9001\u4fe1\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u3087\u3046\uff09<\/p>\n<h1>\u753b\u50cf\u3092\u8868\u793a\u3059\u308b\u90e8\u5206\u3092\u3064\u304f\u308b<\/h1>\n<h2>\u753b\u50cf\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h2>\n<p>\u4eca\u56de\u306f\u753b\u50cf\u3092\u6271\u3046\u306e\u3067\u3001\u307e\u305a\u306f\u6709\u540d\u306a\u753b\u50cf\u30e9\u30a4\u30d6\u30e9\u30ea <a href=\"https:\/\/github.com\/Intervention\/image\" target=\"_blank\" rel=\"noopener\">Intervention\/image<\/a> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e<code>composer<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u4e00\u6c17\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><strong>composer require intervention\/image<\/strong><\/pre>\n<p>\u203b Laravel 5.5\u4ee5\u4e0a\u306a\u3089<code>Package Auto-Discovery<\/code>\u304c\u3042\u308b\u306e\u3067\u81ea\u52d5\u7684\u306b\u30a8\u30a4\u30ea\u30a2\u30b9\u306a\u3069\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u308c\u307e\u3059\u304c\u3001\u305d\u308c\u3088\u308a\u524d\u306e\u3082\u306e\u306a\u3089<code>config\/app.php<\/code>\u3078\u4ee5\u4e0b\u3092\u767b\u9332\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre>\/\/ providers\r\nIntervention\\Image\\ImageServiceProvider::class<\/pre>\n<pre>\/\/ aliases\r\n'Image' =&gt; Intervention\\Image\\Facades\\Image::class<\/pre>\n<h2>\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u3064\u304f\u308b<\/h2>\n<p>\u3067\u306f\u6b21\u306bHTML\u3067\u8868\u793a\u3059\u308b\u753b\u50cf\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u3064\u304f\u308a\u307e\u3059\u3002<br \/>\n\u30d5\u30a1\u30a4\u30eb\u306f\u3001<code>routes\/web.php<\/code>\u3067\u3059\u3002<\/p>\n<pre><strong>Route::get('images\/smile.png', 'ImageController@smile');<\/strong> \/\/ \u753b\u50cf\u306b\u898b\u305b\u304b\u3051\u308b\u305f\u3081\u300c.png\u300d\u3092\u3064\u3051\u308b<\/pre>\n<h2>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u3064\u304f\u308b<\/h2>\n<p>\u307e\u3060<code>ImageController<\/code>\u306f\u5b58\u5728\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>php artisan make:controller ImageController<\/strong><\/pre>\n<p>\u305d\u3057\u3066\u3001\u4f5c\u6210\u3057\u305f<code>app\/Http\/Controllers\/ImageController.php<\/code>\u306b<code>smile()<\/code>\u3092\u8ffd\u52a0\u3057\u3001\u3053\u3053\u306b\u753b\u50cf\u30c7\u30fc\u30bf\u306e\u6e96\u5099\u3068\u3001\u500b\u4ebaID\u3092\u4fdd\u5b58\u3059\u308b\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u753b\u50cf\u3092\u30ec\u30b9\u30dd\u30f3\u30b9\u3068\u3057\u3066\u8fd4\u3059<\/h3>\n<p>\u753b\u50cf\u306e\u8868\u793a\u306f\u3068\u3066\u3082\u7c21\u5358\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>intervention<\/code>\u306e<code>make()<\/code>\u306b\u753b\u50cf\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3057\u3001<code>response()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u8fd4\u3059\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre>public function smile() {\r\n\r\n<strong>    $path = storage_path('app\/images\/smile.png');<\/strong>\r\n<strong>    $image = \\Image::make($path);<\/strong>\r\n<strong>    return $image-&gt;response();<\/strong>\r\n\r\n}<\/pre>\n<p>\u3053\u308c\u3067<code>https:\/\/*****\/images\/smile.png<\/code>\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u753b\u50cf\u304c\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1558\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/smile.png\" alt=\"\" width=\"256\" height=\"256\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/smile.png 256w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/smile-150x150.png 150w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/smile-100x100.png 100w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/p>\n<h3>\u500b\u4ebaID\u3092\u4fdd\u5b58\u3059\u308b<\/h3>\n<p>\u6b21\u306b\u500b\u4ebaID\u3092\u4fdd\u5b58\u3059\u308b\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u30e1\u30fc\u30eb\u3092\u958b\u5c01\u3057\u305f\u30e6\u30fc\u30b6\u30fc\uff08\u306eID\uff09\u3092\u4fdd\u5b58\u3059\u308b\u30c6\u30fc\u30d6\u30eb<code>email_opened_users<\/code>\u3092\u4f5c\u3063\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><strong>php artisan make:model EmailOpenedUser -m<\/strong><\/pre>\n<p>\u3053\u308c\u3067\u3001\u30e2\u30c7\u30eb\u306b\u52a0\u3048\u3066\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3082\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u3001<code>****_**_**_******_create_email_opened_users_table.php<\/code>\u3092\u958b\u3044\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre>public function up()\r\n{\r\n    Schema::create('email_opened_users', function (Blueprint $table) {\r\n        $table-&gt;increments('id');\r\n        <strong>$table-&gt;unsignedInteger('user_id')-&gt;references('id')-&gt;on('users');<\/strong>\r\n        $table-&gt;timestamps();\r\n    });\r\n}<\/pre>\n<p>\u3067\u306f\u6b21\u306b\u3001\u3053\u306e\u30c6\u30fc\u30d6\u30eb\u3078\u30e1\u30fc\u30eb\u3092\u958b\u5c01\u3057\u305f\u30e6\u30fc\u30b6\u30fcID\u3092\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002\u3068\u3001\u8a00\u3063\u3066\u3082\u30e1\u30fc\u30eb\u3092\u958b\u5c01\u3057\u305f\u6642\u70b9\u3067GET\u30d1\u30e9\u30e1\u30fc\u30bf\u306e<code>user_id<\/code>\u306bID\u304c\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3001<code>Request<\/code>\u304b\u3089\u53d6\u5f97\u3057\u3066\u4fdd\u5b58\u3059\u308b\u3060\u3051\u3067OK\u3067\u3059\u3002<\/p>\n<pre>class ImageController extends Controller\r\n{\r\n    public function smile(<strong>Request $request<\/strong>) {\r\n\r\n<strong>        $email_opened_user = new \\App\\EmailOpenedUser();<\/strong>\r\n<strong>        $email_opened_user-&gt;user_id = $request-&gt;user_id;<\/strong>\r\n<strong>        $email_opened_user-&gt;save();<\/strong>\r\n\r\n        \/\/ \u7701\u7565\r\n    }\r\n}<\/pre>\n<p>\u203b \u3061\u306a\u307f\u306b<code>user_id<\/code>\u306a\u3069\u3068\u66f8\u3044\u3066\u3057\u307e\u3046\u3068\u3001\u30e6\u30fc\u30b6\u30fc\u5074\u306b\u767a\u898b\u3055\u308c\u305f\u3068\u304d\u4e0d\u5b89\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u5b9f\u969b\u306b\u306f\u4e8b\u524d\u306b<code>q1T9PKF6IMQRHilE<\/code>\u3068\u3044\u3046\u3088\u3046\u306a\u30e6\u30cb\u30fc\u30af\u306aID\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u632f\u3063\u3066\u304a\u3044\u3066\u3001\u3053\u308c\u3092\u30ad\u30fc\u306b\u3057\u3066\u500b\u4eba\u3092\u7279\u5b9a\u3059\u308b\u5834\u5408\u304c\u591a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u203b \u307e\u305f\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u5165\u3063\u3066\u3044\u308b\u3053\u3068\u81ea\u4f53\u306b\u4e0d\u4fe1\u611f\u3092\u3082\u3064\u30e6\u30fc\u30b6\u30fc\u3082\u3044\u308b\u305f\u3081\u304b\u3001\u4e2d\u306b\u306f<code>https:\/\/<strong>q1T9PKF6IMQRHilE<\/strong>.example.com<\/code>\u306e\u3088\u3046\u306b\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u306e\u4e2d\u306b\u30ad\u30fc\u3092\u57cb\u3081\u8fbc\u3080\u30b5\u30a4\u30c8\u3082\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u305d\u306e\u5834\u5408\u306f<code>apache<\/code>\u3084<code>nginx<\/code>\u306a\u3069\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3068\u306e\u9023\u643a\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<h1>\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u307f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><code>http:\/\/******\/send_check_mail<\/code>\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u9001\u4fe1\u3055\u308c\u305f\u30e1\u30fc\u30eb\u5185\u306e\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u308b\u304b\u3001\u307e\u305f\u3001\u30e1\u30fc\u30eb\u958b\u5c01\u3057\u305f\u30e6\u30fc\u30b6\u30fcID\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u203b \u3061\u306a\u307f\u306b\u30e1\u30fc\u30eb\u306e\u30c6\u30b9\u30c8\u9001\u4fe1\u306b\u306f\u64ec\u4f3c\u7684\u306b\u30ed\u30fc\u30ab\u30eb\u306b\u9001\u4fe1\u3067\u304d\u308b<a href=\"https:\/\/mailcatcher.me\/\" target=\"_blank\" rel=\"noopener\">mailcatcher<\/a>\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1561\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-17-02-10-01.png\" alt=\"\" width=\"787\" height=\"619\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-17-02-10-01.png 787w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-17-02-10-01-300x236.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-17-02-10-01-768x604.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>\u306f\u3044\uff01\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u304d\u3061\u3093\u3068\uff13\u4eba\u306b\u30e1\u30fc\u30eb\u9001\u4fe1\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u3001\u592a\u90ce\u304f\u3093\u306e\u30e1\u30fc\u30eb\u3092\u958b\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u3046\u307e\u304f\u753b\u50cf\u3082\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u958b\u5c01\u8005\u30c6\u30fc\u30d6\u30eb\u306f\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1562\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/email_opened_users_table_1.png\" alt=\"\" width=\"451\" height=\"265\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/email_opened_users_table_1.png 451w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/email_opened_users_table_1-300x176.png 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/p>\n<p>\u592a\u90ce\u3055\u3093\u306eID\u306f\u300c\uff11\u300d\u306a\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u3046\u307e\u304f\u3044\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3067\u306f\u3001\u7d9a\u3044\u3066\u82b1\u5b50\u3055\u3093\u306e\u30e1\u30fc\u30eb\u3082\u958b\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1564\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/check_mail.png\" alt=\"\" width=\"787\" height=\"619\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/check_mail.png 787w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/check_mail-300x236.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/check_mail-768x604.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>\u3053\u3061\u3089\u3082\u3046\u307e\u304f\u753b\u50cf\u307e\u3067\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1565\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/email_opened_users_table_2.png\" alt=\"\" width=\"452\" height=\"291\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/email_opened_users_table_2.png 452w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/10\/email_opened_users_table_2-300x193.png 300w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/p>\n<p>\u30c6\u30fc\u30d6\u30eb\u306b\u3082\u82b1\u5b50\u3055\u3093\u306eID\u300c\uff13\u300d\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3059\u3079\u3066\u5b8c\u4e86\u3067\u3059\uff01<\/p>\n<h1>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h1>\n<p>\u4eca\u56de\u4f5c\u6210\u3057\u305f\u30b3\u30fc\u30c9\u4e00\u5f0f\u3092\u4ee5\u4e0b\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u203b \u305f\u3060\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4e0a\u66f8\u304d\u3059\u308b\u5834\u5408\u306f\u6c17\u3092\u3064\u3051\u3066\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<a  data-e-Disable-Page-Transition=\"true\" class=\"download-link\" title=\"\" href=\"https:\/\/blog.capilano-fw.com?download=1568&amp;tmstv=1777569702\" rel=\"nofollow\" id=\"download-link-1568\" data-redirect=\"false\" >\n\tLaravel\u3067\u30e1\u30fc\u30eb\u304c\u958b\u5c01\u3055\u308c\u305f\u304b\u78ba\u304b\u3081\u308b\u6a5f\u80fd\u30fb\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u4e00\u5f0f<\/a>\n\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u30a6\u30a7\u30d6\u958b\u767a\u3092\u9577\u3089\u304f\u7d9a\u3051\u3066\u3044\u308b\u3068\u69d8\u3005\u306a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3055\u3093\u305f\u3061\u306e\u3054\u5e0c\u671b\u306b\u89e6\u308c\u308b\u6a5f\u4f1a\u304c\u3042\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u306f\u305d\u3093\u306a\u4e2d\u304b\u3089\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u95a2\u308f\u308b\u3082\u306e\u3092\u30c1\u30e7\u30a4 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=1554\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308b\uff01Laravel\u3067\u30e1\u30fc\u30eb\u304c\u958b\u5c01\u3055\u308c\u305f\u304b\u78ba\u304b\u3081\u308b\u6a5f\u80fd\u3092\u3064\u304f\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":1573,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,97],"tags":[47,81],"class_list":["post-1554","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","category-97","tag-47","tag-81"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/1554","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=1554"}],"version-history":[{"count":4,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/1554\/revisions"}],"predecessor-version":[{"id":1572,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/1554\/revisions\/1572"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/1573"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}