PHPackages                             rafaelgou/gitolite-php - 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. rafaelgou/gitolite-php

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

rafaelgou/gitolite-php
======================

Classes to admin Gitolite from PHP

2376

Since Jan 17Compare

[ Source](https://github.com/rafaelgou/gitolite-php)[ Packagist](https://packagist.org/packages/rafaelgou/gitolite-php)[ RSS](/packages/rafaelgou-gitolite-php/feed)WikiDiscussions Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

gitolite-php
------------

[](#gitolite-php)

A wrapper to admin a gitolite git server throught PHP.

The main use is to create an gitolite-admin repo from scratch, and create GUIs to manage it.

**Still Alpha!! Licence to be defined!!**

Features
--------

[](#features)

- Feed some objects and render gitolite.conf file
- Pull and Push to remote gitolite-admin repository (almost done)

Limitations
-----------

[](#limitations)

- Not all features of gitolite are implemented yet
- Some features will be intentionally missed for better integration
- Full reading from an existing repository could no be possible
- Maybe will never be possible to import included files

TODO
----

[](#todo)

- Read from gitolite.conf

Installation
------------

[](#installation)

```
git clone git://github.com/rafaelgou/gitolite-php.git
cd gitolite-php
git submodules update

```

You can install as submodule in your Git project, but don't forget to run the git submodule update inside the gitolite-php directory.

Use
---

[](#use)

```
// Register Autoload
include_once('PATH_TO/gitolite-php/src/GitoliteAutoload.php');
\GitoliteAutoload::registerAutoload();

// PHPGit_Repository
require_once('PATH_TO/gitolite-php//vendor/php-git-repo/lib/PHPGit/Repository.php');

```

Sample use:

```
