├── .github └── workflows │ └── tests.yml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── resources ├── config │ └── doorman.php ├── migrations │ └── 2017_04_04_185723_create_invites_table.php └── translations │ ├── ar │ └── messages.php │ ├── ca │ └── messages.php │ ├── en │ └── messages.php │ ├── es │ └── messages.php │ └── fr │ └── messages.php ├── src ├── Commands │ ├── CleanupCommand.php │ └── MakeCommand.php ├── Doorman.php ├── DoormanManager.php ├── Drivers │ ├── BasicDriver.php │ ├── DriverInterface.php │ └── UuidDriver.php ├── Exceptions │ ├── DoormanException.php │ ├── DuplicateException.php │ ├── ExpiredInviteCode.php │ ├── InvalidInviteCode.php │ ├── MaxUsesReached.php │ └── NotYourInviteCode.php ├── Facades │ └── Doorman.php ├── Generator.php ├── Models │ ├── BaseInvite.php │ └── Invite.php ├── Providers │ └── DoormanServiceProvider.php └── Validation │ └── DoormanRule.php └── tests ├── Feature ├── CheckInvitesTest.php ├── CustomModelTest.php ├── CustomValidationRuleTest.php ├── Drivers │ ├── BasicDriverTest.php │ └── UuidDriverTest.php ├── GenerateInvitesTest.php ├── InviteHelperTest.php └── RedeemInvitesTest.php ├── TestCase.php └── Unit ├── CleanupCommandTest.php └── DoormanTest.php /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/phpunit.xml -------------------------------------------------------------------------------- /resources/config/doorman.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/resources/config/doorman.php -------------------------------------------------------------------------------- /resources/migrations/2017_04_04_185723_create_invites_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/resources/migrations/2017_04_04_185723_create_invites_table.php -------------------------------------------------------------------------------- /resources/translations/ar/messages.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/resources/translations/ar/messages.php -------------------------------------------------------------------------------- /resources/translations/ca/messages.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/resources/translations/ca/messages.php -------------------------------------------------------------------------------- /resources/translations/en/messages.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/resources/translations/en/messages.php -------------------------------------------------------------------------------- /resources/translations/es/messages.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/resources/translations/es/messages.php -------------------------------------------------------------------------------- /resources/translations/fr/messages.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/resources/translations/fr/messages.php -------------------------------------------------------------------------------- /src/Commands/CleanupCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Commands/CleanupCommand.php -------------------------------------------------------------------------------- /src/Commands/MakeCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Commands/MakeCommand.php -------------------------------------------------------------------------------- /src/Doorman.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Doorman.php -------------------------------------------------------------------------------- /src/DoormanManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/DoormanManager.php -------------------------------------------------------------------------------- /src/Drivers/BasicDriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Drivers/BasicDriver.php -------------------------------------------------------------------------------- /src/Drivers/DriverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Drivers/DriverInterface.php -------------------------------------------------------------------------------- /src/Drivers/UuidDriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Drivers/UuidDriver.php -------------------------------------------------------------------------------- /src/Exceptions/DoormanException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Exceptions/DoormanException.php -------------------------------------------------------------------------------- /src/Exceptions/DuplicateException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Exceptions/DuplicateException.php -------------------------------------------------------------------------------- /src/Exceptions/ExpiredInviteCode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Exceptions/ExpiredInviteCode.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidInviteCode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Exceptions/InvalidInviteCode.php -------------------------------------------------------------------------------- /src/Exceptions/MaxUsesReached.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Exceptions/MaxUsesReached.php -------------------------------------------------------------------------------- /src/Exceptions/NotYourInviteCode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Exceptions/NotYourInviteCode.php -------------------------------------------------------------------------------- /src/Facades/Doorman.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Facades/Doorman.php -------------------------------------------------------------------------------- /src/Generator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Generator.php -------------------------------------------------------------------------------- /src/Models/BaseInvite.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Models/BaseInvite.php -------------------------------------------------------------------------------- /src/Models/Invite.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Models/Invite.php -------------------------------------------------------------------------------- /src/Providers/DoormanServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Providers/DoormanServiceProvider.php -------------------------------------------------------------------------------- /src/Validation/DoormanRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/src/Validation/DoormanRule.php -------------------------------------------------------------------------------- /tests/Feature/CheckInvitesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Feature/CheckInvitesTest.php -------------------------------------------------------------------------------- /tests/Feature/CustomModelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Feature/CustomModelTest.php -------------------------------------------------------------------------------- /tests/Feature/CustomValidationRuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Feature/CustomValidationRuleTest.php -------------------------------------------------------------------------------- /tests/Feature/Drivers/BasicDriverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Feature/Drivers/BasicDriverTest.php -------------------------------------------------------------------------------- /tests/Feature/Drivers/UuidDriverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Feature/Drivers/UuidDriverTest.php -------------------------------------------------------------------------------- /tests/Feature/GenerateInvitesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Feature/GenerateInvitesTest.php -------------------------------------------------------------------------------- /tests/Feature/InviteHelperTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Feature/InviteHelperTest.php -------------------------------------------------------------------------------- /tests/Feature/RedeemInvitesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Feature/RedeemInvitesTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/Unit/CleanupCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Unit/CleanupCommandTest.php -------------------------------------------------------------------------------- /tests/Unit/DoormanTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/doorman/HEAD/tests/Unit/DoormanTest.php --------------------------------------------------------------------------------