Git4P

An easy-to-use, server-side PHP library to interact with Git repositories.

Download .zip Download .tar.gz View on BitBucket

Introduction

"Git4P" stands for "Git for PHP" and is a PHP library that can access a Git repository without using external help like the standard git commands.

Status: development / pre-alpha

Development plan

This library will be developed using the following phases or stages:

  • Read only support for bare repositories (no pack support);
  • Read only support for bare repositories including pack support;
  • Write support for bare repositories (no pack support);
  • Write support for bare repositories including pack support;

Undecided

The following items are still undecided since this would make it a non-server side library, which was not my original aim.

  • Read support (i.e. did something change) for working dirs;
  • Write support for working dirs;

Status of this library

DEVELOPMENT - this library is in full development and cannot be used in production. Use at your own risk.