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.
See the main repository release for details.
See the main repository release for details.
See the main repository release for details.
How can I help you explore Laravel packages today?