PHP-Symfony4 Annotation Routes & Controller 를 통한 화면 출력

composer create-project symfony/skeleton the_example02

composer require annotations

src/Controller/Example002Controller.php 작성

php -S 127.0.0.1:8000 -t public

브라우져에서 아래와 같이 “http://localhost:8000/” 실행 한다.

소스 :  symfony_example 브랜치(branch) > example001

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다