2017 © Pedro Peláez
 

library git

A git wrapper.

image

chrishalbert/git

A git wrapper.

  • Friday, February 17, 2017
  • by chrishalbert
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2,528 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 24 % Grown

The README.md

Git

Build Status Coverage Status Latest Stable Version License, (*1)

Overview

This is a simple git wrapper created for use in other php libraries., (*2)

It uses magic methods to execute commands, however it is extendable., (*3)

Installation

Add this to your composer file:, (*4)

{
    "require": {
        "chrishalbert/git": "1.*"
    }
} 

Or simply on the command line:, (*5)

composer require chrishalbert/git

Usage

$git = new Git();
$branches = $git->branch();

// Fix a file for all branches
foreach ($branches as $branch) {
    $git->checkout($branch);
    // Do stuff
    $git->add('.');
    $git->commit(['--message' => 'Fixed a bug']);
}

$git->checkout('master');

The Versions

17/02 2017

dev-master

9999999-dev

A git wrapper.

  Sources   Download

BSD3-clause

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

by Chris Halbert

git php

17/02 2017

1.0.2

1.0.2.0

A git wrapper.

  Sources   Download

BSD3-clause

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

by Chris Halbert

git php

17/02 2017

v1.0.1

1.0.1.0

A git wrapper.

  Sources   Download

BSD3-clause

The Requires

 

The Development Requires

by Chris Halbert

git php

12/11 2016

0.1.0

0.1.0.0

A git wrapper.

  Sources   Download

BSD3-clause

The Requires

  • php 5.6.*

 

The Development Requires

by Chris Halbert

git php

12/11 2016

0.1.1

0.1.1.0

A git wrapper.

  Sources   Download

BSD3-clause

The Requires

  • php 5.6.*

 

The Development Requires

by Chris Halbert

git php

12/11 2016

1.0.0

1.0.0.0

A git wrapper.

  Sources   Download

BSD3-clause

The Requires

  • php 5.6.*

 

The Development Requires

by Chris Halbert

git php