PHP Classes

Git class: Get information from a Git repository

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 294 All time: 7,467 This week: 455Up
Version License PHP version Categories
git-class 1GNU Lesser Genera...5.0PHP 5, Files and Folders


This class can get information from a Git repository.

It uses the Git client program to query a given repository to get some types of statistical information.

Currently it can get all the commits of a given branch, get the hash of the latest commit, the number of commits of a given branch and get the version of a given branch.

Innovation Award
PHP Programming Innovation award nominee
November 2013
Number 8
Git is now one of the most popular version control software tools. It allows developers to keep track of the different revisions that their project files go through.

This class can extract statistics about the versions of project files in Git repositories.

Manuel Lemos
Picture of Jan Altensen
  Performance   Level  
Name: Jan Altensen <contact>
Classes: 12 packages by
Country: Germany Germany
Age: 30
All time rank: 105165 in Germany Germany
Week rank: 52 Up3 in Germany Germany Up
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Files folder imageexample (1 file)
Plain text file git.class.php Class Main Class

  Files folder image Files  /  example  
File Role Description
  Plain text file test.php Example example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,467
This week:455Up
User Ratings User Comments (1)
 All time
Thats a good class ;-)
10 years ago (Josť Filipe Lopes Santos)