https://github.com/php-standard-library/either
General-purpose disjoint union type (Left/Right) for values with two possible types
https://github.com/php-standard-library/either
either monad union-type
Last synced: 11 days ago
JSON representation
General-purpose disjoint union type (Left/Right) for values with two possible types
- Host: GitHub
- URL: https://github.com/php-standard-library/either
- Owner: php-standard-library
- License: mit
- Created: 2026-03-17T01:41:50.000Z (3 months ago)
- Default Branch: next
- Last Pushed: 2026-04-26T16:32:32.000Z (about 1 month ago)
- Last Synced: 2026-04-26T18:21:35.106Z (about 1 month ago)
- Topics: either, monad, union-type
- Language: PHP
- Homepage: https://php-standard-library.dev
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Standard Library - Either
General-purpose disjoint union type (Left/Right) for values with two possible types.
---
- [Documentation](https://php-standard-library.dev)
- [Contributing](https://github.com/php-standard-library/php-standard-library/blob/next/CONTRIBUTING.md)
- [Create Pull Request](https://github.com/php-standard-library/php-standard-library/pulls)
- [Report an Issue](https://github.com/php-standard-library/php-standard-library/issues)