jackprice / PhpGit

Pure PHP implementation of Git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phpgit

PhpGit is a pure-php implementation of Git.

It's a work-in-progress at the moment - but for now, here are some examples.

<?php

use JackPrice\PhpGit\Repository;

$repository = new Repository('/path/to/repository');
$master     = $repository->getHead();
$hash       = $master->getHash();

echo "master is at {$hash}\n";

About

Pure PHP implementation of Git


Languages

Language:PHP 100.0%