I\'m researching the idea of building a super-small (preferably PHP) web app, which will serve (among other things) as a minimal front-end to a git repository.
Try also glip, a pure php implementation of git, which was extracted from eWiki.
Would this (git API documents) be of any help?
Here's a list of resources about extending php (i.e. to to provide wrappers around other library code):
Also, these would seem relevant, too:
I think that best start in such case could be Interfaces Frontends And Tools page on Git Wiki.
You can find there link to eWiki (github) which supposedly uses native (in PHP) access to Git.
You may also want to check out the Cgit project since they've done something similar (except they build their own git library -- also to avoid running git
directly).
There's JGit, a pure Java implementation, that may be useful to you.