PHPackages                             nkey/gitprovider - 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. nkey/gitprovider

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

nkey/gitprovider
================

Provider for Git SCM

010PHP

Since May 17Pushed 11y ago1 watchersCompare

[ Source](https://github.com/maikgreubel/phpgitprovider)[ Packagist](https://packagist.org/packages/nkey/gitprovider)[ RSS](/packages/nkey-gitprovider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a90176718a041436fe387968316cd7ee35656bd04b377ae246d39909618d4a08/68747470733a2f2f7472617669732d63692e6f72672f6d61696b6772657562656c2f70687067697470726f76696465722e737667)](https://travis-ci.org/maikgreubel/phpgitprovider)[![Coverage Status](https://camo.githubusercontent.com/0d750557a818b32a7a303f2dfdbdf4cd3f4cbd5a79b103e03dd82af1147b522b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d61696b6772657562656c2f70687067697470726f76696465722f62616467652e737667)](https://coveralls.io/r/maikgreubel/phpgitprovider)

phpGitProvider
==============

[](#phpgitprovider)

This package provides an easy to use git client class for PHP. Here a small example to show the features:

```
$path = "/path/to/where/you/want/to/work/on/your/repo";

$provider = new GitProvider($path);

// Create a shared bare repository
$provider->create(true, true);
// Set the author of the repo
$provider->setAuthor("John Doe", "john@doe.tld");
// Provide a project name
$provider->setProjectName('A test repository');

// Some data to repository (file must exist)
$provider->addToIndex("README.md");

// Commit your changes with a speaking message
$provider->commit("Added README");
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d390422a6ff7b8c9131780d182a38e21188e6df8f5cb03d0a0dae34bb856915?d=identicon)[maikgreubel](/maintainers/maikgreubel)

---

Top Contributors

[![maikgreubel](https://avatars.githubusercontent.com/u/745973?v=4)](https://github.com/maikgreubel "maikgreubel (19 commits)")

### Embed Badge

![Health badge](/badges/nkey-gitprovider/health.svg)

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

###  Alternatives

[wwwision/import-service

Generic service for importing data from different sources to configurable targets such as the Neos Content Repository or an arbitrary database table

1010.9k](/packages/wwwision-import-service)[paxha/laravel-reportable

This Laravel Eloquent extension provides record according to dates using models.

111.2k](/packages/paxha-laravel-reportable)

PHPackages © 2026

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