PHPackages                             cstretton/gitlib-fork - 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. cstretton/gitlib-fork

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

cstretton/gitlib-fork
=====================

Library for accessing git

033PHP

Since Mar 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/cstretton/gitlib-fork)[ Packagist](https://packagist.org/packages/cstretton/gitlib-fork)[ RSS](/packages/cstretton-gitlib-fork/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Gitlib for Gitonomy
===================

[](#gitlib-for-gitonomy)

[![Build Status](https://camo.githubusercontent.com/5faaec126e91ddb072e02835a1ff7bedbd6206883e41dc4555ec2cf7760497ac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6769746f6e6f6d792f6769746c69622f74657374732e796d6c3f6c6162656c3d5465737473267374796c653d666c61742d737175617265266272616e63683d312e33)](https://github.com/gitonomy/gitlib/actions?query=workflow%3ATests+branch%3A1.3)[![StyleCI](https://camo.githubusercontent.com/eb5b78311ca4705ebc23fc813d802ba0090a7fac40027032edbf37fedc53ca26/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f353730393335342f736869656c643f6272616e63683d312e33)](https://github.styleci.io/repos/5709354?branch=1.3)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://opensource.org/licenses/MIT)[![Downloads](https://camo.githubusercontent.com/241bbecd89fe87a002f2775bbb74dcab57ee39d9f1ad1a232c6f3b3295ee9752/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6769746f6e6f6d792f6769746c69623f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gitonomy/gitlib)

This library provides methods to access Git repository from PHP 5.6+.

It makes shell calls, which makes it less performant than any solution.

Anyway, it's convenient and don't need to build anything to use it. That's how we love it.

Quick Start
-----------

[](#quick-start)

You can install gitlib using [Composer](https://getcomposer.org/). Simply require the version you need:

```
$ composer require gitonomy/gitlib
```

or edit your `composer.json` file by hand:

```
{
    "require": {
        "gitonomy/gitlib": "^1.3"
    }
}
```

Example Usage
-------------

[](#example-usage)

```
