Rev 1193 | Go to most recent revision | Last modification | View Log | RSS feed
glip is a Git Library In PHP. It allows you to access bare git repositories
from PHP scripts, even without having git installed.
Initially written by Patrik Fimml, it was forked slightly updated by Daniel Marschall in 2023.
Add dependency in composer using the command git require danielmarschall/glip
.
Include the autoload file, as shown below:
<?php
use ViaThinkSoft\Glip\Git;
require_once '/path/to/vendor/autoload.php';
$repo = new Git('project/.git');