Features:
User can register and invite other user by invitaion code.
- Used Laravel Breeze for Authentication.
- Used middelware for the active user.
- Create an invition code followed by validation rules.
- Cheack if the Invite Code is expired.
- Listing a Invition Code.
- User can request for Invite Code.
- User can request Invite Code within a spacific limit.
- User can also check when did they requested for Invite Code.
- User can check how many time his invite code used.
- Blcok the code usage after a certain limit of that code usage.
Validation rules:
- Check if user is active.
- Check if code is valide.
- Check the code expiration date.
- Check how many invition code usage remaining.
- Check if code usage limit.