Releases: clarkeash/doorman
Releases · clarkeash/doorman
v3.0.0
Fix case sensitivity issue
Laravel 5.7
Support for laravel 5.7 has been added while still supporting 5.6.
Some dependencies were updated and tests were changed (no src
code changes)
This fixes #35 (has a few details on what changed)
v2
This release contains support for multiple drivers for code generation, comes with a basic driver (generates random 5 char code) and a UUID driver which can be enabled in you config/doorman.php
file.
You can now only generate 1 invite code per email address
This release requires laravel 5.6 and php 7.1.3 (same version laravel requires)
Add console command
Added php artisan doorman:cleanup
command to help remove used and expired invites
Added helpers to Invite Model
Helper Methods (all return a boolean):
$invite->hasExpired()
- has expired.$invite->isFull()
- has maxed its usages.$invite->isRestricted()
- its restricted to an email.$invite->isRestrictedFor($email)
its restricted to this email.$invite->isUseless()
- is full or expired.
Invite::expired()
- return all expired invites.Invite::full()
- return all full (max uses reached) invites.Invite::useless()
- return all expired and full invites.
Use config for table name
v1.1.2 and config info
Add Spanish translations
Add Spanish translations
Add custom validation rule
Add custom validation rule. details
First Release
First stable release of doorman.