GitPHP

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.

GitPHP is open source under the GNU GPLv2.

Features

Some key features of GitPHP are:

  • Support for multiple projects with categories
  • Various ways to set up project list (search a directory, hardcoded list, Gitweb/Gitosis/Gitolite project list, scm-manager config)
  • Support for viewing common git objects/actions (log, commit, tree, blob, tag, head, file history, blame)
  • Syntax highlighting using GeSHi
  • Unified and side-by-side diffs of commits and files
  • Commit and file searching
  • Snapshot downloading
  • RSS/Atom and OPML feeds
  • Multilanguage support
  • Caching using files or memcache for performance
  • Works with standard git on Linux as well as Git for Windows

Download

The current release is 0.2.9.1. You can get it from the Files section.

ChangeLog

Demo

You can use GitPHP to browse the GitPHP master repository at http://source.gitphp.org.

Documentation

Installing and configuring GitPHP is easy. The Installation page should be all you need to get started.

Other documentation: Technical documentation:

Source

Browse

You can browse the GitPHP repository using GitPHP at http://source.gitphp.org.

Clone

The GitPHP repository is located at http://git.gitphp.org/gitphp.git. You can clone it by running this command:

git clone http://git.gitphp.org/gitphp.git gitphp

Running from source

GitPHP can be run directly from a snapshot tarball or a git checkout. However, there are a few things to be aware of before doing this. Please read Running From Source.

API

Generated documentation for the source tree can be viewed at http://api.gitphp.org.

Support

If you want to discuss GitPHP, get public help, or discuss development, check out the Forums. You can also submit an issue on the "Support" tracker, or simply contact Chris Han directly.

Contribute

GitPHP is currently a single developer project. However, I’m willing to review and accept code contributions from a variety of sources - patches submitted on the issue tracker or directly by email, pull requests, discussions on forums, etc.