PHPackages                             vierbergenlars/gihp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. vierbergenlars/gihp

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

vierbergenlars/gihp
===================

Git SCM access through PHP

v0.10.0(13y ago)336MITPHP

Since Nov 22Pushed 12y ago3 watchersCompare

[ Source](https://github.com/vierbergenlars/gihp)[ Packagist](https://packagist.org/packages/vierbergenlars/gihp)[ RSS](/packages/vierbergenlars-gihp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (13)Used By (0)

gihp -- Git in PHP
==================

[](#gihp----git-in-php)

[![Build Status](https://camo.githubusercontent.com/b12f1a1ab8e66ffe00456b520b7302f03eae04af1a246d1a6eedb90af57db158/68747470733a2f2f7472617669732d63692e6f72672f7669657262657267656e6c6172732f676968702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/vierbergenlars/gihp)

Gihp is a set of classes to work with git repositories in pure PHP. Not a single line of shell code is executed.

**Recently a full-history rewrite was executed**

Installation
------------

[](#installation)

Add `vierbergenlars/gihp` to your `composer.json` or run `composer.phar require vierbergenlars/gihp`

```
{
    "require": {
        "vierbergenlars/gihp": "*"
    }
}
```

[API documentation](http://apigen.juzna.cz/doc/vierbergenlars/gihp/)
--------------------------------------------------------------------

[](#api-documentation)

Only the API documentation for the latest version is available online. Earlier versions can be generated from source with [ApiGen](http://apigen.org/)

Basic usage
-----------

[](#basic-usage)

Opening a repository and getting basic information is a piece of cake.

```
