sarkian/glip

Git library for PHP

Installs: 5

Dependents: 0

Watchers: 2

Forks: 96

Language: PHP

0.1.3 2014-05-28 15:31 UTC

README

glip is a Git Library In PHP. It allows you to access bare git repositories from PHP scripts, even without having git installed. The project's homepage is located at http://fimml.at/glip.

glip was formerly part of eWiki, a wiki software written in PHP using git as version control backend. You can get more information on eWiki from http://fimml.at/ewiki.

glip was split off eWiki on May 31, 2009. An attempt was made to preserve commit history by using git filter-branch; this also means that commit messages before May 31, 2009 may seem weird (esp. wrt file names).

Include the autoload file, as shown below:

<?php

require_once '/path/to/vendor/autoload.php';

Create a new Git repository:

<?php

$repo = new Glip_Git('project/.git');

Anyone who wants to contribute to this project is more than welcome to send a pull request