scottrobertson / git
Simple Git wrapper in PHP
v0.1
2013-12-29 19:56 UTC
Requires
- php: >=5.3.3
Requires (Dev)
- mockery/mockery: ~0.8
This package is not auto-updated.
Last update: 2024-11-05 03:18:52 UTC
README
This is a very simple PHP wrapper for Git. It contains a limited set of functionality right now, and things will be added as I (and others) need them.
Example
<?php require_once __DIR__ . '/vendor/autoload.php'; $repo = new \ScottRobertson\Git\Repository( new \ScottRobertson\Git\Command( '/tmp/data/php-git' ), 'https://github.com/scottrobertson/php-git.git' ); print_r($repo->getCommits());