PHPackages                             ichhabrecht/git-wrapper - 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. ichhabrecht/git-wrapper

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

ichhabrecht/git-wrapper
=======================

A PHP (read-only) wrapper for the Git command line utility

1.3.0(9y ago)52321[1 PRs](https://github.com/IchHabRecht/git-wrapper/pulls)1MITPHP

Since May 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/IchHabRecht/git-wrapper)[ Packagist](https://packagist.org/packages/ichhabrecht/git-wrapper)[ Docs](https://github.com/IchHabRecht/git-wrapper)[ RSS](/packages/ichhabrecht-git-wrapper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (5)Used By (1)

git-wrapper
===========

[](#git-wrapper)

A PHP (read-only) wrapper for the Git command line utility.

[![Latest Stable Version](https://camo.githubusercontent.com/be03bb3493694b2875f71778403f08bd7c57a55a0627db55522332e0b3c01c68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69636868616272656368742f6769742d777261707065722e737667)](https://packagist.org/packages/ichhabrecht/git-wrapper)[![Build Status](https://camo.githubusercontent.com/37cfbff4b85f724fb500bdc24fc08664feaa6db35d4f78518c3ea84b254047fd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f49636848616252656368742f6769742d777261707065722f6d61737465722e737667)](https://travis-ci.org/IchHabRecht/git-wrapper)

Installation
------------

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install the git-wrapper.

```
$ composer require ichhabrecht/git-wrapper
```

Usage
-----

[](#usage)

**Clone a repository**

```
$gitWrapper = new IchHabRecht\GitWrapper\GitWrapper();

$gitRepository = $gitWrapper->cloneRepository('https://github.com/IchHabRecht/git-wrapper.git', __DIR__ . '/git-wrapper');
```

**Get working copy**

```
$gitWrapper = new IchHabRecht\GitWrapper\GitWrapper();

$gitRepository = $gitWrapper->getRepository(__DIR__ . '/git-wrapper');
$gitRepository->fetch();
$gitRepository->pull();
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 97.2% 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

Every ~103 days

Total

4

Last Release

3351d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c577dc38578733f324202dc768ced292965740b43a40363ce31003dab833c5e?d=identicon)[IchHabRecht](/maintainers/IchHabRecht)

---

Top Contributors

[![IchHabRecht](https://avatars.githubusercontent.com/u/1453345?v=4)](https://github.com/IchHabRecht "IchHabRecht (35 commits)")[![brannow](https://avatars.githubusercontent.com/u/19426486?v=4)](https://github.com/brannow "brannow (1 commits)")

---

Tags

phputilitywrappergit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ichhabrecht-git-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/ichhabrecht-git-wrapper/health.svg)](https://phpackages.com/packages/ichhabrecht-git-wrapper)
```

###  Alternatives

[bocharsky-bw/arrayzy

A native PHP arrays easy manipulation library in OOP way.

38425.4k](/packages/bocharsky-bw-arrayzy)[zoon/rialto

Manage Node resources from PHP

12199.4k3](/packages/zoon-rialto)[wcm/git-php-hooks-library

A collection of Git PHP Hooks

1210.1k3](/packages/wcm-git-php-hooks-library)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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