PHP Source Browser

PHP is a popular open source scripting language, but there’s no convenient way to share the source of a live site. It’s easy to make a publicly viewable copy of PHP scripts, but these copies are inevitably neglected when the live copy is updated. Source Browser is an attempt at solving this problem.

Source Browser should be usable on any PHP server simply by setting the directory that should be open source, and optionally any subdirectories that should be restricted. Point it at your server’s root directory, restrict any confidential files, and you have a live open source website.

By default, only PHP and HTML source files are displayed, but any extensions can be specified. Default PHP syntax highlighting is also replaced by class names, to allow easy reformatting with CSS. Source Browser works as a standalone web application, but it can be easily integrated with any existing site. It’s released under GPL. If you have any questions or suggestions, please leave a comment.

One Comment

  1. Posted February 4, 2007 at 9:27 pm | Permalink

    Great idea.

    1

Post a Comment

Your email is never published nor shared.

Bad Behavior has blocked 657 access attempts in the last 7 days.