Skip to content

Commit

Permalink
add supported versions and update installation
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkeash committed Sep 5, 2019
1 parent 3414e70 commit 9870fca
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,35 +26,22 @@ Invite Codes:
* Can have a limited number of uses or unlimited.
* Can have an expiry date, or never expire.

## Laravel Support

Laravel | Doorman
:---------|:----------
5.x | 3.x
6.x | 4.x

## Installation

You can pull in the package using [composer](https://getcomposer.org):

```bash
$ composer require clarkeash/doorman
```

Next, register the service provider with Laravel:

```php
// config/app.php
'providers' => [
...
Clarkeash\Doorman\Providers\DoormanServiceProvider::class,
];
```

And, register the facade:

```php
// config/app.php
'aliases' => [
...
'Doorman' => Clarkeash\Doorman\Facades\Doorman::class,
];
$ composer require "clarkeash/doorman=^4.0"
```

Finally, migrate the database:
Next, migrate the database:

```bash
$ php artisan migrate
Expand Down

0 comments on commit 9870fca

Please sign in to comment.