PHPackages                             pascalmh/git.php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pascalmh/git.php

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

pascalmh/git.php
================

1.0.0(9y ago)09.3kPHP

Since Feb 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Pascalmh/git.php)[ Packagist](https://packagist.org/packages/pascalmh/git.php)[ RSS](/packages/pascalmh-gitphp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Git.php
=======

[](#gitphp)

[![Click here to lend your support to: Git.php and make a donation at pledgie.com !](https://camo.githubusercontent.com/1a6443dd10f7b2dd99803d38655741fe2a48c013e619dc66fd6e416751753b7c/68747470733a2f2f706c65646769652e636f6d2f63616d706169676e732f32383630342e706e673f736b696e5f6e616d653d6368726f6d65)](https://pledgie.com/campaigns/28604)

Description
-----------

[](#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
------------

[](#requirements)

A system with [git](http://git-scm.com/) installed

Basic Use
---------

[](#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');
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 64% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3382d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/294281c8d16ff7ca50dbc97250ba6a7422cc7349caf00fa8d6bf9882e817a35c?d=identicon)[Pascalmh](/maintainers/Pascalmh)

![](https://www.gravatar.com/avatar/e313f1ec98c211100e91b929b574203dc78572be0812d1c4015881d33e2c3fe7?d=identicon)[markusdenhoff](/maintainers/markusdenhoff)

---

Top Contributors

[![kbjr](https://avatars.githubusercontent.com/u/195127?v=4)](https://github.com/kbjr "kbjr (48 commits)")[![mAAdhaTTah](https://avatars.githubusercontent.com/u/4371429?v=4)](https://github.com/mAAdhaTTah "mAAdhaTTah (4 commits)")[![uuf6429](https://avatars.githubusercontent.com/u/230049?v=4)](https://github.com/uuf6429 "uuf6429 (3 commits)")[![woolfg](https://avatars.githubusercontent.com/u/1328269?v=4)](https://github.com/woolfg "woolfg (2 commits)")[![bentasker](https://avatars.githubusercontent.com/u/2900301?v=4)](https://github.com/bentasker "bentasker (2 commits)")[![gartner](https://avatars.githubusercontent.com/u/195601?v=4)](https://github.com/gartner "gartner (2 commits)")[![steveworley](https://avatars.githubusercontent.com/u/1840912?v=4)](https://github.com/steveworley "steveworley (2 commits)")[![fitorec](https://avatars.githubusercontent.com/u/144527?v=4)](https://github.com/fitorec "fitorec (1 commits)")[![wangxiyu191](https://avatars.githubusercontent.com/u/1378227?v=4)](https://github.com/wangxiyu191 "wangxiyu191 (1 commits)")[![bmorg](https://avatars.githubusercontent.com/u/842699?v=4)](https://github.com/bmorg "bmorg (1 commits)")[![BishoyA](https://avatars.githubusercontent.com/u/8873296?v=4)](https://github.com/BishoyA "BishoyA (1 commits)")[![robbat2](https://avatars.githubusercontent.com/u/373898?v=4)](https://github.com/robbat2 "robbat2 (1 commits)")[![squiddle](https://avatars.githubusercontent.com/u/98932?v=4)](https://github.com/squiddle "squiddle (1 commits)")[![amalmurali47](https://avatars.githubusercontent.com/u/3582096?v=4)](https://github.com/amalmurali47 "amalmurali47 (1 commits)")[![syrusakbary](https://avatars.githubusercontent.com/u/188257?v=4)](https://github.com/syrusakbary "syrusakbary (1 commits)")[![tomasfejfar](https://avatars.githubusercontent.com/u/642928?v=4)](https://github.com/tomasfejfar "tomasfejfar (1 commits)")[![annulen](https://avatars.githubusercontent.com/u/102544?v=4)](https://github.com/annulen "annulen (1 commits)")[![eamelink](https://avatars.githubusercontent.com/u/332784?v=4)](https://github.com/eamelink "eamelink (1 commits)")[![ElliottLandsborough](https://avatars.githubusercontent.com/u/1583854?v=4)](https://github.com/ElliottLandsborough "ElliottLandsborough (1 commits)")

### Embed Badge

![Health badge](/badges/pascalmh-gitphp/health.svg)

```
[![Health](https://phpackages.com/badges/pascalmh-gitphp/health.svg)](https://phpackages.com/packages/pascalmh-gitphp)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
