Reputation: 6499
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.
Any library/article for reading a git repository (".git" folder) without having to execute the "git" process? I'm looking for an API to manage a git repository. I'm only interested in basic functions, such as reading last commits (name of commiter, commit note, date), displaying and traversing branches...
Thanks, ANaimi
Upvotes: 26
Views: 12419
Reputation: 5755
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:
Upvotes: 16
Reputation: 439
Try also glip, a pure php implementation of git, which was extracted from eWiki.
Upvotes: 3
Reputation: 323464
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.
Upvotes: 2