The Wayback Machine - https://web.archive.org/web/20200907140825/https://github.com/CalienteiTech/Git.php/
Skip to content
master
Go to file
Code
This branch is 4 commits behind kbjr:master.

Latest commit

Prevent undefined variable diff notice when method log is used withou…
809b3d1

Git stats

Files

Permalink
Failed to load latest commit information.

readme.md

Git.php

Click here to lend your support to: Git.php and make a donation at pledgie.com !

Description

A PHP git repository control library. Allows the running of any git command from a PHP class. Runs git commands using proc_open, not exec or the type, therefore it can run in PHP safe mode.

Requirements

A system with git installed

Basic Use

require_once('Git.php');

$repo = Git::open('/path/to/repo');  // -or- Git::create('/path/to/repo')

$repo->add('.');
$repo->commit('Some commit message');
$repo->push('origin', 'master');

About

A PHP git library

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.