Skip to content

jackprice/PhpGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages