PHPackages                             johninamillion/php-git - 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. johninamillion/php-git

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

johninamillion/php-git
======================

A lightweight PHP wrapper for common Git CLI commands.

0.1.0(7mo ago)1311PHPPHP ^8.2CI failing

Since Sep 25Pushed 7mo agoCompare

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

READMEChangelog (1)Dependencies (5)Versions (2)Used By (1)

PHP-Git
=======

[](#php-git)

[![Tests](https://github.com/johninamillion/php-git/actions/workflows/tests.yml/badge.svg)](https://github.com/johninamillion/php-git/actions/workflows/tests.yml)[![ToDos](https://github.com/johninamillion/php-git/actions/workflows/todos.yml/badge.svg)](https://github.com/johninamillion/php-git/actions/workflows/todos.yml)[![Version](https://camo.githubusercontent.com/47cf5ef3033e70929e1dac1daf910d4b9b6a487620fe1136a41d4b28227dfd9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f686e696e616d696c6c696f6e2f7068702d676974)](https://packagist.org/packages/johninamillion/php-git)

---

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Development](#development)
- [License](#license)

---

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

[](#installation)

You can install the package via Composer:

```
composer require --dev johninamillion/php-git
```

Development
-----------

[](#development)

### Analyze Code

[](#analyze-code)

To analyze your code for potential issues, you can run [phpstan](https://github.com/phpstan/phpstan):

```
composer code:analyse
```

### Apply Code-Styles

[](#apply-code-styles)

To ensure your code adheres to the coding standards, you can run the [php-cs-fixer](https://github.com/php-cs-fixer/php-cs-fixer).

```
composer code:format
```

### Get open tasks

[](#get-open-tasks)

To get a list of open tasks noticed in comments, run:

```
composer todo
```

### Run Tests

[](#run-tests)

To run the tests, make sure you have installed [phpunit](https://github.com/sebastianbergmann/phpunit) within the dev dependencies and then run:

```
composer test
```

Check the Test Coverage:

```
composer test:coverage
```

---

License
-------

[](#license)

This package is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.

---

All Glory To God - The Father, The Son, and The Holy Spirit.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance62

Regular maintenance activity

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

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

235d ago

### Community

Maintainers

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

---

Top Contributors

[![johninamillion](https://avatars.githubusercontent.com/u/31989151?v=4)](https://github.com/johninamillion "johninamillion (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/johninamillion-php-git/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[overtrue/php-opencc

中文简繁转换，支持词汇级别的转换、异体字转换和地区习惯用词转换（中国大陆、台湾、香港、日本新字体）。基于 \[BYVoid/OpenCC\](https://github.com/BYVoid/OpenCC) 数据实现。

12130.7k](/packages/overtrue-php-opencc)

PHPackages © 2026

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