php-tenant/Enums
Claude c04549d362
feat: invitation resend, WorkspaceMemberRole enum, configurable expiry
- Add resend() method to WorkspaceInvitation that regenerates the token,
  resets expiry to configured days, and re-sends the notification (#23)
- Create WorkspaceMemberRole backed enum (PHP 8.1+) with label() and
  colour() helpers; deprecate ROLE_* string constants on WorkspaceMember
  and update internal references to use the enum (#24)
- Replace hardcoded 7-day invitation expiry with
  config('tenant.invitation_expiry_days', 7) in both Workspace::invite()
  and WorkspaceInvitation::resend() (#25)

Fixes #23
Fixes #24
Fixes #25

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:40:20 +00:00
..
UserTier.php fix(tenant): add strict_types and fix PSR-12 compliance across all PHP files 2026-03-17 09:11:54 +00:00
WebhookDeliveryStatus.php refactor: rename namespace from Core\Mod\Tenant to Core\Tenant 2026-01-27 16:30:46 +00:00
WorkspaceMemberRole.php feat: invitation resend, WorkspaceMemberRole enum, configurable expiry 2026-03-24 13:40:20 +00:00