Limit access to your Laravel applications by using invite codes
see #34 / #37
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)
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)
Added php artisan doorman:cleanup
command to help remove used and expired invites
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.Add Spanish translations
Add custom validation rule. details
First stable release of doorman.