oskarstark/trimmed-non-empty-string
A tiny PHP value object that trims surrounding whitespace from strings and guarantees the result is non-empty, throwing an exception when validation fails. Use it to keep user input and domain values clean, predictable, and safe.
This library provides a value object which ensures a trimmed non empty string.
How can I help you explore Laravel packages today?