{"id":168,"date":"2018-03-20T16:01:04","date_gmt":"2018-03-20T07:01:04","guid":{"rendered":"https:\/\/wp.apibank.jp\/contents\/?p=168"},"modified":"2020-11-05T16:03:25","modified_gmt":"2020-11-05T07:03:25","slug":"php-framework-laravel","status":"publish","type":"post","link":"https:\/\/www.apibank.jp\/contents\/make\/php-framework-laravel\/","title":{"rendered":"API\u958b\u767a\u306b\u4fbf\u5229\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08\uff11\uff09- Laravel &#8211;"},"content":{"rendered":"\n<p>PHP\u3067\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b\u5834\u5408\u3001\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067\u66f8\u304f\u3053\u3068\u306f\u307b\u3068\u3093\u3069\u306a\u304f\u306a\u308a\u3001\u306a\u3093\u3089\u304b\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3046\u3053\u3068\u304c\u4e00\u822c\u7684\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<br><br>API\u958b\u767a\u3082\u3082\u3061\u308d\u3093\u305d\u3046\u3067\u3001\u8272\u3093\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067API\u958b\u767a\u3092\u52a0\u901f\u3055\u305b\u308b\u6a5f\u80fd\u304c\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001PHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u4e2d\u3067\u3082\u4eba\u6c17\u304c\u3042\u308bLaravel\u3092\u4f7f\u3063\u305fAPI\u958b\u767a\u3092\u898b\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u76ee\u6b21<\/h3>\n\n\n\n<ol class=\"contents_list wp-block-list\"><li><a class=\"link_red\" href=\"#laravel-1\">\u4e16\u754c\u4e2d\u3067\u5927\u4eba\u6c17\u306eLaravel<\/a><\/li><li><a class=\"link_red\" href=\"#laravel-2\">Laravel\u5c0e\u5165\u65b9\u6cd5<\/a><\/li><li><a class=\"link_red\" href=\"#laravel-3\">Laravel\u3067API\u3092\u9ad8\u901f\u958b\u767a\u3059\u308b\u306b\u306f<\/a>\n<ol class=\"ol_nest\">\n<li><a class=\"link_red\" href=\"#laravel-3_1\">artisan<\/a><\/li>\n<li><a class=\"link_red\" href=\"#laravel-3_2\">\u30eb\u30fc\u30bf\u30fc<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<\/li><li><a class=\"link_red\" href=\"#laravel-4\">Laravel\u3092\u5229\u7528\u3059\u308b\u30c7\u30e1\u30ea\u30c3\u30c8<\/a><\/li><li><a class=\"link_red\" href=\"#laravel-5\">\u307e\u3068\u3081<\/a><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"laravel-1\">\u4e16\u754c\u4e2d\u3067\u5927\u4eba\u6c17\u306eLaravel<\/h2>\n\n\n\n<p>Laravel\u306f\u73fe\u5728\u4e16\u754c\u4e2d\u3067\u5927\u4eba\u6c17\u306ePHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<br><br>\u305d\u306e\u4eba\u6c17\u306e\u7406\u7531\u306f\u3001\u3068\u306b\u304b\u304f\u4f7f\u3044\u52dd\u624b\u304c\u3088\u304f\u3001\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a\u3068\u3053\u308d\u3002<br><br>\u3042\u3089\u304b\u3058\u3081Web\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3059\u308b\u969b\u306b\u5fc5\u8981\u306b\u306a\u3063\u3066\u304f\u308b\u3067\u3042\u308d\u3046\u6a5f\u80fd\u304c\u63c3\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u79c1\u9054\u306f\u305d\u308c\u3089\u306e\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3059\u3060\u3051\u3067Laravel\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u3092\u4eab\u53d7\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>Laravel\u3092\u9078\u629e\u3059\u308b\u7406\u7531\u306f\u305f\u304f\u3055\u3093\u3042\u3063\u3066\u3001\u3059\u3079\u3066\u306f\u6319\u3052\u3089\u308c\u307e\u305b\u3093\u304c\u3001\u4e3b\u306a\u3082\u306e\u3092\u6319\u3052\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7279\u9577\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"basic_list wp-block-list\"><li>\u5f37\u529b\u306a\u30b3\u30de\u30f3\u30c9\u304c\u3042\u3089\u304b\u3058\u3081\u63c3\u3063\u305f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb<\/li><li>\u67d4\u8edf\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\u30eb\u30fc\u30bf\u30fc\u6a5f\u80fd<\/li><li>\u30af\u30a8\u30ea\u306e\u7d50\u679c\u3092\u305d\u306e\u307e\u307e\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3067\u304d\u308bORM<\/li><li>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u304c\u8aad\u307f\u8fbc\u307f\u3060\u3051\u3067\u3067\u304d\u308b\u30df\u30c9\u30eb\u30a6\u30a7\u30a2<\/li><li>\u30c7\u30d5\u30a9\u30eb\u30c8\u88c5\u5099\u306eAWS\u30b5\u30fc\u30d3\u30b9\u9023\u643a\u6a5f\u80fd<\/li><\/ul>\n\n\n\n<p>\u3053\u308c\u3060\u3051\u3067\u3082\u5341\u5206\u8a66\u3057\u3066\u307f\u308b\u4fa1\u5024\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u51e6\u7406\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u3044\u305f\u308a\u30eb\u30fc\u30bf\u30fc\u306b\u76f4\u63a5\u66f8\u3044\u305f\u308a\u3068\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u7e1b\u3089\u308c\u306a\u3044\u66f8\u304d\u65b9\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3063\u305f\u7d4c\u9a13\u3092\u6d3b\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><br>\u307e\u305f\u3001\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u3042\u308c\u3070\u7406\u89e3\u3057\u3084\u3059\u3044\u69cb\u9020\u306b\u3082\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"laravel-2\">Laravel\u5c0e\u5165\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082composer\u3092\u4f7f\u3048\u3070\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u4e00\u884c\u3067\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang-bash\">composer create-project laravel\/laravel [\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d] --prefer-dist\n<\/pre>\n\n\n\n<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067\u958b\u767a\u304c\u9032\u3081\u3089\u308c\u3066\u3044\u3066\u3001<a href=\"https:\/\/github.com\/laravel\/laravel\">github<\/a>\u306b\u30bd\u30fc\u30b9\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001composer\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u74b0\u5883\u3067\u3042\u308c\u3070\u3001git clone\u30b3\u30de\u30f3\u30c9\u3084\u3001zip\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304d\u3066\u5c55\u958b\u3059\u308b\u3068\u3044\u3063\u305f\u65b9\u6cd5\u3067\u5c0e\u5165\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"laravel-3\">Laravel\u3067API\u3092\u9ad8\u901f\u958b\u767a\u3059\u308b\u306b\u306f<\/h2>\n\n\n\n<p>Laravel\u306b\u306f\u958b\u767a\u901f\u5ea6\u3092\u4e0a\u3052\u308b\u305f\u3081\u306e\u6a5f\u80fd\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u4e2d\u3067\u3082API\u958b\u767a\u306b\u52b9\u304f\u6a5f\u80fd\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"laravel-3_1\">artisan<\/h4>\n\n\n\n<p>Laravel\u306b\u306fartisan\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u7528\u306e\u30c4\u30fc\u30eb\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u3066\u3001artisan\u3092\u4f7f\u3048\u3070RESTful\u306aAPI\u304c\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<br><br>artisan\u306f\u3001Laravel\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u76f4\u4e0b\u306b\u5b58\u5728\u3057\u3066\u3044\u3066\u3001\u3053\u308c\u81ea\u4f53\u3082PHP\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang-bash\">php artisan make:controller PhotoController -r\n<\/pre>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067\u300capp\/Http\/Controllers\/PhotoController.php\u300d\u304c\u4f5c\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u300c-r\uff08&#8211;resource\u306e\u30b7\u30e7\u30fc\u30c8\u30aa\u30d7\u30b7\u30e7\u30f3\uff09\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u52b9\u679c\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u30b9\u30bf\u30d6\u30e1\u30bd\u30c3\u30c9\u304c7\u3064\u5b9a\u7fa9\u3055\u308c\u307e\u3059\u3002<br><br>\u3042\u3068\u306f\u30b9\u30bf\u30d6\u306b\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u3066\u3044\u3051\u3070\u5b8c\u6210\u3001\u3068\u3044\u3063\u305f\u5177\u5408\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"laravel-3_2\">\u30eb\u30fc\u30bf\u30fc<\/h4>\n\n\n\n<p>\u30eb\u30fc\u30bf\u30fc\u81ea\u4f53\u306fURL\u3084\u5bfe\u5fdc\u3059\u308bHTTP\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u306f\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u3067\u3059\u304c\u3001Laravel\u306e\u30eb\u30fc\u30bf\u30fc\u306f\u304b\u306a\u308a\u67d4\u8edf\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\u5370\u8c61\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u5358\u4f4d\u3067\u6307\u5b9a\u3057\u3066\u3001\u305d\u308c\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u8907\u6570\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u4e00\u6c17\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u308a\u3001\u5c0f\u898f\u6a21\u306a\u30b7\u30b9\u30c6\u30e0\u306e\u5834\u5408\u7d30\u304b\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u305f\u3081\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u305f\u304f\u3055\u3093\u4f5c\u308b\u5fc5\u8981\u306f\u306a\u304f\u3001\u307e\u308b\u3067\u30de\u30a4\u30af\u30ed\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u3088\u3046\u306b\u5168\u3066\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u30eb\u30fc\u30bf\u30fc\u5185\u306b\u7121\u540d\u95a2\u6570\uff08\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u30af\u30ed\u30fc\u30b8\u30e3\u3002\u533f\u540d\u95a2\u6570\u3068\u3082\uff09\u3067\u5b9a\u7fa9\u3057\u3066\u3057\u307e\u3063\u305f\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u898f\u6a21\u3084\u597d\u307f\u306b\u5fdc\u3058\u305f\u67d4\u8edf\u306a\u4f5c\u308a\u65b9\u304c\u3067\u304d\u308b\u306e\u304cLaravel\u306e\u30eb\u30fc\u30bf\u30fc\u306e\u9b45\u529b\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang-php\">Route::resource('photo', 'PhotoController');\n<\/pre>\n\n\n\n<p>\u3068\u308a\u3042\u3048\u305a\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u6307\u5b9a\u3057\u3066\u3001\u516c\u958b\u3057\u305f\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u3060\u3051\u3092\u30db\u30ef\u30a4\u30c8\u30ea\u30b9\u30c8\u65b9\u5f0f\u3067\u66f8\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang-php\">Route::resource('photo', 'PhotoController', [\n    'only' =&gt; [\n        'index',\n        'show'\n    ]\n]);\n<\/pre>\n\n\n\n<p>\u9006\u306b\u3001\u516c\u958b\u3057\u305f\u304f\u306a\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang-php\">Route::resource('photo', 'PhotoController', [\n    'expect' =&gt; [\n        'destroy'\n    ]\n]);\n<\/pre>\n\n\n\n<p>\u3082\u3061\u308d\u3093\u30011\u3064\u305a\u3064\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u66f8\u3044\u3066\u3044\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang-php\">Route::get('photo\/{id}', 'PhotoController@showProfile');\nRoute::post('photo\/{id}', 'PhotoController@editProfile');\n<\/pre>\n\n\n\n<p>\u30eb\u30fc\u30bf\u30fc\u5185\u306b\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u62bc\u3057\u8fbc\u3093\u3067\u3001\u624b\u65e9\u304f\u5b9f\u88c5\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang-php\">Route::get('photo', function () {\n    \/\/ \u306a\u3093\u3089\u304b\u306e\u51e6\u7406\n    return $data;\n})\n<\/pre>\n\n\n\n<p>API\u958b\u767a\u7528\u306b\u306f\u66f4\u306b\u4fbf\u5229\u306a\u6a5f\u80fd\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u3066\u3001routes\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u76f4\u4e0b\u306bapi.php\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u7f6e\u3059\u308c\u3070\u3001URL\u306e\u30c9\u30e1\u30a4\u30f3\u306e\u5f8c\u306b\u300c\/api\u300d\u3068\u3044\u3046\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u304c\u81ea\u52d5\u7684\u306b\u4ed8\u3051\u3089\u308c\u3001\u901a\u5e38\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3068API\u304c\u5206\u96e2\u3055\u308c\u308b\u4ed5\u7d44\u307f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br><br>\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3068API\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5206\u96e2\u3082\u3067\u304d\u3066\u4e00\u77f3\u4e8c\u9ce5\u3067\u3059\u3002<br><br>API\u3068\u7ba1\u7406\u30c4\u30fc\u30eb\u306e\u30bd\u30fc\u30b9\u3092\u5171\u5b58\u3055\u305b\u308b\u3053\u3068\u3082\u7c21\u5358\u306b\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001API\u3067\u306e\u30c7\u30fc\u30bf\u53d7\u3051\u6e21\u3057\u306fJSON\u3067\u884c\u3046\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3084Route\u30af\u30e9\u30b9\u306e\u623b\u308a\u5024\u304c\u914d\u5217\u306a\u3089\u3001\u81ea\u52d5\u7684\u306bJSON\u306b\u66f8\u304d\u63db\u3048\u308b\u6a5f\u80fd\u3092\u6a19\u6e96\u3067\u6301\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30d3\u30e5\u30fc\u3084\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306e\u7d42\u4e86\u51e6\u7406\u306bjson_encode\u3092\u4ed5\u8fbc\u3080\u5fc5\u8981\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"laravel-4\">Laravel\u3092\u5229\u7528\u3059\u308b\u30c7\u30e1\u30ea\u30c3\u30c8<\/h2>\n\n\n\n<p>\u65e2\u6210\u306e\u51e6\u7406\u304c\u591a\u304f\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u3066\u3001\u5b9f\u88c5\u304c\u7206\u901f\u306b\u306a\u308b\u3068\u8a00\u308f\u308c\u308bLaravel\u3067\u3059\u304c\u3001\u3072\u3068\u3064\u3060\u3051\u5927\u304d\u306a\u30c7\u30e1\u30ea\u30c3\u30c8\u3068\u3057\u3066\u3001\u305d\u306e\u51e6\u7406\u901f\u5ea6\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Laravel5.3\u306e\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u306b\u306a\u308a\u307e\u3059\u304c\u3001<a href=\"https:\/\/github.com\/kenjis\/php-framework-benchmark\">\u8457\u540d\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u7d50\u679c<\/a>\u306b\u3088\u308b\u3068\u3001Laravel\u306f22\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u4e2d22\u4f4d\u3068\u3044\u3046\u7d50\u679c\u3067\u3059\u3002<br><br>\u65e5\u672c\u3067\u306fPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u4ee3\u540d\u8a5e\u3068\u3082\u306a\u3063\u3066\u3044\u308bCakePHP\u3068\u304f\u3089\u3079\u3066\u308260%\u7a0b\u5ea6\u306e\u901f\u5ea6\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u591a\u6a5f\u80fd\u304c\u6545\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u306a\u306e\u3067\u3001\u521d\u671f\u958b\u767a\u306fLaravel\u3067\u5b9f\u88c5\u3057\u3001\u8ca0\u8377\u304c\u9ad8\u304f\u306a\u3063\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u5225\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3001\u3082\u3057\u304f\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u8a00\u8a9e\u3067\u30ea\u30d7\u30ec\u30a4\u30b9\u3059\u308b\u3053\u3068\u3082\u8996\u91ce\u306b\u5165\u308c\u3066\u304a\u3044\u305f\u65b9\u304c\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"laravel-5\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3068\u306b\u304b\u304f\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u3001\u591a\u6a5f\u80fd\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3001Laravel\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br><br>\u4f7f\u3044\u5fc3\u5730\u306f\u629c\u7fa4\u3067\u3001\u6163\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u4e0d\u89aa\u5207\u306b\u611f\u3058\u308b\u307b\u3069\u624b\u306b\u99b4\u67d3\u3080\u611f\u899a\u3092\u697d\u3057\u3093\u3067\u3082\u3089\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>API\u958b\u767a\u3092\u9ad8\u901f\u306b\u9032\u3081\u308b\u9053\u5177\u3068\u3057\u3066\u306f\u3001\u307e\u305aartisan\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3066\u3057\u307e\u3046\u306e\u304c\u8fd1\u9053\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30d5\u30a1\u30a4\u30eb\u3084\u30b9\u30bf\u30d6\u30e1\u30bd\u30c3\u30c9\u3092\u4e00\u6c17\u306b\u4f5c\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3057\u3001\u4eca\u56de\u306f\u3054\u7d39\u4ecb\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u30e2\u30c7\u30eb\u3084\u30d3\u30e5\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3084\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3082\u3082\u3061\u308d\u3093\u3067\u304d\u307e\u3059\u3002<br><br>\u30b8\u30e7\u30d6\u30ad\u30e5\u30fc\u306b\u3088\u308b\u30d0\u30c3\u30c1\u51e6\u7406\u306e\u958b\u767a\u306a\u3069\u3082\u3001\u4f7f\u3046\u4fa1\u5024\u304c\u3042\u308b\u6a5f\u80fd\u3060\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u305c\u3072\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>Laravel\u3092\u5229\u7528\u3059\u308b\u30c7\u30e1\u30ea\u30c3\u30c8\u3082\u6319\u3052\u307e\u3057\u305f\u304c\u958b\u767a\u901f\u5ea6\u3068\u306e\u30c8\u30ec\u30fc\u30c9\u30aa\u30d5\u3067\u3059\u3057\u3001\u30af\u30e9\u30a6\u30c9\u3067\u5c55\u958b\u3059\u308b\u306a\u3089API\u30b5\u30fc\u30d0\u30fc\u306e\u30b9\u30b1\u30fc\u30eb\u30a2\u30c3\u30d7\u3084\u30b9\u30b1\u30fc\u30eb\u30a2\u30a6\u30c8\u3067\u6025\u5834\u3092\u3057\u306e\u3050\u904b\u7528\u3082\u53d6\u308c\u307e\u3059\u3002<br><br>\u307e\u305f\u3001AWS\uff08\u30a2\u30de\u30be\u30f3 \u30a6\u30a7\u30d6 \u30b5\u30fc\u30d3\u30b9\uff09\u304c\u7c21\u5358\u306b\u5229\u7528\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5165\u3063\u3066\u3044\u308b\u305f\u3081\u3001AWS\u3092\u4f7f\u3063\u305f\u904b\u7528\u3068\u306f\u76f8\u6027\u629c\u7fa4\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u81f3\u308c\u308a\u5c3d\u304f\u305b\u308a\u3068\u3082\u8a00\u3048\u308b\u304f\u3089\u3044\u9ad8\u6a5f\u80fd\u306aLaravel\u3067\u3001\u7206\u901fAPI\u958b\u767a\u3082\u3044\u3044\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u6b21\u56de\u3001API\u958b\u767a\u306b\u4fbf\u5229\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08\uff12\uff09\u3067\u306f\u3001\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c\u901f\u5ea6\u304c\u7206\u901f\u306b\u306a\u308b\u9b54\u6cd5\u306e\u3088\u3046\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300cPhalcon\u300d\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"contents_list wp-block-list\"><li><a href=\"\/contents\/make\/php-framework-laravel\/\">API\u958b\u767a\u306b\u4fbf\u5229\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08\uff11\uff09- Laravel &#8211;<\/a><\/li><li><a href=\"\/contents\/make\/php-framework-phalcon\/\">API\u958b\u767a\u306b\u4fbf\u5229\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08\uff12\uff09- Phalcon &#8211;<\/a><\/li><li><a href=\"\/contents\/make\/php-framework-fuelphp\/\">API\u958b\u767a\u306b\u4fbf\u5229\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08\uff13\uff09- FuelPHP &#8211;<\/a><\/li><li><a href=\"\/contents\/make\/php-framework-symfony\/\">API\u958b\u767a\u306b\u4fbf\u5229\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08\uff14\uff09- Symfony &#8211;<\/a><\/li><li><a href=\"\/contents\/make\/php-framework-cakephp\/\">API\u958b\u767a\u306b\u4fbf\u5229\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08\uff15\uff09- CakePHP &#8211;<\/a><\/li><li><a href=\"\/contents\/make\/php-framework-ranking\/\">API\u958b\u767a\u306b\u4fbf\u5229\u306aPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u6bd4\u8f03\u3000\u8d85\u4e3b\u89b3\u7684\u306b\u30e9\u30f3\u30ad\u30f3\u30b0\u3057\u3066\u307f\u305f<\/a><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u3067\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b\u5834\u5408\u3001\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067\u66f8\u304f\u3053\u3068\u306f\u307b\u3068\u3093\u3069\u306a\u304f\u306a\u308a\u3001\u306a\u3093\u3089\u304b\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3046\u3053\u3068\u304c\u4e00\u822c\u7684\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":169,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,10],"tags":[85,86,78],"class_list":{"0":"post-168","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-make","8":"category-make-develop","9":"tag-laravel","10":"tag-php-framework","11":"tag-pickup"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":1,"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":170,"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/posts\/168\/revisions\/170"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/media\/169"}],"wp:attachment":[{"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apibank.jp\/contents\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}