GitPHP is a web frontend for git repositories. It emulates the look of standard gitweb, but is written in PHP and makes use of Smarty templates for customization. It has a couple extras, including syntax highlighting through the GeSHi PHP class and project category support. It works with standard git as well as msysgit on Windows.

Setup should be fairly simple – just extract the tarball where you want to install it, copy config/gitphp.conf.php.example to config/gitphp.conf.php, and set the projectroot in the conf to point to your directory where your bare git repositories are, and make the templates_c directory writeable by the webserver if it’s not already.
You can look through all the available options and defaults in config/gitphp.conf.defaults.php, and copy an option into your config file if you want to override the default. You can also copy config/projects.conf.php.example to config/projects.conf.php and edit it if you want more advanced control over your projects, such as defining categories for projects or loading projects from a text file. More detailed instructions are in the included README.

Note: if you’re upgrading your existing gitphp.conf.php will not be overwritten, but I recommend checking gitphp.conf.defaults.php for new configuration options that may have been added.

You can view the live copy running on this site.

Bugs and enhancement requests can be posted on the Mantis bug tracker.

You can get support by emailing me (my info is on the Contact page), or by visiting the forums.

Ohloh: http://www.ohloh.net/p/gitphp

phpDoc API documentation: http://api.xiphux.com/gitphp

NOTE: this is not the same git-php project that is posted at http://code.google.com/p/git-php/, which appears to be unmaintained.

Download

Changelog

Older versions