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.
|
Package
|
Constraint
|
|---|---|
| symfony/string | ^6.0 || ^7.0 || ^8.0 |
| webmozart/assert | ^1.11 || ^2.0 |
|
Package
|
Constraint
|
|---|---|
| ergebnis/composer-normalize | ^2.45 |
| ergebnis/data-provider | ^3.2 |
| ergebnis/php-cs-fixer-config | ^6.58 |
| fakerphp/faker | ^1.24 |
| phpstan/phpstan | ^2.1 |
| phpunit/phpunit | ^10.5 |
| rector/rector | ^2.3 |
How can I help you explore Laravel packages today?