Releases: willvincent/laravel-unique
Releases · willvincent/laravel-unique
1.2
1.1
Feature Addition
- Option to trim name values before checking uniqueness
This has the happy side effect of also trimming already unique values of leading/trailing whitespace too
1.0
Initial release 🎉
All basic functionality is in place and fully tested.
You can enforce uniqueness of a model field within the context of other field values, for example to ensure that within a given team or client context (determined by the team_id or client_id field) every "project" is uniquely named by appending a suffix in the case of duplicate values.
The suffix pattern is configurable, or can use a totally custom generator.