<?php include localhost:8080/index.php?>

PHP
cd path/to/your/app
php -S localhost:8000// to serve folder foo in public
$ cd ~/public
$ php -S localhost:8000 -t foo/
Source

Also in PHP: