Skip to content

2.0.5

Choose a tag to compare

@hdaklue hdaklue released this 26 Sep 08:11
· 7 commits to master since this release
Add Laravel validation rules for role assignment validation

Features:
- NotAssignedTo rule: validates entity is not already assigned
- AssignedTo rule: validates entity has existing role assignment
- Comprehensive test suite with 18 tests covering edge cases
- Updated Laravel integration docs with validation examples
- Code formatted with Laravel Pint

Benefits:
- Prevents duplicate role assignments
- Validates existing assignments before operations
- Seamless Laravel validation system integration
- Type-safe using Porter entity contracts