{"id":49104,"date":"2023-08-21T22:30:24","date_gmt":"2023-08-21T13:30:24","guid":{"rendered":"https:\/\/kinqsta.com\/jp\/?p=49104&#038;preview=true&#038;preview_id=49104"},"modified":"2023-08-29T21:37:55","modified_gmt":"2023-08-29T12:37:55","slug":"laravel-throttle","status":"publish","type":"post","link":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/","title":{"rendered":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u30ec\u30fc\u30c8\u5236\u9650\u306f\u3001\u30a2\u30d7\u30ea\u3084\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u904e\u5270\u307e\u305f\u306f\u4e0d\u9069\u5207\u306a\u4f7f\u7528\u304b\u3089\u4fdd\u8b77\u3059\u308b\u305f\u3081\u306b\u91cd\u8981\u3067\u3059\u3002\u60aa\u610f\u306e\u3042\u308b\u884c\u70ba\u306e\u4ecb\u5165\u3001\u30dc\u30c3\u30c8\u306b\u3088\u308b\u653b\u6483\u3001\u307e\u305f\u306f\u898b\u904e\u3054\u3055\u308c\u305f\u8106\u5f31\u6027\u306a\u3069\u3001\u7406\u7531\u306f\u4f55\u3067\u3042\u308c\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u4e0d\u6b63\u4f7f\u7528\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u306e\u6b63\u5f53\u306a\u30a2\u30af\u30bb\u30b9\u3092\u59a8\u3052\u3001\u6df1\u523b\u306a\u30ea\u30b9\u30af\u3092\u3082\u305f\u3089\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>Laravel\u3067API\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u5236\u9650\u3059\u308b<\/h2>\n<p>\u30ec\u30fc\u30c8\u5236\u9650\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u643e\u53d6\u3092\u7de9\u548c\u3059\u308b\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u305f\u30e1\u30ab\u30cb\u30ba\u30e0\u3067\u3059\u3002\u591a\u304f\u306e\u7528\u9014\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u7279\u306b\u5927\u898f\u6a21\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30d6\u30ea\u30c3\u30afAPI\u306b\u6709\u7528\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u3059\u3079\u3066\u306e\u6b63\u5f53\u306a\u30e6\u30fc\u30b6\u30fc\u304c\u30b7\u30b9\u30c6\u30e0\u30ea\u30bd\u30fc\u30b9\u306b\u516c\u5e73\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30ec\u30fc\u30c8\u5236\u9650\u306f\u307e\u305f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3001\u30b3\u30b9\u30c8\u7ba1\u7406\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u5b89\u5b9a\u6027\u306b\u3068\u3063\u3066\u3082\u91cd\u8981\u3067\u3059\u3002\u5206\u6563\u30b5\u30fc\u30d3\u30b9\u62d2\u5426\uff08DDoS\uff09\u653b\u6483\u306a\u3069\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u653b\u6483\u3092\u9632\u3050\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u3053\u306e\u653b\u6483\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u7e70\u308a\u8fd4\u3057\u9001\u4fe1\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u5727\u5012\u3057\u3001\u59a8\u5bb3\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u306f\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\u8981\u6c42\u8005\u3092\u7279\u5fb4\u4ed8\u3051\u308b\u5909\u6570\u3092\u4f7f\u7528\u3057\u3001\u8ab0\u304c\u3069\u306e\u7a0b\u5ea6\u306e\u983b\u5ea6\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u304b\u3092\u6c7a\u5b9a\u3067\u304d\u307e\u3059\u3002\u4e00\u822c\u7684\u306a\u5909\u6570\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>IP\u30a2\u30c9\u30ec\u30b9<\/strong>\uff1aIP\u30a2\u30c9\u30ec\u30b9\u306b\u57fa\u3065\u3044\u3066\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30c9\u30ec\u30b9\u3054\u3068\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u6570\u3092\u5236\u9650\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u8a8d\u8a3c\u60c5\u5831\u3092\u63d0\u4f9b\u305b\u305a\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u72b6\u6cc1\u3067\u7279\u306b\u6709\u76ca\u3067\u3059\u3002<\/li>\n<li><strong>API\u30ad\u30fc<\/strong>\uff1aAPI\u30ad\u30fc\u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u3092\u5236\u9650\u3059\u308b\u5834\u5408\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u9001\u4fe1\u8005\u306bAPI\u30ad\u30fc\u3092\u63d0\u4f9b\u3057\u3001\u30ad\u30fc\u3054\u3068\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u624b\u6cd5\u3067\u306f\u3001\u751f\u6210\u3057\u305fAPI\u30ad\u30fc\u3054\u3068\u306b\u5225\u306e\u30a2\u30af\u30bb\u30b9\u30ec\u30d9\u30eb\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID<\/strong>\uff1a\u30e6\u30fc\u30b6\u30fc\u304cAPI\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30d8\u30c3\u30c0\u30fc\u3084\u672c\u6587\u306b\u57cb\u3081\u8fbc\u3080\u3053\u3068\u306e\u3067\u304d\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID\u3092\u3001\u4e8b\u524d\u306b\u751f\u6210\u3057\u3066\u304a\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30b7\u30b9\u30c6\u30e0\u30ea\u30bd\u30fc\u30b9\u3092\u72ec\u5360\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3001ID\u3054\u3068\u306b\u30a2\u30af\u30bb\u30b9\u30ec\u30d9\u30eb\u3092\u8a2d\u5b9a\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<\/ul>\n<h3>Laravel\u30df\u30c9\u30eb\u30a6\u30a7\u30a2<\/h3>\n<p>\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5165\u308b<a href=\"https:\/\/kinqsta.com\/jp\/blog\/javascript-http-request\/\">HTTP\u30ea\u30af\u30a8\u30b9\u30c8<\/a>\u3092\u691c\u67fb\u3057\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u4fbf\u5229\u306a\u30e1\u30ab\u30cb\u30ba\u30e0\u3067\u3059\u3002\u57fa\u672c\u7684\u306b\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u305d\u306e\u57fa\u790e\u3068\u306a\u308b\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306e\u9593\u306b\u3042\u308b\u30b3\u30fc\u30c9\u306e\u5c64\u3067\u3001\u30ea\u30bd\u30fc\u30b9\u9593\u306e\u901a\u4fe1\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30ec\u30fc\u30c8\u5236\u9650\u306e\u5b9f\u88c5\u65b9\u6cd5<\/h2>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001Laravel 10\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u65e2\u5b58\u306e\u30df\u30cb\u30e9\u30a4\u30d6\u30e9\u30eaAPI\u3092\u4f7f\u7528\u3057\u3066\u3001Laravel Throttle\u3092\u7528\u3044\u305f\u30c7\u30e2\u3092\u884c\u3044\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u306f\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u5185\u306e\u30d6\u30c3\u30af\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u57fa\u672c\u7684\u306a\u4f5c\u6210\u3001\u8aad\u307f\u53d6\u308a\u3001\u66f4\u65b0\u3001\u524a\u9664\uff08CRUD\uff09\u3068\u3001\u30ec\u30fc\u30c8\u5236\u9650\u306e\u30b3\u30f3\u30bb\u30d7\u30c8\u3092\u3044\u304f\u3064\u304b\u793a\u3059\u305f\u3081\u306e2\u3064\u306e\u30eb\u30fc\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u524d\u63d0\u6761\u4ef6<\/h3>\n<p>Laravel\u3067\u306eAPI\u958b\u767a\u306e\u57fa\u672c\u306b\u7cbe\u901a\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3082\u306e\u304c\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul>\n<li>PHP 8.2\u3001<a href=\"https:\/\/getcomposer.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Composer<\/a>\u3001<a href=\"https:\/\/laravel.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Laravel<\/a>\u304c\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068<\/li>\n<li>\u6709\u52b9\u306a<a href=\"https:\/\/kinqsta.com\/jp\/signup\/\">Kinsta<\/a>\u30a2\u30ab\u30a6\u30f3\u30c8<\/li>\n<li>\u30b3\u30fc\u30c9\u3092\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u305f\u3081\u306e<a href=\"https:\/\/github.com\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub<\/a>\u3001<a href=\"https:\/\/gitlab.com\" target=\"_blank\" rel=\"noopener noreferrer\">GitLab<\/a>\u3001\u307e\u305f\u306f<a href=\"https:\/\/bitbucket.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Bitbucket<\/a>\u30a2\u30ab\u30a6\u30f3\u30c8<\/li>\n<\/ul>\n<p>\u307e\u305f\u3001<a href=\"https:\/\/my.kinqsta.com?lang=ja\">MyKinsta<\/a>\u3092\u4f7f\u7528\u3057\u3066\u3001\u3053\u306eAPI\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002<a href=\"https:\/\/github.com\/VirtuaCreative\/kinsta-library-api-template\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u6cbf\u3063\u3066<\/a>\u9032\u307f\u3001<a href=\"https:\/\/github.com\/VirtuaCreative\/kinsta-library-api\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089<\/a>\u6700\u7d42\u7d50\u679c\u3092\u30d7\u30ec\u30d3\u30e5\u30fc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n<ol start=\"1\">\n<li>\u59cb\u3081\u306b\u3001<a href=\"https:\/\/github.com\/VirtuaCreative\/kinsta-library-api-template\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8907\u88fd\u3057\u307e\u3059\u3002<\/li>\n<li>\u6b21\u306b\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b<strong>.env<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u4e2d\u306b<strong>.env.example<\/strong>\u306e\u5185\u5bb9\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/li>\n<li>\u6b21\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u5b8c\u4e86\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u30a2\u30d7\u30ea\u30ad\u30fc\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">composer install\nphp artisan key:generate<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a2\u30d7\u30ea\u30ad\u30fc\u304c<strong>.env<\/strong>\u30d5\u30a1\u30a4\u30eb\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u3001<code>php artisan key:generate --show<\/code>\u3092\u5b9f\u884c\u3057\u3001\u751f\u6210\u3055\u308c\u305f\u30ad\u30fc\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001<code>APP_KEY<\/code>\u306e\u5024\u3068\u3057\u3066<strong>.env<\/strong>\u30d5\u30a1\u30a4\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n<ol start=\"4\">\n<li>\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30a2\u30d7\u30ea\u30ad\u30fc\u306e\u751f\u6210\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">php artisan serve<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089<code>https:\/\/127.0.0.1:8000<\/code>\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol start=\"5\">\n<li>URL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001Laravel\u306e\u30a6\u30a7\u30eb\u30ab\u30e0\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n<figure>\n<p><figure style=\"width: 1279px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-welcome-page.png\" alt=\"The Laravel welcome page displays its logo at the top-center. \" width=\"1279\" height=\"801\"><figcaption class=\"wp-caption-text\">Laravel\u306e\u30a6\u30a7\u30eb\u30ab\u30e0\u753b\u9762<\/figcaption><\/figure><\/figure>\n<h2>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a<\/h2>\n<p><a href=\"https:\/\/my.kinqsta.com\/login?lang=ja\">MyKinsta<\/a>\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol start=\"1\">\n<li>MyKinsta\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u79fb\u52d5\u3057\u300c<strong>\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<figure>\n<p><figure style=\"width: 1582px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-mykinsta-services.png\" alt=\"The upper segment of the MyKinsta Dashboard tab features a top toolbar. \" width=\"1582\" height=\"476\"><figcaption class=\"wp-caption-text\">\u8907\u6570\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u8a2d\u5b9a\u3055\u308c\u305f\u72b6\u614b\u306eMyKinsta\u306e\u300c\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u300d\u753b\u9762<\/figcaption><\/figure><\/figure>\n<ol start=\"2\">\n<li>\u300c<strong>\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0<\/strong>\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c<strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u958b\u59cb\u3059\u308b\u305f\u3081\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<figure>\n<p><figure style=\"width: 786px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-mykinsta-database.png\" alt=\"Kinsta's \"Create a database\" module displays the first section, called \"Basic details.\"\" width=\"786\" height=\"1266\"><figcaption class=\"wp-caption-text\">MyKinsta\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a2d\u5b9a<\/figcaption><\/figure><\/figure>\n<p>\u3053\u306e\u8aac\u660e\u3067\u306fMariaDB\u3092\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001Kinsta\u3067\u5229\u7528\u53ef\u80fd\u306aLaravel\u304c\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u3044\u305a\u308c\u3082\u9078\u629e\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol start=\"3\">\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u60c5\u5831\u3092\u5165\u529b\u3057\u305f\u3089\u3001\u300c<strong>\u7d9a\u884c<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30d7\u30ed\u30bb\u30b9\u3092\u78ba\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>Kinsta\u3067\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3057\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u306f\u3001\u5185\u90e8\u63a5\u7d9a\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u5916\u90e8\u63a5\u7d9a\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u3042\u308a\u307e\u3059\u3002\u540c\u3058Kinsta\u30a2\u30ab\u30a6\u30f3\u30c8\u5185\u3067\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u5185\u90e8\u63a5\u7d9a\u3092\u4f7f\u7528\u3057\u3001\u5916\u90e8\u3068\u306e\u63a5\u7d9a\u306b\u306f\u5916\u90e8\u63a5\u7d9a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u5916\u90e8\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a8d\u8a3c\u60c5\u5831\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<ol start=\"4\">\n<li>Laravel\u306e<strong>.env<\/strong>\u3067\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\uff08\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306b\u3042\u308b\u3088\u3046\u306a\u5b9f\u969b\u306e\u5916\u90e8\u8a8d\u8a3c\u60c5\u5831\u3092\u30b3\u30d4\u30fc\u3057\u3066\u8cbc\u308a\u4ed8\u3051\uff09\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n<figure>\n<p><figure style=\"width: 1590px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-mykinsta-database-settings.png\" alt=\"The Kinsta dashboard displays the \"Basic details\" section of the newly created \"library-records\" database.All information matches that entered in the previous database setup image.\" width=\"1590\" height=\"1133\"><figcaption class=\"wp-caption-text\">MyKinsta\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a2d\u5b9a\u60c5\u5831\u3092\u78ba\u8a8d\u3059\u308b<\/figcaption><\/figure><\/figure>\n<pre><code class=\"language-env\">DB_CONNECTION=mysql\nDB_HOST=your_host_name\nDB_PORT=your_port\nDB_DATABASE=your_database_info\nDB_USERNAME=your_username\nDB_PASSWORD=your_password<\/code><\/pre>\n<ol start=\"5\">\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u5165\u529b\u3057\u305f\u5f8c\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u9069\u7528\u3057\u3066\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">php artisan migrate<\/code><\/pre>\n<p>\u3059\u3079\u3066\u304c\u6b63\u3057\u304f\u6a5f\u80fd\u3059\u308c\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5fdc\u7b54\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<figure>\n<p><figure style=\"width: 1999px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-terminal-database-migration.png\" alt=\"The terminal output displays the \"php artisan migrate\" Bash command and its output.Immediately below the command, an \"INFO\" label states \"Running migrations.\"Below this are the four migrations and their statuses, listed as follows:2014_10_12_000000_create_users_table...812ms DONE.2014_10_12_100000_create_password_reset_tokens_table...882ms DONE.2019_08_19_000000_create_failed_jobs_table...942ms DONE.2019_12_14_000001_create_personal_access_tokens_table...1,250ms DONE.Below, the cursor sits on an empty command line to allow additional input.\" width=\"1999\" height=\"450\"><figcaption class=\"wp-caption-text\">\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u6210\u529f<\/figcaption><\/figure><\/figure>\n<ol start=\"6\">\n<li>\u6b21\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30eb\u30fc\u30c8\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u3001\u3059\u3067\u306b\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u30eb\u30fc\u30c8\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">php artisan route:list<\/code><\/pre>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5229\u7528\u53ef\u80fd\u306aAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure>\n<p><figure style=\"width: 1999px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-terminal-api-endpoints.png\" alt=\"The terminal displays the \"php artisan route:\" width=\"1999\" height=\"411\"><figcaption class=\"wp-caption-text\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30eb\u30fc\u30c8\u4e00\u89a7\u304c\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u8868\u793a\u3055\u308c\u308b<\/figcaption><\/figure><\/figure>\n<ol start=\"7\">\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u3001\u3059\u3079\u3066\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<a href=\"https:\/\/www.postman.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Postman<\/a>\u3084CURL\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u30ec\u30fc\u30c8\u5236\u9650\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u3001\u8907\u6570\u306e\u30ec\u30fc\u30c8\u5236\u9650\u30c6\u30af\u30cb\u30c3\u30af\u304c\u3042\u308a\u307e\u3059\u3002<a href=\"https:\/\/kinqsta.com\/blog\/static-vs-dynamic-ip\/\">IP\u30a2\u30c9\u30ec\u30b9<\/a>\u306e\u30bb\u30c3\u30c8\u3092\u30d6\u30ed\u30c3\u30af\u3057\u305f\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u3084user_id\u306b\u57fa\u3065\u3044\u3066\u671f\u9593\u30d9\u30fc\u30b9\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u5236\u9650\u3092\u5b9f\u65bd\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u3067\u306f\u3001\u305d\u308c\u305e\u308c\u306e\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol start=\"1\">\n<li>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001Laravel Throttle\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">composer require \"graham-campbell\/throttle:^10.0\"<\/code><\/pre>\n<ol start=\"2\">\n<li>\u307e\u305f\u3001<code>vendor configurations<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u516c\u958b\u3059\u308b\u3053\u3068\u3067\u3001Laravel Throttle\u306e\u8a2d\u5b9a\u3092\u8abf\u6574\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">php artisan vendor:publish --provider=\"GrahamCampbellThrottleThrottleServiceProvider\"<\/code><\/pre>\n<h3>IP\u30a2\u30c9\u30ec\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u30ec\u30fc\u30c8\u5236\u9650\u306e\u30c6\u30af\u30cb\u30c3\u30af\u306e1\u3064\u3067\u3001\u6307\u5b9a\u3057\u305fIP\u30a2\u30c9\u30ec\u30b9\u306e\u30bb\u30c3\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol start=\"1\">\n<li>\u59cb\u3081\u306b\u3001\u5fc5\u8981\u3068\u306a\u308b\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">php artisan make:middleware RestrictMiddleware<\/code><\/pre>\n<ol start=\"2\">\n<li>\u6b21\u306b\u3001\u4f5c\u6210\u3057\u305f<strong>app\/Http\/Middleware\/RestrictMiddleware.php<\/strong>\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001<code>handle<\/code>\u95a2\u6570\u306e\u30b3\u30fc\u30c9\u3092\u4ee5\u4e0b\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u756a\u4e0a\u306b\u3042\u308b\u30a4\u30f3\u30dd\u30fc\u30c8\u306e\u30ea\u30b9\u30c8\u306b<code>use App;<\/code>\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">$restrictedIps = ['127.0.0.1', '102.129.158.0'];\nif(in_array($request-&gt;ip(), $restrictedIps)){\n  App::abort(403, 'Request forbidden');\n}\nreturn $next($request);<\/code><\/pre>\n<ol start=\"3\">\n<li><strong>app\/Http\/Kernel.php<\/strong>\u30d5\u30a1\u30a4\u30eb\u3067\u3001<code>middlewareAliases<\/code>\u306e\u914d\u5217\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u3066\u3001\u3053\u306e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u30a2\u30d7\u30ea\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\n<pre><code class=\"language-php\">protected $middlewareAliases = [\n. . .\n'custom.restrict' =&gt; AppHttpMiddlewareRestrictMiddleware::class,\n];<\/code><\/pre>\n<ol start=\"4\">\n<li>\u6b21\u306b\u3001\u3053\u306e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092<strong>routes\/api.php<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e<code>\/restricted-route<\/code>\u306b\u9069\u7528\u3057\u30c6\u30b9\u30c8\u3092\u884c\u3044\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">Route::middleware(['custom.restrict'])-&gt;group(function () {\n  Route::get('\/restricted-route', [BookController::class, 'getBooks']);\n});<\/code><\/pre>\n<p>\u3053\u308c\u304c\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3059\u308b\u3068\u3001\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306b\u3088\u308a\u3001<code>$restrictedIps<\/code>\u306e\u914d\u5217\u306b\u3042\u308bIP\uff08<code>127.0.0.1<\/code>\u3068<code>102.129.158.0<\/code>\uff09\u304b\u3089\u306e\u3059\u3079\u3066\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u30d6\u30ed\u30c3\u30af\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306eIP\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b<strong>403 Forbidden<\/strong>\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure>\n<p><figure style=\"width: 1136px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-postman-returns-403.png\" alt=\"The Postman app returns a \"403 Request Forbidden\" response to a GET request to the URL\" width=\"1136\" height=\"807\"><figcaption class=\"wp-caption-text\">Postman\u306e\/restricted-route GET\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u5bfe\u3059\u308b403 Forbidden\u30ec\u30b9\u30dd\u30f3\u30b9<\/figcaption><\/figure><\/figure>\n<h3>IP\u30a2\u30c9\u30ec\u30b9\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5236\u9650\u3092\u304b\u3051\u308b\u65b9\u6cd5<\/h3>\n<p>\u6b21\u306b\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092\u4f7f\u3063\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5236\u9650\u3092\u8a2d\u3051\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<ol start=\"1\">\n<li><strong>routes\/api.php<\/strong>\u306e<code>\/book<\/code>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e<code>GET<\/code>\u3068<code>PATCH<\/code>\u30eb\u30fc\u30c8\u306bThrottle\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092\u9069\u7528\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">Route::middleware(['throttle:minute'])-&gt;group(function () {\n  Route::get('\/book', [BookController::class, 'getBooks']);\n});\n\nRoute::middleware(['throttle:5,1'])-&gt;group(function () {\n  Route::patch('\/book', [BookController::class, 'updateBook']);\n});<\/code><\/pre>\n<ol start=\"2\">\n<li>\u307e\u305f\u3001<strong>app\/Providers\/RouteServiceProvider<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e<code>configureRateLimiting<\/code>\u95a2\u6570\u3092\u3001\u4e0a\u8a18\u306e\u30eb\u30fc\u30c8\u306b\u8ffd\u52a0\u3057\u305f\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306e\u60c5\u5831\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">\u2026 \nRateLimiter::for('minute', function (Request $request) {\n  return Limit::perMinute(5)-&gt;by($request-&gt;ip());\n});<\/code><\/pre>\n<p>\u3053\u306e\u8a2d\u5b9a\u306b\u3088\u308a\u3001<code>\/book GET<\/code>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306f1\u5206\u3042\u305f\u308a5\u4ef6\u306b\u5236\u9650\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure>\n<p><figure style=\"width: 1142px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-postman-returns-429.png\" alt=\"The Postman app returns a \"429 Too Many Requests\" response to a GET request to the URL \" width=\"1142\" height=\"805\"><figcaption class=\"wp-caption-text\">Postman\u306e\/book GET\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u5bfe\u3059\u308b\u30ec\u30b9\u30dd\u30f3\u30b9\uff08429 Too Many Requests\uff09<\/figcaption><\/figure><\/figure>\n<h3>\u30e6\u30fc\u30b6\u30fcID\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u57fa\u3065\u304d\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5236\u9650\u3092\u304b\u3051\u308b\u65b9\u6cd5<\/h3>\n<ol start=\"1\">\n<li><code>user_id<\/code>\u3068<code>session<\/code>\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u30ec\u30fc\u30c8\u5236\u9650\u3092\u884c\u3046\u306b\u306f\u3001<strong>app\/Providers\/RouteServiceProvider<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e<code>configureRateLimiting<\/code>\u95a2\u6570\u3092\u3001\u4ee5\u4e0b\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">...\nRateLimiter::for('user', function (Request $request) {\n  return Limit::perMinute(10)-&gt;by($request-&gt;user()?-&gt;id ?: $request-&gt;ip());\n});\nRateLimiter::for('session', function (Request $request) {\n  return Limit::perMinute(15)-&gt;by($request-&gt;session()-&gt;get('key') ?: $request-&gt;ip());\n});<\/code><\/pre>\n<ol start=\"2\">\n<li>\u6700\u5f8c\u306b\u3001\u3053\u306e\u30b3\u30fc\u30c9\u3092<code>routes\/api.php<\/code> \u30d5\u30a1\u30a4\u30eb\u306e<code>\/book\/{id} GET<\/code>\u3068<code>\/book POST<\/code>\u30eb\u30fc\u30c8\u306b\u9069\u7528\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">Route::middleware(['throttle:user'])-&gt;group(function () {\n  Route::get('\/book\/{id}', [BookController::class, 'getBook']);\n});\nRoute::middleware(['throttle:session'])-&gt;group(function () {\n  Route::post('\/book', [BookController::class, 'createBook']);\n});<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306f\u305d\u308c\u305e\u308c\u3001<code>user_id<\/code>\u3068<code>session<\/code>\u3092\u4f7f\u3063\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5236\u9650\u3057\u307e\u3059\u3002<\/p>\n<h3>Throttle\u306e\u305d\u306e\u4ed6\u306e\u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>Laravel Throttle\u306b\u306f\u3001\u30ec\u30fc\u30c8\u5236\u9650\u306e\u5b9f\u88c5\u3092\u7d30\u304b\u304f\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u305f\u3081\u306e<a href=\"https:\/\/github.com\/GrahamCampbell\/Laravel-Throttle#usage\" target=\"_blank\" rel=\"noopener noreferrer\">\u30e1\u30bd\u30c3\u30c9<\/a>\u304c\u3044\u304f\u3064\u304b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><code>attempt<\/code>\uff1a\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u30d2\u30c3\u30c8\u3001\u30d2\u30c3\u30c8\u30ab\u30a6\u30f3\u30c8\u3092\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3057\u3001\u8a2d\u5b9a\u3055\u308c\u305f\u30d2\u30c3\u30c8\u5236\u9650\u3092\u8d85\u3048\u305f\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u30d6\u30fc\u30eb\u5024\u3092\u8fd4\u3059<\/li>\n<li><code>hit<\/code>\uff1aThrottle\u3092\u30d2\u30c3\u30c8\u3057\u3001\u30d2\u30c3\u30c8\u30ab\u30a6\u30f3\u30c8\u3092\u5897\u52a0\u3055\u305b\u3001<code>$this<\/code>\u3092\u8fd4\u3057\u3001\u5225\u306e\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\uff09\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u6709\u52b9\u306b\u3059\u308b<\/li>\n<li><code>clear<\/code>\uff1aThrottle\u30ab\u30a6\u30f3\u30c8\u3092\u30bc\u30ed\u306b\u30ea\u30bb\u30c3\u30c8\u3057\u3001<code>$this<\/code>\u3092\u8fd4\u3059\uff08\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5225\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\uff09<\/li>\n<li><code>count<\/code>\uff1aThrottle\u306e\u7dcf\u30d2\u30c3\u30c8\u6570\u3092\u8fd4\u3059<\/li>\n<li><code>check<\/code>\uff1aThrottle\u306e\u30d2\u30c3\u30c8\u5236\u9650\u3092\u8d85\u3048\u305f\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u30d6\u30fc\u30eb\u5024\u3092\u8fd4\u3059<\/li>\n<\/ul>\n<ol start=\"1\">\n<li>\u30ec\u30fc\u30c8\u5236\u9650\u306b\u3064\u3044\u3066\u3053\u308c\u3089\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066CustomMiddleware\u3068\u3044\u3046\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">php artisan make:middleware CustomMiddleware<\/code><\/pre>\n<ol start=\"2\">\n<li>\u6b21\u306b\u3001<strong>app\/Http\/Middleware\/CustomMiddleware.php<\/strong>\u306b\u65b0\u3057\u304f\u4f5c\u6210\u3057\u305f\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">use GrahamCampbellThrottleFacadesThrottle;\nuse App;<\/code><\/pre>\n<ol start=\"3\">\n<li>\u6b21\u306b\u3001<code>handle<\/code>\u30e1\u30bd\u30c3\u30c9\u306e\u5185\u5bb9\u3092\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">$throttler = Throttle::get($request, 5, 1);\nThrottle::attempt($request);\nif(!$throttler-&gt;check()){\n  App::abort(429, 'Too many requests');\n}\nreturn $next($request);<\/code><\/pre>\n<ol start=\"4\">\n<li><strong>app\/Http\/Kernel.php<\/strong>\u30d5\u30a1\u30a4\u30eb\u3067\u3001<code>middlewareAliases<\/code>\u306e\u914d\u5217\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u3066\u3001\u3053\u306e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u30a2\u30d7\u30ea\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">protected $middlewareAliases = [\n. . .\n'custom.throttle' =&gt; AppHttpMiddlewareCustomMiddleware::class, \n];<\/code><\/pre>\n<ol start=\"5\">\n<li>\u6b21\u306b\u3001\u3053\u306e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092<strong>routes\/api.php<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e<code>\/custom-route<\/code>\u306b\u9069\u7528\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">Route::middleware(['custom.throttle'])-&gt;group(function () {\n  Route::get('\/custom-route', [BookController::class, 'getBooks']);\n});<\/code><\/pre>\n<p>\u5148\u307b\u3069\u5b9f\u88c5\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306f\u3001\u30b9\u30ed\u30c3\u30c8\u30eb\u30ea\u30df\u30c3\u30c8\u3092\u8d85\u3048\u305f\u304b\u3069\u3046\u304b\u3092<code>check<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002\u5236\u9650\u3092\u8d85\u3048\u305f\u5834\u5408\u3001429\u30a8\u30e9\u30fc\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3051\u308c\u3070\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u7d9a\u884c\u3092\u8a31\u53ef\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092Kinsta\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u7406\u89e3\u3057\u305f\u3068\u3053\u308d\u3067\u3001\u4eca\u5ea6\u306f\u30a2\u30d7\u30ea\u3092Kinsta\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u3001\u4e00\u822c\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u72b6\u614b\u306b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol start=\"1\">\n<li>\u7528\u610f\u3057\u305f\u30b3\u30fc\u30c9\u3092<a href=\"https:\/\/kinqsta.com\/blog\/gitlab-vs-github\/\">GitHub\u3001GitLab<\/a>\u3001\u307e\u305f\u306f<a href=\"https:\/\/kinqsta.com\/blog\/bitbucket-vs-github\/\">Bitbucket<\/a>\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002<\/li>\n<li>Kinsta\u304b\u3089\u3001\u300c<strong>\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u4e00\u89a7\u304b\u3089\u300c<strong>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/strong>\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002Git\u30a2\u30ab\u30a6\u30f3\u30c8\u3092Kinsta\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u7d10\u4ed8\u3051\u3001\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\u300c<strong>\u57fa\u672c\u60c5\u5831<\/strong>\u300d\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u540d\u524d\u3092\u4ed8\u3051\u3001\u5e0c\u671b\u306e\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u5fc5\u8981\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u74b0\u5883\u5909\u6570\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306f\u30ed\u30fc\u30ab\u30eb\u306e<strong>.env<\/strong>\u30d5\u30a1\u30a4\u30eb\u306b\u5b58\u5728\u3059\u308b\u5909\u6570\u306b\u5bfe\u5fdc\u3059\u308b\u3082\u306e\u306b\u306a\u308a\u307e\u3059\uff08<code>APP_KEY<\/code>\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a2d\u5b9a\u7528\u306e\u5909\u6570\uff09\u3002<\/li>\n<\/ol>\n<figure>\n<p><figure style=\"width: 790px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-mykinsta-app-details.png\" alt=\"The \"Application details\" section of Kinsta's \"Add application\" module. \" width=\"790\" height=\"1262\"><figcaption class=\"wp-caption-text\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30c7\u30d7\u30ed\u30a4\u306b\u969b\u3057MyKinsta\u3067\u8a2d\u5b9a\u3092\u6307\u5b9a\u3057\u3066\u3044\u304f<\/figcaption><\/figure><\/figure>\n<ol start=\"1\">\n<li>\u300c<strong>\u7d9a\u884c<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30d3\u30eb\u30c9\u74b0\u5883\u5909\u6570\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u5fc5\u8981\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u81ea\u52d5\u3067\u5165\u529b\u3055\u308c\u308b\u306e\u3067\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5024\u306e\u307e\u307e\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<li>\u300c<strong>\u30d7\u30ed\u30bb\u30b9<\/strong>\u300d\u30bf\u30d6\u3067\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5024\u306e\u307e\u307e\u306b\u3059\u308b\u304b\u3001\u30d7\u30ed\u30bb\u30b9\u306e\u540d\u524d\u3092\u5165\u529b\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u30bf\u30d6\u3067Pod\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b5\u30a4\u30ba\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u6700\u5f8c\u306b\u3001\u300c<strong>\u304a\u652f\u6255\u3044<\/strong>\u300d\u30bf\u30d6\u306b\u9078\u629e\u3057\u305f\u9805\u76ee\u306e\u6982\u8981\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3054\u5e0c\u671b\u306e\u304a\u652f\u6255\u3044\u65b9\u6cd5\u3092\u8ffd\u52a0\u3057\u3001\u30d7\u30ed\u30bb\u30b9\u306e\u78ba\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/li>\n<li>\u5b8c\u4e86\u3057\u305f\u3089\u3001\u300c<strong>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/strong>\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30c7\u30d7\u30ed\u30a4\u6e08\u307f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e00\u89a7\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/li>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306e\u3088\u3046\u306b\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306e\u8a73\u7d30\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u3053\u306b\u3042\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eURL\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ol>\n<figure>\n<p><figure style=\"width: 1587px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/07\/laravel-throttle-mykinsta-app-deployments.png\" alt=\"The MyKinsta \"Deployments\" tab displays details about the deployed applications.\" width=\"1587\" height=\"836\"><figcaption class=\"wp-caption-text\">MyKinsta\u3067\u30c7\u30d7\u30ed\u30a4\u304c\u7d42\u308f\u308a\u8a73\u3057\u3044\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u308b<\/figcaption><\/figure><\/figure>\n<h2>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c6\u30b9\u30c8\u65b9\u6cd5<\/h2>\n<ol start=\"1\">\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u30c6\u30b9\u30c8\u3059\u308b\u306b\u306f\u3001<code>php artisan serve<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d6\u30e9\u30a6\u30b6\u3092<code>http:\/\/localhost:8000<\/code>\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u30ec\u30fc\u30c8\u5236\u9650\u6a5f\u80fd\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u305f\u3081\u306b\u7e70\u308a\u8fd4\u3057\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u3001\u3053\u3053\u304b\u3089\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3057\u305fAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Kinsta\u30b5\u30fc\u30d0\u30fc\u306b\u3088\u308a<strong>Access Forbidden<\/strong>\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8868\u793a\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u914d\u4fe1\u65b9\u6cd5\u3092Kinsta\u306b\u6307\u793a\u3059\u308b\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3044\u306a\u3044\u305f\u3081\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u8abf\u6574\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol start=\"2\">\n<li>\u30a2\u30d7\u30ea\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b<code>.htaccess<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-apacheconf\"> &lt;IfModule mod_rewrite.c&gt;\n  RewriteEngine On\n  RewriteRule ^(.*)$ public\/$1 [L]\n&lt;\/IfModule&gt;<\/code><\/pre>\n<ol start=\"3\">\n<li>\u3053\u308c\u3092GitHub\u306b\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u3068\u3001Kinsta\u306b\u3088\u308a\u81ea\u52d5\u3067\u518d\u30c7\u30d7\u30ed\u30a4\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u5148\u307b\u3069\u306eURL\u3092\u4f7f\u3063\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u304d\u3001Laravel\u306e\u30a6\u30a7\u30eb\u30ab\u30e0\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n<p>Postman\u3092\u4f7f\u7528\u3057\u3066\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3057\u305fAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u3001\u8a2d\u5b9a\u3057\u305f\u5236\u9650\u306b\u9054\u3059\u308b\u307e\u3067\u7e70\u308a\u8fd4\u3057\u30b3\u30fc\u30eb\u3057\u3066\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5236\u9650\u3092\u8d85\u3048\u308b\u3068\u3001<strong>429 Too Many Requests<\/strong>\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Laravel\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u6a5f\u80fd\u3092\u7d71\u5408\u3059\u308b\u3068\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u3088\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30ea\u30bd\u30fc\u30b9\u6d88\u8cbb\u3092\u3046\u307e\u304f\u7ba1\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30ec\u30fc\u30c8\u5236\u9650\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u904e\u4e0d\u8db3\u306a\u304f\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3092\u63d0\u4f9b\u53ef\u80fd\u3067\u3059\u3002\u307e\u305f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u57fa\u790e\u3068\u306a\u308b\u30a4\u30f3\u30d5\u30e9\u306e\u6a5f\u80fd\u3068\u52b9\u7387\u3092\u78ba\u4fdd\u3059\u308b\u4e0a\u3067\u3082\u6709\u7528\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>Kinsta\u3067\u306f\u6570\u3005\u306e\u8a18\u4e8b\u3092\u57f7\u7b46\u3057\u3066\u3044\u307e\u3059\u3002<a href=\"https:\/\/kinqsta.com\/jp\/topics\/laravel\/\">Laravel<\/a>\u306f\u3082\u3061\u308d\u3093\u306e\u3053\u3068\u3001\u305d\u306e\u4ed6\u306e\u30a6\u30a7\u30d6\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u306b\u95a2\u3059\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u76db\u308a\u3060\u304f\u3055\u3093\u3067\u3059\u3002\u9ad8\u54c1\u8cea\u304b\u3064\u304a\u624b\u9803\u306a<a href=\"https:\/\/sevalla.com\/application-hosting\/\">\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9<\/a>\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u652f\u3048\u308b\u5927\u4e8b\u306a\u571f\u53f0\u3067\u3059\u3002Kinsta\u3092\u662f\u975e\u3068\u3082\u3054\u691c\u8a0e\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u30ec\u30fc\u30c8\u5236\u9650\u306f\u3001\u30a2\u30d7\u30ea\u3084\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u904e\u5270\u307e &#8230;<\/p>\n","protected":false},"author":290,"featured_media":49105,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[],"topic":[751,784],"class_list":["post-49104","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","topic-api","topic-laravel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5 \uff5cKinsta\u00ae<\/title>\n<meta name=\"description\" content=\"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ea\u30bd\u30fc\u30b9\u306e\u5927\u91cf\u6d88\u8cbb\u3092\u6291\u3048\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ea\u30bd\u30fc\u30b9\u306e\u5927\u91cf\u6d88\u8cbb\u3092\u6291\u3048\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-21T13:30:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T12:37:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"3042\" \/>\n\t<meta property=\"og:image:height\" content=\"1521\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Marcia Ramos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ea\u30bd\u30fc\u30b9\u306e\u5927\u91cf\u6d88\u8cbb\u3092\u6291\u3048\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marcia Ramos\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/\"},\"author\":{\"name\":\"Marcia Ramos\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/72bff0015d3fb3ba3d8a85494dc0b116\"},\"headline\":\"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\",\"datePublished\":\"2023-08-21T13:30:24+00:00\",\"dateModified\":\"2023-08-29T12:37:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/\"},\"wordCount\":226,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/\",\"url\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/\",\"name\":\"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5 \uff5cKinsta\u00ae\",\"isPartOf\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg\",\"datePublished\":\"2023-08-21T13:30:24+00:00\",\"dateModified\":\"2023-08-29T12:37:55+00:00\",\"description\":\"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ea\u30bd\u30fc\u30b9\u306e\u5927\u91cf\u6d88\u8cbb\u3092\u6291\u3048\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#primaryimage\",\"url\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg\",\"contentUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg\",\"width\":3042,\"height\":1521},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinqsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\/\/kinqsta.com\/jp\/topics\/api\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#website\",\"url\":\"https:\/\/kinqsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinqsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinqsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/72bff0015d3fb3ba3d8a85494dc0b116\",\"name\":\"Marcia Ramos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0d680db24858fdf61a7e7ce3c1a160f5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0d680db24858fdf61a7e7ce3c1a160f5?s=96&d=mm&r=g\",\"caption\":\"Marcia Ramos\"},\"description\":\"I'm the Editorial Team Lead at Kinsta. I'm a open source enthusiast and I love coding. With more than 10 years of technical writing and editing for the tech industry, I love collaborating with people to create clear and concise pieces of content and improve workflows.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/marciadiasramos\/\"],\"honorificSuffix\":\"B.Sc.\",\"gender\":\"Female\",\"knowsLanguage\":[\"English\",\"Portuguese\"],\"jobTitle\":\"Editorial Team Lead\",\"worksFor\":\"Kinsta Inc.\",\"url\":\"https:\/\/kinqsta.com\/jp\/blog\/author\/marciaramos\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5 \uff5cKinsta\u00ae","description":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ea\u30bd\u30fc\u30b9\u306e\u5927\u91cf\u6d88\u8cbb\u3092\u6291\u3048\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/","og_locale":"ja_JP","og_type":"article","og_title":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5","og_description":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ea\u30bd\u30fc\u30b9\u306e\u5927\u91cf\u6d88\u8cbb\u3092\u6291\u3048\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2023-08-21T13:30:24+00:00","article_modified_time":"2023-08-29T12:37:55+00:00","og_image":[{"width":3042,"height":1521,"url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg","type":"image\/jpeg"}],"author":"Marcia Ramos","twitter_card":"summary_large_image","twitter_description":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ea\u30bd\u30fc\u30b9\u306e\u5927\u91cf\u6d88\u8cbb\u3092\u6291\u3048\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg","twitter_creator":"@Kinsta_JP","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Marcia Ramos","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#article","isPartOf":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/"},"author":{"name":"Marcia Ramos","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/72bff0015d3fb3ba3d8a85494dc0b116"},"headline":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5","datePublished":"2023-08-21T13:30:24+00:00","dateModified":"2023-08-29T12:37:55+00:00","mainEntityOfPage":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/"},"wordCount":226,"commentCount":0,"publisher":{"@id":"https:\/\/kinqsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#primaryimage"},"thumbnailUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/","url":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/","name":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5 \uff5cKinsta\u00ae","isPartOf":{"@id":"https:\/\/kinqsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#primaryimage"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#primaryimage"},"thumbnailUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg","datePublished":"2023-08-21T13:30:24+00:00","dateModified":"2023-08-29T12:37:55+00:00","description":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ea\u30bd\u30fc\u30b9\u306e\u5927\u91cf\u6d88\u8cbb\u3092\u6291\u3048\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#primaryimage","url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg","contentUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/laravel-throttle.jpg","width":3042,"height":1521},{"@type":"BreadcrumbList","@id":"https:\/\/kinqsta.com\/jp\/blog\/laravel-throttle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinqsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/kinqsta.com\/jp\/topics\/api\/"},{"@type":"ListItem","position":3,"name":"Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eAPI\u306b\u30ec\u30fc\u30c8\u5236\u9650\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/kinqsta.com\/jp\/#website","url":"https:\/\/kinqsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinqsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinqsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinqsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinqsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/72bff0015d3fb3ba3d8a85494dc0b116","name":"Marcia Ramos","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0d680db24858fdf61a7e7ce3c1a160f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0d680db24858fdf61a7e7ce3c1a160f5?s=96&d=mm&r=g","caption":"Marcia Ramos"},"description":"I'm the Editorial Team Lead at Kinsta. I'm a open source enthusiast and I love coding. With more than 10 years of technical writing and editing for the tech industry, I love collaborating with people to create clear and concise pieces of content and improve workflows.","sameAs":["https:\/\/www.linkedin.com\/in\/marciadiasramos\/"],"honorificSuffix":"B.Sc.","gender":"Female","knowsLanguage":["English","Portuguese"],"jobTitle":"Editorial Team Lead","worksFor":"Kinsta Inc.","url":"https:\/\/kinqsta.com\/jp\/blog\/author\/marciaramos\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/49104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/users\/290"}],"replies":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/comments?post=49104"}],"version-history":[{"count":10,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/49104\/revisions"}],"predecessor-version":[{"id":49282,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/49104\/revisions\/49282"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/translations\/fr"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/translations\/nl"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/translations\/es"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/translations\/de"},{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49104\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/media\/49105"}],"wp:attachment":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/media?parent=49104"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/tags?post=49104"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/topic?post=49104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}