PHP Classes

PHP Git: Retrieve project files from GIT repositories

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 1,451 All time: 2,697 This week: 488Up
Version License PHP version Categories
phpgit 1.0The PHP License5.2PHP 5, Files and Folders, Project Man...


This package can be used to manipulate project files from GIT repositories.

It can retrieve files from local and remote Git repositories via HTTP.

It can also retrieve file revision history, repository tags, get the list of a files with a given commit identifier or project tags, get the differences between a given commit identifier and the previous, checkout files with a given commit identifier, and clone a repository.

Innovation Award
PHP Programming Innovation award nominee
April 2009
Number 6

Prize: One downloadable copy of Komodo IDE
GIT is a modern revision control system that is used by developers to maintain different revisions of project files.

This package provides a pure PHP solution to access project files maintained in a GIT repository.

Manuel Lemos
Picture of Cesar D. Rodas
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 36
All time rank: 71 in Paraguay Paraguay
Week rank: 33 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

  Files folder image Files  
File Role Description
Files folder imageexamples (1 file)
Files folder imagegitweb (3 files)
Files folder imagephpgit (4 files)

  Files folder image Files  /  examples  
File Role Description
  Plain text file git_http_client.php Class Git clone class example

  Files folder image Files  /  gitweb  
File Role Description
  Accessible without login Plain text file index.php Example a raw gitweb in pure php
  Accessible without login Plain text file prettify.css Data Source code hightlight on the server side
  Accessible without login Plain text file prettify.js Data Source code hightlight on the server side

  Files folder image Files  /  phpgit  
File Role Description
  Plain text file git.php Class Main class
  Plain text file gitbase.php Class Base class
  Plain text file gitcheckout.php Class Checkout class
  Plain text file gitclone.php Class Git clone class 19KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP HTTP protocol client Download .zip .tar.gz In order to run run git_http_client.php Conditional
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,697
This week:488Up
 User Ratings  
 All time