Skip to content
/ git Public
forked from kbjr/Git.php

A PHP git library based on kbjr/Git.php

License

Notifications You must be signed in to change notification settings

coyl/git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git.php

A PHP git library based on kbjr/Git.php

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 based on kbjr/Git.php

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%