php-standard-library/either-or-both
A three-variant disjoint union type for PHP. EitherOrBoth models values that may be present on the left, the right, or both sides at once, giving you a type-safe way to express partial successes, asymmetric results, and paired data without nullable workarounds.
|
Package
|
Constraint
|
|---|---|
| php-standard-library/comparison | ^6.0 |
| php-standard-library/foundation | ^6.0 |
| php-standard-library/option | ^6.0 |
|
Package
|
Constraint
|
|---|---|
| php-standard-library/str | ^6.0 |
| phpunit/phpunit | ^13.0 |
How can I help you explore Laravel packages today?