2017 © Pedro PelĂĄez
 

library gitlib

Library for accessing git

image

gitonomy/gitlib

Library for accessing git

  • Sunday, April 22, 2018
  • by alexandresalome
  • Repository
  • 29 Watchers
  • 253 Stars
  • 1,306,269 Installations
  • PHP
  • 43 Dependents
  • 0 Suggesters
  • 54 Forks
  • 22 Open issues
  • 18 Versions
  • 11 % Grown

The README.md

Gitlib for Gitonomy

Build Status StyleCI License Downloads, (*1)

This library provides methods to access Git repository from PHP 5.6+., (*2)

It makes shell calls, which makes it less performant than any solution., (*3)

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

Quick Start

You can install gitlib using Composer. Simply require the version you need:, (*5)

$ composer require gitonomy/gitlib

or edit your composer.json file by hand:, (*6)

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

Example Usage

<?php

use Gitonomy\Git\Repository;

$repository = new Repository('/path/to/repository');

foreach ($repository->getReferences()->getBranches() as $branch) {
    echo '- '.$branch->getName().PHP_EOL;
}

$repository->run('fetch', ['--all']);

API Documentation

For Enterprise

Available as part of the Tidelift Subscription, (*7)

The maintainers of gitonomy/gitlib and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more., (*8)

The Versions

22/04 2018

dev-master

9999999-dev http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

22/04 2018

v1.0.4

1.0.4.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

22/04 2018

dev-short-hash-diffs

dev-short-hash-diffs http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

10/01 2018

v1.0.3

1.0.3.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

11/05 2016

v1.0.2

1.0.2.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

10/05 2016

v1.0.1

1.0.1.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

01/12 2015

v0.1.8

0.1.8.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

01/12 2015

v1.0.0

1.0.0.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

06/03 2015

dev-resolved-objects

dev-resolved-objects http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

13/07 2014

v0.1.7

0.1.7.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

20/06 2014

v0.1.6

0.1.6.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

17/02 2014

v0.1.5

0.1.5.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

07/02 2014

v0.1.4

0.1.4.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

06/02 2014

v0.1.3

0.1.3.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

29/12 2013

v0.1.2

0.1.2.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

11/11 2013

v0.1.1

0.1.1.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

03/05 2013

v0.1.0

0.1.0.0 http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires

25/04 2013

dev-remotes

dev-remotes http://gitonomy.com

Library for accessing git

  Sources   Download

MIT

The Requires

 

The Development Requires