minwork/array
Minwork Array provides fast, well-tested helpers for nested, associative, and object arrays. Get/set/has plus map, filter, find, group, sort, and validation, with fluent-style chaining. No dependencies; modern PHP syntax.
Arr::isUnique(array $array, bool $strict = false): bool
Check if array values are unique
// Without strict flag 1 is equal to '1'
Arr::isUnique([1, '1', true]) -> false
Arr::isUnique([1, '1', true], true) -> true
How can I help you explore Laravel packages today?