2017 © Pedro Peláez
 

library git

A simple wrapper for git (depends on the git executable). Supports subset of commands useful for versioning projects

image

grynn/git

A simple wrapper for git (depends on the git executable). Supports subset of commands useful for versioning projects

  • Monday, January 26, 2015
  • by Grynn
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Grynn\Git

Simple PHP wrapper for Git (depends on git executable being in the path). Very limited feature set. Mainly for use with Grynn\GitVersionBump, (*1)

Installation

To add this package as a local, per-project dependency to your project, simply add a dependency on grynn/git to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on Grynn\Git 1.0:, (*2)

{
    "require": {
        "grynn/git": "1.0.*"
    }
}

Usage

$git = new \Grynn\Git();
$git->getCurrentBranch();   //Returns: branchname
$git->isDirty();            //Returns: true if working dir is dirty
$git->getVersionTag();       //Returns: version tag that describes current HEAD

The Versions

26/01 2015

dev-master

9999999-dev http://github.com/Grynn/grynn-git

A simple wrapper for git (depends on the git executable). Supports subset of commands useful for versioning projects

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Vishal Doshi

git

26/01 2015

v0.0.3

0.0.3.0 http://github.com/Grynn/grynn-git

A simple wrapper for git (depends on the git executable). Supports subset of commands useful for versioning projects

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Vishal Doshi

git

08/01 2015

v0.0.2

0.0.2.0 http://github.com/Grynn/grynn-git

A simple wrapper for git (depends on the git executable). Supports subset of commands useful for versioning projects

  Sources   Download

Private

The Requires

  • php >=5.3.3

 

The Development Requires

by Vishal Doshi

git

06/01 2015

v0.0.1

0.0.1.0 http://github.com/Grynn/grynn-git

A simple wrapper for git (depends on the git executable). Supports subset of commands useful for versioning projects

  Sources   Download

Private

The Requires

  • php >=5.3.3

 

by Vishal Doshi

git