# Doorman by ReFlar

[![GitLab license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ReFlar/Doorman/blob/master/LICENSE) [![Latest Stable Version](https://img.shields.io/packagist/v/reflar/doorman.svg)](https://github.com/ReFlar/doorman)

A [Flarum](http://flarum.org) extension that restricts sign-ups to user's who have a code created in the admin panel.

Each code can be set to have a maximum number of uses, what group the user should be automatically added to on sign up, and whether or not the user should be automatically activated.

### Usage

- Setup sign-up codes on the admin panel

### Installation

**beta 8 only**

Use Bazaar or install it with composer:

```bash
composer require reflar/doorman
```

Then login and enable the extension.

### To Do

- Allow already signed up users to create codes for others to use (referrals)

### Issues

- [Open an issue on Github](https://github.com/ReFlar/doorman/issues) 

### Links

- [On Github](https://github.com/ReFlar/doorman)
- [On Packagist](https://packagist.org/packages/ReFlar/doorman)