Limit access to your Laravel applications by using invite codes
Full Changelog: https://github.com/clarkeash/doorman/compare/v8.0.0...v9.0.0
Add support for Laravel 9.
Support for Laravel 8
This release makes it easier to create an invite with unlimited redemptions.
Previously you would have to do this:
$invite = Doorman::generate()->uses(0)->once();
now you can do this:
$invite = Doorman::generate()->unlimited()->once();
When generating a single invite you can get direct access to the model rather than the collection.
Instead of calling make
call once
instead e.g.
$invite = Doorman::generate()->for('[email protected]')->once();
Add support for ramsey/uuid v4 (v3 will still work)
DateTimeInterface
(thanks @mikemand)