{"id":915,"date":"2024-04-15T13:46:14","date_gmt":"2024-04-15T04:46:14","guid":{"rendered":"http:\/\/inwelly.com\/?p=915"},"modified":"2024-04-15T13:46:14","modified_gmt":"2024-04-15T04:46:14","slug":"php-laravel-%ec%83%88%eb%a1%9c%ec%9a%b4-index-%ed%8e%98%ec%9d%b4%ec%a7%80-%eb%a7%8c%eb%93%a4%ea%b8%b0-1","status":"publish","type":"post","link":"https:\/\/inwelly.com\/?p=915","title":{"rendered":"PHP Laravel &#8211; \uc0c8\ub85c\uc6b4 index \ud398\uc774\uc9c0 \ub9cc\ub4e4\uae30 &#8211; 1"},"content":{"rendered":"\n<p>\\app\\Http\\Controllers\\PagesController.php<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-preformatted\"><strong>&lt;?php<br><\/strong><strong><br><\/strong><strong>namespace <\/strong>App\\Http\\Controllers;<br><br><strong>use <\/strong>Illuminate\\Http\\Request;<br><br><strong>class <\/strong>PagesController <strong>extends <\/strong>Controller<br>{<br>    <strong>public function <\/strong>index()<br>    {<br>        <strong>return <\/strong>'INDEX PAGE';<br>    }<br>}<\/pre>\n<\/blockquote>\n\n\n\n<p>\\routes\\web.php<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-preformatted\"><strong>&lt;?php<br><\/strong><strong><br><\/strong>\/*<br>|--------------------------------------------------------------------------<br>| Web Routes<br>|--------------------------------------------------------------------------<br>|<br>| Here is where you can register web routes for your application. These<br>| routes are loaded by the RouteServiceProvider within a group which<br>| contains the \"web\" middleware group. Now create something great!<br>|<br>*\/<br><br><br>Route::<em>get<\/em>('\/','PagesController@index');<\/pre>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"297\" src=\"http:\/\/inwelly.com\/wp-content\/uploads\/2024\/04\/image-471.png\" alt=\"\" class=\"wp-image-916\" style=\"width:920px;height:auto\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\\app\\Http\\Controllers\\PagesController.php &lt;?phpnamespace App\\Http\\Controllers;use Illuminate\\Http\\Request;class PagesController extends Controller{ public function index() { return &#8216;INDEX PAGE&#8217;; }} \\routes\\web.php &lt;?php\/*|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;| Web Routes|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;|| Here [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"class_list":["post-915","post","type-post","status-publish","format-standard","hentry","category-laravel"],"_links":{"self":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=915"}],"version-history":[{"count":1,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/915\/revisions"}],"predecessor-version":[{"id":917,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/915\/revisions\/917"}],"wp:attachment":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}