Preview a Web Page using Web Server

#1

I now use Atom for all of my development, but there is one feature I miss from my previous development editor.

In Komodo Edit, it is possible to preview a web page with PHP by running it through the web server. That is, you can map a development folder to a URL. For example:

  • Folder: …/…/dev/
  • URL: http://www.example.com/

Then every change in …/…/dev/whatever.php would be viewed in the preview pane as http://www.example.com/whatever.php.

I know that there is an HTML preview package. Is there something which will do the above?

#2

My personal choice is php-server which previews in the browser and not in a preview pane. Just right click on any project file in tree-view such as index.php and choose PHP Server here.