{"id":840,"date":"2024-04-15T13:01:11","date_gmt":"2024-04-15T04:01:11","guid":{"rendered":"http:\/\/inwelly.com\/?p=840"},"modified":"2024-04-15T13:01:11","modified_gmt":"2024-04-15T04:01:11","slug":"php-symfony4-annotation-routes-controller-%eb%a5%bc-%ed%86%b5%ed%95%9c-%ed%99%94%eb%a9%b4-%ec%b6%9c%eb%a0%a5","status":"publish","type":"post","link":"https:\/\/inwelly.com\/?p=840","title":{"rendered":"PHP-Symfony4 Annotation Routes &amp; Controller \ub97c \ud1b5\ud55c \ud654\uba74 \ucd9c\ub825"},"content":{"rendered":"\n<p>composer create-project symfony\/skeleton the_example02<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"848\" src=\"http:\/\/inwelly.com\/wp-content\/uploads\/2024\/04\/image-446.png\" alt=\"\" class=\"wp-image-841\" style=\"width:920px;height:auto\"\/><\/figure>\n\n\n\n<p>composer require annotations<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"439\" src=\"http:\/\/inwelly.com\/wp-content\/uploads\/2024\/04\/image-447.png\" alt=\"\" class=\"wp-image-842\" style=\"width:920px;height:auto\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/symfonycasts.com\/screencast\/symfony\/route-controller#codeblock-b80d9887fc\">src\/Controller\/Example002Controller.php<\/a>\u00a0\uc791\uc131<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"829\" height=\"492\" src=\"http:\/\/inwelly.com\/wp-content\/uploads\/2024\/04\/image-448.png\" alt=\"\" class=\"wp-image-843\" style=\"width:920px;height:auto\"\/><\/figure>\n\n\n\n<p>php -S 127.0.0.1:8000 -t public<\/p>\n\n\n\n<p>\ube0c\ub77c\uc6b0\uc838\uc5d0\uc11c \uc544\ub798\uc640 \uac19\uc774 &#8220;http:\/\/localhost:8000\/&#8221; \uc2e4\ud589 \ud55c\ub2e4.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"462\" src=\"http:\/\/inwelly.com\/wp-content\/uploads\/2024\/04\/image-449.png\" alt=\"\" class=\"wp-image-844\" style=\"width:920px;height:auto\"\/><\/figure>\n\n\n\n<p>\uc18c\uc2a4 :\u00a0<a href=\"https:\/\/github.com\/nzhongtting\/symfony_example\/branches\">\u00a0symfony_example \ube0c\ub79c\uce58(branch) > example001<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>composer create-project symfony\/skeleton the_example02 composer require annotations src\/Controller\/Example002Controller.php\u00a0\uc791\uc131 php -S 127.0.0.1:8000 -t public \ube0c\ub77c\uc6b0\uc838\uc5d0\uc11c \uc544\ub798\uc640 \uac19\uc774 &#8220;http:\/\/localhost:8000\/&#8221; \uc2e4\ud589 \ud55c\ub2e4. \uc18c\uc2a4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[],"class_list":["post-840","post","type-post","status-publish","format-standard","hentry","category-symfony"],"_links":{"self":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/840","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=840"}],"version-history":[{"count":1,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/840\/revisions"}],"predecessor-version":[{"id":845,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/840\/revisions\/845"}],"wp:attachment":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}