PHPackages                             n98/gitosis-admin - 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. n98/gitosis-admin

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

n98/gitosis-admin
=================

Manage Tool for gitosis

1.0.0(12y ago)1461MITCSSPHP &gt;=5.3.3

Since Sep 15Pushed 12y ago1 watchersCompare

[ Source](https://github.com/cmuench/n98-gitosis-admin)[ Packagist](https://packagist.org/packages/n98/gitosis-admin)[ Docs](https://github.com/cmuench/n98-gitosis-admin)[ RSS](/packages/n98-gitosis-admin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (18)Versions (3)Used By (0)

Gitosis Administrator
---------------------

[](#gitosis-administrator)

Manage gitosis over CLI- and Web-Interface.

[![https://secure.travis-ci.org/cmuench/n98-gitosis-admin.png](https://camo.githubusercontent.com/9cc7bed7dde006546aea5168569cb95178a15fe3279daf2cf210575b14190952/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f636d75656e63682f6e39382d6769746f7369732d61646d696e2e706e67)](https://secure.travis-ci.org/cmuench/n98-gitosis-admin)[![https://www.versioneye.com/user/projects/514c647f9ee00e0002007ec9/badge.png](https://camo.githubusercontent.com/f604b9a50712ab2482ac3244a6d9261ed3db606e084b1465477afe2a60bb8bb4/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3531346336343766396565303065303030323030376563392f62616467652e706e67)](https://www.versioneye.com/user/projects/514c647f9ee00e0002007ec9)[![https://poser.pugx.org/n98/gitosis-admin/v/stable.png](https://camo.githubusercontent.com/54456d942ccc36d219fa31a0a6b4dd949b078d69c09d112d5c78d12444478f0e/68747470733a2f2f706f7365722e707567782e6f72672f6e39382f6769746f7369732d61646d696e2f762f737461626c652e706e67)](https://packagist.org/packages/n98/gitosis-admin)### Installation

[](#installation)

Download the composer.phar executable or use the installer.

```
$ curl -s http://getcomposer.org/installer | php
```

Install dependencies over composer.

```
$ php ./composer.phar install
```

Create **config.yaml** file from config.yaml.dist file.

Add path to your gitosis config (Cloned gitosis-admin repository):

```
locale: en
security:
  authentification:
    enabled: false

gitosis:
  root_directory: /path/to/gitosis-admin
  ssh_user: git
  ssh_host: myhost
```

### CLI Interface

[](#cli-interface)

#### List Repositories

[](#list-repositories)

```
$ bin/n98-gitosis-admin repo:list
```

#### Add Repository

[](#add-repository)

```
$ bin/n98-gitosis-admin repo:add name [owner] [description] [gitweb] [daemon]
```

Example:

```
$ bin/n98-gitosis-admin repo:add my-repo "John Doe" "My awesome git repository" no no
```

#### Remove Repository

[](#remove-repository)

```
$ bin/n98-gitosis-admin repo:remove name
```

#### List Groups

[](#list-groups)

```
$ bin/n98-gitosis-admin group:list
```

#### Add Group

[](#add-group)

```
$ bin/n98-gitosis-admin group:add name members [writable] [readonly]
```

Example:

```
# Adds the repo "foo" with members "bar, zoz and bla" with write access to "repo1" and read access to "repo2"
$ bin/n98-gitosis-admin group:add foo bar,zoz,bla repo1 repo2
```

#### Remove Group

[](#remove-group)

```
$ bin/n98-gitosis-admin group:remove name
```

#### Add User to existing Group

[](#add-user-to-existing-group)

```
$  bin/n98-gitosis-admin group:user:add group username
```

#### Remove User from existing Group

[](#remove-user-from-existing-group)

```
$  bin/n98-gitosis-admin group:user:remove group username
```

#### Remove a user from all groups

[](#remove-a-user-from-all-groups)

```
$ bin/n98-gitosis-admin user:remove username
```

#### List all existing users

[](#list-all-existing-users)

Lists all users across all groups.

```
$  bin/n98-gitosis-admin user:list
```

#### Allow group write acccess to repository

[](#allow-group-write-acccess-to-repository)

```
$ bin/n98-gitosis-admin group:repo:add:writable
```

#### Allow group readonly acccess to repository

[](#allow-group-readonly-acccess-to-repository)

```
$ bin/n98-gitosis-admin group:repo:add:readonly
```

Web Interface
-------------

[](#web-interface)

- Manage Repositories, Groups and Users

See Screenshots of the web interface on my flickr account:

[![http://farm9.staticflickr.com/8191/8150656716_76199ea7e5_z.jpg](https://camo.githubusercontent.com/f1d417005f3fdd174328f0db09f7996c88d7114f4a0a49cbb6d9d7f1fa46b68f/687474703a2f2f6661726d392e737461746963666c69636b722e636f6d2f383139312f383135303635363731365f373631393965613765355f7a2e6a7067)](http://www.flickr.com/photos/muench-worms/sets/72157631918064315/)### Installation

[](#installation-1)

- Clone gitosis-admin repository on your local machine.
- Make sure that webserver user has a valid ssh key which is assigned to gitosis-admin repository.

On Debian Systems with Apache User:

```
$ mkdir /var/www/.ssh
$ chown -R www-data:nobody /var/www/.ssh
$ sudo -u www-data ssh-keygen -t rsa
```

Requirements
------------

[](#requirements)

- At least PHP 5.3
- Composer
- GIT Client

TODO
----

[](#todo)

- Auth Layer with LDAP support
- More Translations

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4628d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3063038da410db15818ca52c05425c4fae11ff53722f0ac948b11f6dba20653?d=identicon)[cmuench](/maintainers/cmuench)

---

Top Contributors

[![cmuench](https://avatars.githubusercontent.com/u/211294?v=4)](https://github.com/cmuench "cmuench (74 commits)")

---

Tags

managergitrepositorygitosis

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/n98-gitosis-admin/health.svg)

```
[![Health](https://phpackages.com/badges/n98-gitosis-admin/health.svg)](https://phpackages.com/packages/n98-gitosis-admin)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
