I've been learning PHP (on windows) for a week, making simple code that were showed normaly on the browser (with echo) with my local server using php -S localhost:8080. Since adding composer, my browser is just displaying my php code instead of the application.
I've checked this question that had the similar problem to mine but the problem still remains.
Note: I'm not using xamp.
Edit: my locahost looks like this