This package is abandoned and no longer maintained. No replacement package was suggested.

Simple Git wrapper in PHP

Maintainers

👁 scottrobertson

Package info

github.com/scottrobertson/php-git

Homepage

pkg:composer/scottrobertson/git

Statistics

Installs: 13

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

v0.1 2013-12-29 19:56 UTC

Requires

  • php: >=5.3.3

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 30b064c99489c766193540384f108ca94a8065b5

git

This package is not auto-updated.

Last update: 2026-04-07 10:44:37 UTC


README

👁 Build Status
👁 Dependency Status

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());