{"id":11686,"date":"2023-06-03T07:00:35","date_gmt":"2023-06-02T22:00:35","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=11686"},"modified":"2023-05-28T18:07:12","modified_gmt":"2023-05-28T09:07:12","slug":"%e6%89%8b%e8%bb%bd%e3%81%ab%e5%ad%a6%e3%81%b6%ef%bc%9alaravel-10-x%e3%81%ab%e3%82%88%e3%82%8b%e3%82%a6%e3%82%a3%e3%83%83%e3%82%b7%e3%83%a5%e3%83%aa%e3%82%b9%e3%83%88%e3%81%b8%e3%81%ae%e3%83%a1","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=11686","title":{"rendered":"\u624b\u8efd\u306b\u5b66\u3076\uff1aLaravel 10.x\u306b\u3088\u308b\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u3078\u306e\u30e1\u30fc\u30eb\u767b\u9332\u3068\u30ad\u30e5\u30fc\u9001\u4fe1"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u3053\u306e\u6570\u30f6\u6708\u306f<code>ChatGPT<\/code>\u306b\u4ee3\u8868\u3059\u308b\u751f\u6210AI\u304c\u4e00\u822c\u7684\u306b\u5e83\u304c\u3063\u305f\u306e\u3067\u3001\u79c1\u3082\u4f8b\u306b\u3082\u308c\u305a\u30c9\u30c3\u30d7\u30ea\u3068\u4f53\u9a13\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u3093\u306a\u4e2d\u3067\u300c<strong>\u3042\u3001\u3053\u308c\u306f\u500b\u4eba\u30b5\u30fc\u30d3\u30b9\u306b\u3082\u3042\u308b\u3068\u4fbf\u5229\u3060\u306a<\/strong>\u300d\u3068\u601d\u3046\u6a5f\u80fd\u306b\u906d\u9047\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u306f\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><strong style=\"font-size: 35px;\">\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8<\/strong><\/p>\n<p>\u3067\u3059\u3002<\/p>\n<p>\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u3068\u306f\u3001\u4f8b\u3048\u3070\u300c<strong>\u307e\u3060\u3053\u306e\u30b5\u30a4\u30c8\u306f\u30ea\u30ea\u30fc\u30b9\u307e\u3067\u6642\u9593\u304c\u3042\u308b\u3051\u3069\u3001\u30ea\u30ea\u30fc\u30b9\u3057\u305f\u3089\u304a\u77e5\u3089\u305b\u3059\u308b\u3088\ud83d\udc4d<\/strong>\u300d\u3068\u3044\u3046\u6a5f\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b \u3053\u308c\u306f\u3001<code>ChatGPT<\/code>\u3084<code>Bard<\/code>\u3067\u3082\u63a1\u7528\u3055\u308c\u3066\u307e\u3057\u305f\u3088\u306d\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u3053\u306e\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u304c\u306a\u305c\u30d7\u30e9\u30b9\u306a\u306e\u304b\u3068\u3044\u3046\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><strong style=\"font-size: 35px;\">\u30ea\u30ea\u30fc\u30b9\u5148\u306b\u9700\u8981\u3092\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u304b\u3089<\/strong><\/p>\n<p>\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u304c\u591a\u304f\u96c6\u307e\u308c\u3070\u307f\u3093\u306a\u304c\u6b32\u3057\u304c\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3057\u3001\u305d\u306e\u9006\u306e\u5834\u5408\u306f\u300c<strong>\u3042\u308c\uff01\uff1f\u81ea\u5206\u306e\u4e2d\u3067\u306f\u76db\u308a\u4e0a\u304c\u3063\u3066\u305f\u3051\u3069\u3001\u307f\u3093\u306a\u306f\u597d\u304d\u3058\u3083\u306a\u3044\u306e\u306d\u2026<\/strong>\u300d\u3068\u3044\u3046\u5224\u65ad\u304c\u3067\u304d\u308b\u304b\u3089\u3067\u3059\u3002\uff08\ud83d\udc48\u3053\u308c\u30af\u30e9\u30a6\u30c9\u30d5\u30a1\u30f3\u30c7\u30a3\u30f3\u30b0\u3084\u53d7\u6ce8\u751f\u7523\u3068\u540c\u3058\u4f5c\u6226\u3067\u3059\u306d\uff09<\/p>\n<p>\u305d\u3053\u3067\u2757<\/p>\n<p>\u4eca\u56de\u306f\u300c<strong>Laravel 10.x + React<\/strong>\u300d\u3092\u4f7f\u3063\u3066\u3053\u306e\u300c<strong>\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8<\/strong>\u300d\u6a5f\u80fd\u3092\u3064\u304f\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u4f55\u304b\u306e\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3089\u5b09\u3057\u3044\u3067\u3059\u3002\ud83d\ude04\u2728<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2173 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24.png\" alt=\"\" width=\"300\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24-281x300.png 281w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>\u300c\u5de6\u53f3\uff15\u672c\u305a\u3064\u3058\u3083\u306a\u304f\u3001<br \/>\n10\u672c\u306e\u6307\u3092\uff11\u3064\u306e\u610f\u8b58\u3067<br \/>\n\u30d4\u30a2\u30ce\u6f14\u594f\u3067\u304d\u308b\u3088\u3046\u7814\u7a76\u4e2d\u3067\u3059\u300d<\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Laravel 10.x\u3001React\u3001Inertia.js\u3001TailwindCSS\u3001Vite<\/p>\n<h1>\u30e2\u30c7\u30eb\uff06\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u7528\u610f\u3059\u308b<\/h1>\n<p>\u3067\u306f\u3001\u307e\u305a\u306f<code>DB<\/code>\u5468\u308a\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan make:model Wishlist -m\r\n<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u30e2\u30c7\u30eb\u3068\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u4e2d\u8eab\u3092\u305d\u308c\u305e\u308c\u6b21\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><strong>app\/Models\/Wishlist.php<\/strong><\/p>\n<pre>&lt;?php\r\n\r\nnamespace App\\Models;\r\n\r\nuse Illuminate\\Database\\Eloquent\\Factories\\HasFactory;\r\nuse Illuminate\\Database\\Eloquent\\Model;\r\n\r\nclass Wishlist extends Model\r\n{\r\n    use HasFactory;\r\n\r\n    <strong>protected $guarded = ['id']; \/\/ \ud83d\udc48\u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n}\r\n\r\n<\/pre>\n<p>\u305d\u3057\u3066\u3001\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p><strong>database\/migrations\/****_**_**_******_create_wishlists_table.php<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\npublic function up(): void\r\n{\r\n    <strong>Schema::create('wishlists', function (Blueprint $table) {\r\n        $table-&gt;id();\r\n        $table-&gt;string('email')-&gt;comment('\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9');\r\n        $table-&gt;text('memo')-&gt;nullable()-&gt;comment('\u30e1\u30e2');\r\n        $table-&gt;timestamps();\r\n    });<\/strong>\r\n}\r\n\r\n\/\/ \u7701\u7565\r\n<\/pre>\n<p>\u3067\u306f\u3001\u3053\u306e\u72b6\u614b\u3067\u30c6\u30fc\u30d6\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan migrate\r\n<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u5b9f\u969b\u306e\u30c6\u30fc\u30d6\u30eb\u306f\u3053\u3046\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11693\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_6.png\" alt=\"\" width=\"404\" height=\"288\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_6.png 404w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_6-300x214.png 300w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/p>\n<h1>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u3064\u304f\u308b<\/h1>\n<p>\u7d9a\u3044\u3066\u3001\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u767b\u9332\u30d5\u30a9\u30fc\u30e0\u3092\u3064\u304f\u3063\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan make:controller WishlistController\r\n<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u4e2d\u8eab\u3092\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><strong>app\/Http\/Controllers\/WishlistController.php<\/strong><\/p>\n<pre><strong>&lt;?php\r\n\r\nnamespace App\\Http\\Controllers;\r\n\r\nuse App\\Models\\Wishlist;\r\nuse Illuminate\\Http\\Request;\r\nuse Inertia\\Inertia;\r\n\r\nclass WishlistController extends Controller\r\n{\r\n    public function create()\r\n    {\r\n        return Inertia::render('Wishlist\/Create');\r\n    }\r\n\r\n    public function store(Request $request)\r\n    {\r\n        $request-&gt;validate([\r\n            'email' =&gt; 'required|email',\r\n        ]);\r\n\r\n        $wishlist = Wishlist::firstOrNew([\r\n            'email' =&gt; $request-&gt;email,\r\n        ]);\r\n        $wishlist-&gt;email = $request-&gt;email;\r\n        $wishlist-&gt;memo = $request-&gt;memo;\r\n        $wishlist-&gt;save();\r\n\r\n        return redirect()-&gt;route('wishlist.create')-&gt;with('message', '\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u304c\u767b\u9332\u3055\u308c\u307e\u3057\u305f\uff01');\r\n    }\r\n}<\/strong><\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u306f\u3001<code>create()<\/code>\u304c\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u767b\u9332\u30d5\u30a9\u30fc\u30e0\u3067\u3001<code>store()<\/code>\u304c\u305d\u306e\u9001\u4fe1\u5148\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h1>\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30c3\u30bb\u30fc\u30b8\u304c React \u5074\u3067\u53d7\u3051\u53d6\u308c\u308b\u3088\u3046\u306b\u3059\u308b<\/h1>\n<p>\u306a\u304a\u3001\u5148\u307b\u3069\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u5185\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u304c\u3042\u3063\u305f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre><strong>return redirect()-&gt;route('wishlist.create')-&gt;with('message', '\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u304c\u767b\u9332\u3055\u308c\u307e\u3057\u305f\uff01');\r\n<\/strong><\/pre>\n<p>\u610f\u5473\u3068\u3057\u3066\u306f\u3001\u6307\u5b9a\u3057\u305f<code>URL<\/code>\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u3068\u540c\u6642\u306b\u300c<strong>\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30c3\u30bb\u30fc\u30b8<\/strong>\u300d\u3082\u30bb\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u306f\u3001\u4eca\u56de\u306e\u3088\u3046\u306b\u300c<strong>\u767b\u9332\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f<\/strong>\u300d\u3068\u3044\u3046\u3088\u3046\u306a\u4e00\u6642\u7684\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u3053\u3068\u3067\u3001\u3053\u308c\u306f\u300c\u30bb\u30c3\u30b7\u30e7\u30f3\u300d\u3068\u547c\u3070\u308c\u308b\u7bb1\u3067\u4fdd\u6301\u3055\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u305f\u5148\u3067\u305d\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u308f\u3051\u3067\u3059\u306d\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001<code>Laravel<\/code>\u3067\u30bb\u30c3\u30c8\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092<code>Inertia + React<\/code>\u3067\u53d7\u3051\u53d6\u308b\u305f\u3081\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3072\u3068\u624b\u9593\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001\u5148\u306b\u8ffd\u52a0\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>app\/Providers\/AppServiceProvider.php<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\npublic function boot(): void\r\n{\r\n    \/\/ \ud83d\udc47 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\r\n    <strong>Inertia::share('flash', function (Request $request) {\r\n        return [\r\n            'message' =&gt; $request-&gt;session()-&gt;get('message'),\r\n        ];\r\n    });<\/strong>\r\n}\r\n\r\n\/\/ \u7701\u7565\r\n<\/pre>\n<p>\u305d\u3057\u3066\u3001\u6b21\u306e\u9805\u76ee\u3067\u3054\u7d39\u4ecb\u3057\u307e\u3059\u304c\u3001<code>React<\/code>\u5185\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u305d\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><strong>import { usePage } from '@inertiajs\/react'<\/strong>\r\n\r\n\/\/ \u7701\u7565\r\n<strong>const { flash } = usePage().props;\r\n<\/strong><\/pre>\n<h1>\u30d3\u30e5\u30fc\u3092\u3064\u304f\u308b<\/h1>\n<p>\u3067\u306f\u3001<code>WishlistController<\/code>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u5185\u3067\u6307\u5b9a\u3057\u305f\u767b\u9332\u30d5\u30a9\u30fc\u30e0\u306e\u30d3\u30e5\u30fc\uff08<code>React<\/code>\uff09\u3092\u3064\u304f\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>resources\/js\/Pages\/Wishlist\/Create.jsx<\/strong><\/p>\n<pre><strong>import { useForm, usePage } from '@inertiajs\/react'\r\n\r\nexport default function Create() {\r\n\r\n    \/\/ \u30c7\u30fc\u30bf\r\n    const { data, setData, post, reset, processing, errors } = useForm({\r\n        email: '',\r\n        memo: '',\r\n    });\r\n    const handleChange = (e) =&gt; {\r\n\r\n        const key = e.target.id;\r\n        const value = e.target.value;\r\n\r\n        setData(values =&gt; ({\r\n            ...values,\r\n            [key]: value,\r\n        }))\r\n\r\n    }\r\n\r\n    \/\/ \u9001\u4fe1\r\n    const submit = (e) =&gt; {\r\n\r\n        e.preventDefault();\r\n\r\n        const url = route('wishlist.store');\r\n        post(url, {\r\n            data,\r\n            onSuccess: () =&gt; reset('email', 'memo') \/\/ \u5165\u529b\u3092\u30ea\u30bb\u30c3\u30c8\r\n        });\r\n\r\n    };\r\n\r\n    \/\/ \u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30c3\u30bb\u30fc\u30b8\r\n    const { flash } = usePage().props;\r\n\r\n    return (\r\n        &lt;div className=\"container mx-auto px-4 sm:px-6 lg:px-8 py-12\"&gt;\r\n\r\n            {flash.message &amp;&amp; (\r\n                &lt;div className=\"bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded relative mb-6\" role=\"alert\"&gt;\r\n                    &lt;span className=\"block sm:inline\"&gt;{flash.message}&lt;\/span&gt;\r\n                &lt;\/div&gt;\r\n            )}\r\n\r\n            &lt;h1 className=\"text-3xl font-bold text-center mb-6\"&gt;\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u4f5c\u6210&lt;\/h1&gt;\r\n\r\n            &lt;form onSubmit={submit} className=\"w-full max-w-lg mx-auto\"&gt;\r\n\r\n                &lt;div className=\"flex flex-wrap -mx-3 mb-6\"&gt;\r\n                    &lt;label htmlFor=\"email\" className=\"block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2\"&gt;\r\n                        \u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9:\r\n                    &lt;\/label&gt;\r\n\r\n                    &lt;input\r\n                        id=\"email\"\r\n                        type=\"email\"\r\n                        value={data.email}\r\n                        onChange={handleChange}\r\n                        className=\"appearance-none block w-full bg-gray-200 text-gray-700 border-none rounded py-3 px-4 mb-3 leading-tight focus:outline-none focus:bg-white\"\r\n                    \/&gt;\r\n\r\n                    {errors.email &amp;&amp; &lt;p className=\"text-red-500 text-xs italic\"&gt;{errors.email}&lt;\/p&gt;}\r\n                &lt;\/div&gt;\r\n\r\n                &lt;div className=\"flex flex-wrap -mx-3 mb-6\"&gt;\r\n                    &lt;label htmlFor=\"memo\" className=\"block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2\"&gt;\r\n                        \u305d\u306e\u4ed6\u6b32\u3057\u3044\u6a5f\u80fd\u306a\u3069\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044&lt;small&gt;\uff08\u4efb\u610f\uff09:&lt;\/small&gt;\r\n                    &lt;\/label&gt;\r\n\r\n                    &lt;textarea\r\n                        id=\"memo\"\r\n                        value={data.memo}\r\n                        onChange={handleChange}\r\n                        className=\"appearance-none block w-full h-auto bg-gray-200 text-gray-700 border-none rounded py-3 px-4 mb-3 leading-tight focus:outline-none focus:bg-white\"\r\n                    \/&gt;\r\n                &lt;\/div&gt;\r\n\r\n                &lt;div className=\"flex items-center justify-between\"&gt;\r\n                    &lt;button\r\n                        type=\"submit\"\r\n                        className=\"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline\"\r\n                        disabled={processing}\r\n                    &gt;\r\n                        \u9001\u4fe1\r\n                    &lt;\/button&gt;\r\n                &lt;\/div&gt;\r\n            &lt;\/form&gt;\r\n        &lt;\/div&gt;\r\n\r\n    )\r\n\r\n}\r\n<\/strong><\/pre>\n<p>\u3061\u306a\u307f\u306b\u3001\u3044\u3064\u3082\u306f<code>React<\/code>\u3063\u307d\u3055\u3092\u51fa\u3057\u305f\u3044\u306e\u3067<code>useState<\/code>\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306f<code>Inertia<\/code>\u304c\u7528\u610f\u3057\u3066\u304f\u308c\u3066\u3044\u308b<code>useForm()<\/code>\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u78ba\u304b\u306b\u3053\u308c\u3082\u4fbf\u5229\u3067\u3059\u306d\ud83d\udc4d<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u308c\u3067\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u30c7\u30fc\u30bf\u9001\u4fe1\u3059\u308b\u3068\u300c<strong>wishlists<\/strong>\u300d\u30c6\u30fc\u30d6\u30eb\u306b\u30c7\u30fc\u30bf\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h1>\u30e1\u30fc\u30eb\u9001\u4fe1\u3092\u30ad\u30e5\u30fc\u306b\u767b\u9332\u3067\u304d\u308b Artisan \u30b3\u30de\u30f3\u30c9\u3092\u3064\u304f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u3053\u3053\u304b\u3089\u306e\u60f3\u5b9a\u306f\u30b5\u30a4\u30c8\u306e\u958b\u767a\u304c\u5b8c\u4e86\u3057\u3001\u30ea\u30ea\u30fc\u30b9\u6bb5\u968e\u306b\u306a\u3063\u305f\u3082\u306e\u3068\u3057\u3066\u4f5c\u696d\u3092\u9032\u3081\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306b\u767b\u9332\u3055\u308c\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u30ad\u30e5\u30fc\u306b\u767b\u9332\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\u30ad\u30e5\u30fc\u300d\u3068\u3044\u3046\u306e\u306f\u3001\u3068\u3066\u3082\u30b7\u30f3\u30d7\u30eb\u306b\u8a00\u3046\u3068\u300c<strong>\u3061\u3087\u3063\u3068\u305a\u3064\u5b9f\u884c\u3059\u308b<\/strong>\u300d\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4e00\u6c17\u306b\u5927\u91cf\u306e\u30e1\u30fc\u30eb\u9001\u4fe1\u3059\u308b\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u9014\u4e2d\u3067\u6b62\u307e\u3063\u305f\u308a\u30e1\u30e2\u30ea\u4e0d\u8db3\u306b\u306a\u3063\u305f\u308a\u3057\u3066\u90fd\u5408\u304c\u60aa\u3044\u306e\u3067\u3053\u308c\u3092\u5206\u6563\u3057\u3066\u5b9f\u884c\u3057\u3088\u3046\u306d\u3001\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u307e\u305a\u306f\u72ec\u81ea\u306e<code>Artisan<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u3064\u304f\u3063\u3066\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u3053\u306e\u300c\u30ad\u30e5\u30fc\u300d\u306b\u767b\u9332\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan make:command QueueWelcomeEmails\r\n<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u4e2d\u8eab\u3092\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><strong>app\/Console\/Commands\/QueueWelcomeEmails.php<\/strong><\/p>\n<pre><strong>&lt;?php\r\n\r\nnamespace App\\Console\\Commands;\r\n\r\nuse App\\Models\\Wishlist;\r\nuse App\\Mail\\WelcomeEmail;\r\nuse Illuminate\\Console\\Command;\r\nuse Illuminate\\Support\\Facades\\Mail;\r\n\r\nclass QueueWelcomeEmails extends Command\r\n{\r\n    \/**\r\n     * The name and signature of the console command.\r\n     *\r\n     * @var string\r\n     *\/\r\n    protected $signature = 'queue:welcome-emails';\r\n\r\n    \/**\r\n     * The console command description.\r\n     *\r\n     * @var string\r\n     *\/\r\n    protected $description = '\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u30e1\u30fc\u30eb\u3092\u30ad\u30e5\u30fc\u306b\u767b\u9332\u3059\u308b';\r\n\r\n    \/**\r\n     * Execute the console command.\r\n     *\/\r\n    public function handle()\r\n    {\r\n        $wishlists = Wishlist::query()\r\n            -&gt;whereNull('queued_at')\r\n            -&gt;limit(1000)\r\n            -&gt;get();\r\n        $now = now();\r\n\r\n        foreach ($wishlists as $wishlist) { \/\/ \u30ad\u30e5\u30fc\u306b\u767b\u9332\r\n\r\n            Mail::to($wishlist-&gt;email)-&gt;queue(new WelcomeEmail());\r\n\r\n            $wishlist-&gt;queued_at = $now;\r\n            $wishlist-&gt;save();\r\n\r\n        }\r\n\r\n        $this-&gt;info('Done!');\r\n\r\n        return Command::SUCCESS;\r\n    }\r\n}\r\n<\/strong><\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u306f\u3001\u767b\u9332\u3055\u308c\u305f\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u4e2d\u304b\u3089\u6700\u5927<code>1000<\/code>\u4ef6\u3092\u30ad\u30e5\u30fc\u306b\u767b\u9332\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306e\u5b9f\u884c\u306f\u3001<code>php artisan queue:welcome-emails<\/code>\u3068\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067<code>OK<\/code>\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u30ad\u30e5\u30fc\u306f\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u57fa\u672c\u7684\u306b\u305a\u3063\u3068\u5f85\u6a5f\u3057\u3066\u304f\u308c\u3066<code>jobs<\/code>\u30c6\u30fc\u30d6\u30eb\u306b\u30c7\u30fc\u30bf\u304c\u5165\u3063\u3066\u304f\u308b\u3068\u3059\u3050\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u57fa\u672c\u7684\u306b<code>crontab<\/code>\u306a\u3069\u3067\u5b9a\u671f\u5b9f\u884c\u3059\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\uff08\u4eca\u56de\u306f\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u6570\u304c\u5c11\u306a\u3044\u306e\u3067\uff11\u56de\u3067\u5b8c\u4e86\u3057\u307e\u3059\uff09<\/p>\n<h1>\u30e1\u30fc\u30eb\u9001\u4fe1\u3059\u308b\u90e8\u5206\u3092\u3064\u304f\u308b<\/h1>\n<p>\u5148\u307b\u3069\u306e<code>queue:welcome-emails<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u6307\u5b9a\u3057\u305f\u300c<strong>WelcomeEmail<\/strong>\u300d\u3092<code>Laravel<\/code>\u306e\u30e1\u30fc\u30eb\u9001\u4fe1\u6a5f\u80fd\u300c<strong>Mailable<\/strong>\u300d\u3067\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan make:mail WelcomeEmail\r\n<\/strong><\/pre>\n<p>\u3059\u308b\u3068<code>Mailable<\/code>\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u4e2d\u8eab\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><strong>app\/Mail\/WelcomeEmail.php<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\nclass WelcomeEmail extends Mailable\r\n{\r\n    \/\/ \u7701\u7565\r\n\r\n    <strong>public function envelope(): Envelope\r\n    {\r\n        return new Envelope(\r\n            subject: '\u3064\u3044\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff01',\r\n        );\r\n    }<\/strong>\r\n\r\n    <strong>public function content(): Content\r\n    {\r\n        return new Content(\r\n            view: 'emails.welcome',\r\n        );\r\n    }<\/strong>\r\n\r\n\/\/ \u7701\u7565\r\n<\/pre>\n<p>\u305d\u3057\u3066\u3001\u30e1\u30fc\u30eb\u672c\u6587\u306f\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>resources\/views\/emails\/welcome.blade.php<\/strong><\/p>\n<pre><strong>&lt;h1&gt;\u3064\u3044\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff01&lt;\/h1&gt;\r\n&lt;p&gt;\r\n    \u4ee5\u4e0b\u306eURL\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3057\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u3002&lt;br&gt;&lt;br&gt;\r\n    &lt;a href=\"{{ $url }}\"&gt;\uff08\u30b5\u30a4\u30c8\u540d\uff09&lt;\/a&gt;\r\n&lt;\/p&gt;\r\n<\/strong><\/pre>\n<h1>\u30ad\u30e5\u30fc\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u7ba1\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/h1>\n<p><code>Laravel<\/code>\u3067\u306f\u3044\u308d\u3044\u308d\u306a\u30ad\u30e5\u30fc\u306e\u5b9f\u884c\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u306e\u3067\u4eca\u56de\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f7f\u3063\u305f\u65b9\u6cd5\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u30ad\u30e5\u30fc\u3092<code>DB<\/code>\u3067\u7ba1\u7406\u3067\u304d\u308b\u3088\u3046\u6b21\u306e\u4f5c\u696d\u3092\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u307e\u305a\u306f\u4ee5\u4e0b\uff12\u3064\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>php artisan queue:table<\/strong><\/pre>\n<pre><strong>php artisan migrate\r\n<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001<code>jobs<\/code>\u3068\u3044\u3046\u30c6\u30fc\u30d6\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u5b9f\u969b\u306e\u30c6\u30fc\u30d6\u30eb\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11694\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_7.png\" alt=\"\" width=\"371\" height=\"308\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_7.png 371w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_7-300x249.png 300w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/p>\n<p>\u305d\u3057\u3066\u3001\u300c<strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f7f\u3063\u305f\u30ad\u30e5\u30fc<\/strong>\u300d\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081<code>.env<\/code>\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>QUEUE_CONNECTION=database\r\n<\/strong><\/pre>\n<p>\u3053\u308c\u3067<code>DB<\/code>\u306e\u30ad\u30e5\u30fc\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3067\u4f5c\u696d\u306f\u3059\u3079\u3066\u5b8c\u4e86\u3067\u3059\u3002<br \/>\n\u304a\u75b2\u308c\u69d8\u3067\u3057\u305f\ud83d\ude04\u2728<\/p>\n<h1>\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u2757<\/p>\n<p>\u307e\u305a\u306f<code>Vite<\/code>\u3092\u8d77\u52d5\u3057\u3066\u300c<strong>https:\/\/******\/wishlist\/create<\/strong>\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u203b \u306a\u304a\u3001\u4eca\u56de\u306f\u30e1\u30fc\u30eb\u9001\u4fe1\u30c6\u30b9\u30c8\u306b<code>mailcatcher<\/code>\u3092\u4f7f\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u308c\u3082\u8d77\u52d5\u3057\u3066\u304a\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8868\u793a\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11687\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_1.png\" alt=\"\" width=\"570\" height=\"368\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_1.png 570w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_1-300x194.png 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/p>\n<p>\u3067\u306f\u3001\u3053\u306e\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u4ee5\u4e0b\uff13\u3064\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u767b\u9332\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>taro@example.com<\/strong><\/li>\n<li><strong>jiro@example.com<\/strong><\/li>\n<li><strong>saburo@example.com<\/strong><\/li>\n<\/ul>\n<p>\u3067\u306f\u3001\u767b\u9332\u304c\u7d42\u308f\u3063\u305f\u306e\u3067<code>DB<\/code>\u30c6\u30fc\u30d6\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11688\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_2.png\" alt=\"\" width=\"413\" height=\"324\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_2.png 413w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_2-300x235.png 300w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u3046\u307e\u304f\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u306d\ud83d\ude04<\/p>\n<p>\u3067\u306f\u3001\u30b5\u30a4\u30c8\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3082\u306e\u3068\u3057\u3066\u3001\u30e1\u30fc\u30eb\u30ad\u30e5\u30fc\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30ad\u30e5\u30fc\u306e\u5b9f\u884c\u3092\u5f85\u6a5f\u3055\u305b\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre><strong>php artisan queue:work\r\n<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8868\u793a\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11690\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_3.png\" alt=\"\" width=\"511\" height=\"111\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_3.png 511w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_3-300x65.png 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/p>\n<p>\u3067\u306f\u3001\u3053\u306e\u72b6\u614b\u3067\uff08\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u6b62\u3081\u305a\u3001\u5225\u306e\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\uff09\u4ee5\u4e0b\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><strong>php artisan queue:welcome-emails\r\n<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11689\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_4.png\" alt=\"\" width=\"598\" height=\"190\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_4.png 598w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_4-300x95.png 300w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u4f55\u3082\u624b\u52d5\u3067\u306f\u5b9f\u884c\u3057\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u30ad\u30e5\u30fc\u304c\u5b9f\u884c\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u30e1\u30fc\u30eb\u306e\u65b9\u3082\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11691\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_5.png\" alt=\"\" width=\"431\" height=\"391\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_5.png 431w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2023\/05\/laravel_react_wishlist_5-300x272.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u3046\u307e\u304f\uff13\u4eba\u306b\u300c<strong>\u30a6\u30a7\u30eb\u30ab\u30e0\u30e1\u30fc\u30eb<\/strong>\u300d\u304c\u9001\u4fe1\u3055\u308c\u3066\u307e\u3057\u305f\u3002<\/p>\n<p>\u3059\u3079\u3066\u6210\u529f\u3067\u3059\ud83d\ude04\u2728<\/p>\n<h1>\u4f01\u696d\u69d8\u3078\u306e\u3054\u63d0\u6848<\/h1>\n<p>\u4eca\u56de\u306e\u3088\u3046\u306b\u300c<strong>\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8<\/strong>\u300d\u6a5f\u80fd\u3092\u6d3b\u7528\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u30b5\u30a4\u30c8\u30ea\u30ea\u30fc\u30b9\u3060\u3051\u3067\u306a\u304f\u3001\u6a5f\u80fd\u306e\u30ea\u30ea\u30fc\u30b9\u524d\u306b\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u3092\u3064\u304f\u308b\u3053\u3068\u3067\u672c\u5f53\u306b\u4f5c\u6210\u3059\u3079\u304d\u304b\u3069\u3046\u304b\uff08\u30e6\u30fc\u30b6\u30fc\u304c\u671b\u3093\u3067\u3044\u308b\u306e\u304b\u3069\u3046\u304b\uff09\u3092\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/strong><\/li>\n<li><strong>\u4eca\u56de\u306e\u3088\u3046\u306b\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u30d5\u30a9\u30fc\u30e0\u306b\u8981\u671b\u306a\u3069\u306e\u5165\u529b\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u3067\u3001\u3055\u3089\u306b\u30e6\u30fc\u30b6\u30fc\u304c\u4f55\u3092\u6c42\u3081\u3066\u3044\u308b\u306e\u304b\u3092\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/strong><\/li>\n<li><strong>\u3082\u3057\u3082\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u3078\u306e\u767b\u9332\u304c\u5c11\u306a\u304b\u3063\u305f\u5834\u5408\u3067\u3082\u3001\u305d\u308c\u306f\u300c\u30cb\u30fc\u30ba\u304c\u306a\u304b\u3063\u305f\u300d\u3068\u3044\u3046\u5224\u65ad\u304c\u3067\u304d\u3001\u304a\u91d1\u3060\u3051\u3067\u306a\u304f\u6642\u9593\u306e\u30b3\u30b9\u30c8\u3092\u6700\u5c0f\u9650\u306b\u3057\u3066\u64a4\u9000\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/strong><\/li>\n<\/ul>\n<p>\u3082\u3057\u3053\u3046\u3044\u3063\u305f\u6a5f\u80fd\u3092\u3054\u5e0c\u671b\u3067\u3057\u305f\u3089\u3001\u305c\u3072\u304a\u554f\u3044\u5408\u308f\u305b\u304b\u3089\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002\ud83d\ude04\u2728<\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u300c<strong>Laravel + React<\/strong>\u300d\u3067\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u6a5f\u80fd\u3092\u3064\u304f\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u6b63\u76f4\u306a\u3068\u3053\u308d\u3001\u500b\u4eba\u30b5\u30fc\u30d3\u30b9\u306f\u304a\u91d1\u3092\u304b\u3051\u306b\u304f\u3044\u5074\u9762\u3082\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u3068\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u30fb\u30d5\u30a9\u30fc\u30e0\u3060\u3051\u3092\u3064\u304f\u3063\u3066\u30e6\u30fc\u30b6\u30fc\u306e\u53cd\u5fdc\u3092\u898b\u308b\u3068\u3044\u3046\u306e\u3082\u826f\u3044\u4f5c\u6226\u3058\u3083\u306a\u3044\u304b\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u305f\u304f\u3055\u3093\u30a2\u30a4\u30c7\u30a2\u304c\u3042\u308b\u5834\u5408\u3082\u3001\u30a2\u30a4\u30c7\u30a2\u3054\u3068\u306b\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u3092\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3067\u5927\u91cf\u306b\u3064\u304f\u308a\u3001\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u53cd\u5fdc\u306e\u826f\u304b\u3063\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3060\u3051\u5b9f\u969b\u306b\u30b5\u30a4\u30c8\u5316\u3059\u308b\u3068\u3044\u3046\u306e\u3082\u7406\u306b\u304b\u306a\u3063\u305f\u65b9\u6cd5\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002\uff08\u3053\u306e\u5834\u5408\u30a6\u30a7\u30d6\u5e83\u544a\u306a\u3069\u3092\u4f75\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u591a\u5c11\u30b3\u30b9\u30c8\u306f\u304b\u304b\u308a\u307e\u3059\u304c\u2026\ud83d\ude05\uff09<\/p>\n<p>\u305c\u3072\u307f\u306a\u3055\u3093\u3082\u8272\u3005\u3068\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u306e\u4f7f\u3044\u65b9\u3092\u8003\u3048\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\u2757<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4328 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_3.png\" alt=\"\" width=\"364\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_3.png 364w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_3-300x264.png 300w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/>\u300c\u59ea\u3063\u5b50\u304c\u3044\u305f\u305a\u3089\u3067<br \/>\n\u9a5a\u304b\u3057\u3066\u304d\u305f\u7d50\u679c\u3001<br \/>\n\u3061\u3087\u3063\u3068\u8170\u3092\u3044\u305f\u3081\u307e\u3057\u305f\ud83d\ude02\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u3053\u306e\u6570\u30f6\u6708\u306fChatGPT\u306b\u4ee3\u8868\u3059\u308b\u751f\u6210AI\u304c\u4e00\u822c\u7684\u306b\u5e83\u304c\u3063\u305f\u306e\u3067\u3001\u79c1\u3082\u4f8b\u306b\u3082\u308c\u305a\u30c9\u30c3\u30d7\u30ea\u3068\u4f53\u9a13\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u305d\u3057\u3066\u3001\u305d\u3093\u306a\u4e2d\u3067\u300c\u3042\u3001\u3053\u308c\u306f &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=11686\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u624b\u8efd\u306b\u5b66\u3076\uff1aLaravel 10.x\u306b\u3088\u308b\u30a6\u30a3\u30c3\u30b7\u30e5\u30ea\u30b9\u30c8\u3078\u306e\u30e1\u30fc\u30eb\u767b\u9332\u3068\u30ad\u30e5\u30fc\u9001\u4fe1&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":11698,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,118,249],"tags":[],"class_list":["post-11686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","category-react-js","category-tailwind-css"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/11686","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=11686"}],"version-history":[{"count":5,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/11686\/revisions"}],"predecessor-version":[{"id":11699,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/11686\/revisions\/11699"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/11698"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}