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.


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


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



You can use GitPHP to browse the GitPHP master repository at


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

Other documentation: Technical documentation:



You can browse the GitPHP repository using GitPHP at


The GitPHP repository is located at You can clone it by running this command:

git clone 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.


Generated documentation for the source tree can be viewed at


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.


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.