PHPackages                             cupoftea/laravel-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. [Framework](/categories/framework)
4. /
5. cupoftea/laravel-git-wrapper

ActiveLibrary[Framework](/categories/framework)

cupoftea/laravel-git-wrapper
============================

Laravel GitWrapper is a GitWrapper bridge for Laravel 5

v1.1.3(6y ago)11761MITPHPPHP ^7.1.3

Since Jan 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/CupOfTea696/Laravel-GitWrapper)[ Packagist](https://packagist.org/packages/cupoftea/laravel-git-wrapper)[ RSS](/packages/cupoftea-laravel-git-wrapper/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (7)Versions (8)Used By (0)

Laravel GitWrapper
==================

[](#laravel-gitwrapper)

Laravel GitWrapper is a [GitWrapper](https://github.com/cpliakas/git-wrapper) bridge for Laravel 5.

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

[](#installation)

Laravel GitWrapper requires PHP 7.1 or up. It supports Laravel 5.5 - 5.7 only.

To get the latest version, simply require the project using [Composer](https://getcomposer.org/).

```
$ composer require cupoftea/laravel-git-wrapper
```

If you are not using automatic package discovery, you'll need to register the `CupOfTea\GitWrapper\GitWrapperServiceProvider` service provider in your `config/app.php`.

You can also optionally alias the facade by adding the following line to your `aliases` in `config/app.php`.

```
        'Git' => CupOfTea\GitWrapper\Facades\Git::class,
```

Configuration
-------------

[](#configuration)

The Laravel GitWrapper requires connection configuration.

To get started, publish the vendor assets.

```
$ php artisan vendor:publish
```

This will create a `config/git.php` file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

There are three configuration options:

##### Logger

[](#logger)

This option (`'logger'`) is where you can enable logging, and set which log channel or log channel stack to use. To enable logging using the default channel, simply set this option to `true`. If you want to log to a specific channel, provide the channel name. Lastly, if you want to log to a channel stack, provide an array of log channels to use.

##### Default Connection Name

[](#default-connection-name)

This option (`'default'`) is where you may specify which of the connections below you wish to use as your default connection for all work. Of course, you may use many connections at once using the manager class. The default value for this setting is `'main'`.

##### Git Connections

[](#git-connections)

This option (`'connections'`) is where each of the connections are setup for your application. Example configuration has been included, but you may add as many connections as you would like. Note that the 2 supported authentication methods are: `"ssh_key"`, and `"none"`. When using the `"ssh_key"` method, you are required to provide the `"key_path"` option as well, which is the path to your private SSH key.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~19 days

Recently: every ~28 days

Total

7

Last Release

2554d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2977bc0c1a9c62466102bce06ba22bca2897d5a0176087f2c6d8924e55f60c42?d=identicon)[CupOfTea696](/maintainers/CupOfTea696)

---

Top Contributors

[![CupOfTea696](https://avatars.githubusercontent.com/u/7327050?v=4)](https://github.com/CupOfTea696 "CupOfTea696 (22 commits)")

---

Tags

frameworklaravelgitBridgegit wrappergit wrapper bridgeLaravel GitWrapperCupOfTeaFrankie Wittevrongel

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[graham-campbell/github

GitHub Is A GitHub Bridge For Laravel

6411.7M19](/packages/graham-campbell-github)[rebing/graphql-laravel

Laravel wrapper for PHP GraphQL

2.2k7.1M26](/packages/rebing-graphql-laravel)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M63](/packages/graham-campbell-markdown)[graham-campbell/digitalocean

DigitalOcean Is A DigitalOcean Bridge For Laravel

509343.1k2](/packages/graham-campbell-digitalocean)[graham-campbell/gitlab

GitLab Is A GitLab Bridge For Laravel

141584.1k2](/packages/graham-campbell-gitlab)[graham-campbell/bitbucket

Bitbucket Is A Bitbucket Bridge For Laravel

75185.0k2](/packages/graham-campbell-bitbucket)

PHPackages © 2026

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