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.