About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
option-result
ciaran.co.za
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Rust-style Option and Result Classes for PHP
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Version history of
src/
Option.php
November 2025
feat(src/Option.php): implement Option::or with support for callables, update some other docs
Ciaran
·
11mo ago
af86154e
Copied
Failed
Copy SHA
Ciaran
af86154e
Copied
Failed
Copy SHA
feat(src/Option.php): implement Option::or with support for callables, update some other docs
11mo ago
refactor(src/Option.php): clean up Option return types, implementations, and docs
Ciaran
·
1y ago
c64b2f53
Copied
Failed
Copy SHA
Ciaran
c64b2f53
Copied
Failed
Copy SHA
refactor(src/Option.php): clean up Option return types, implementations, and docs
1y ago
feat(src/Option.php): add Option::takeIf with tests and docs to complete Option implementation
Ciaran
·
1y ago
332ccdbf
Copied
Failed
Copy SHA
Ciaran
332ccdbf
Copied
Failed
Copy SHA
feat(src/Option.php): add Option::takeIf with tests and docs to complete Option implementation
1y ago
feat(src/Option.php): add Option::replace with tests and docs
Ciaran
·
1y ago
8dc76479
Copied
Failed
Copy SHA
Ciaran
8dc76479
Copied
Failed
Copy SHA
feat(src/Option.php): add Option::replace with tests and docs
1y ago
feat(src/Option.php): add Option::reduce with tests and docs
Ciaran
·
1y ago
9f4a8bac
Copied
Failed
Copy SHA
Ciaran
9f4a8bac
Copied
Failed
Copy SHA
feat(src/Option.php): add Option::reduce with tests and docs
1y ago
feat(src/Option.php): add Option::inspect with tests and docs, updated filter types + docs
Ciaran
·
1y ago
a4adb843
Copied
Failed
Copy SHA
Ciaran
a4adb843
Copied
Failed
Copy SHA
feat(src/Option.php): add Option::inspect with tests and docs, updated filter types + docs
1y ago
feat(src/Option.php): add Option::filter with tests and docs
Ciaran
·
1y ago
982b7665
Copied
Failed
Copy SHA
Ciaran
982b7665
Copied
Failed
Copy SHA
feat(src/Option.php): add Option::filter with tests and docs
1y ago
feat(src): implement Option::expect, Result::expect and Result::expectErr with tests and docs
Ciaran
·
1y ago
e4a27a61
Copied
Failed
Copy SHA
Ciaran
e4a27a61
Copied
Failed
Copy SHA
feat(src): implement Option::expect, Result::expect and Result::expectErr with tests and docs
1y ago
feat(src/Option.php): add Option::andThen() with tests + docs
Ciaran
·
1y ago
2dc93c6a
Copied
Failed
Copy SHA
Ciaran
2dc93c6a
Copied
Failed
Copy SHA
feat(src/Option.php): add Option::andThen() with tests + docs
1y ago
refactor(src/Option.php): replace Option with self
Ciaran
·
1y ago
b27dca72
Copied
Failed
Copy SHA
Ciaran
b27dca72
Copied
Failed
Copy SHA
refactor(src/Option.php): replace Option with self
1y ago
feat(src/Option.php): add Option::and() with tests + docs
Ciaran
·
1y ago
4e26c2c2
Copied
Failed
Copy SHA
Ciaran
4e26c2c2
Copied
Failed
Copy SHA
feat(src/Option.php): add Option::and() with tests + docs
1y ago
feat(Option, Result): add mapOr() method with tests
Ciaran
·
1y ago
80d2d807
Copied
Failed
Copy SHA
Ciaran
80d2d807
Copied
Failed
Copy SHA
feat(Option, Result): add mapOr() method with tests
1y ago
refactor(src/Option.php): Some(null) creates a None type
Ciaran
·
1y ago
f0196d59
Copied
Failed
Copy SHA
Ciaran
f0196d59
Copied
Failed
Copy SHA
refactor(src/Option.php): Some(null) creates a None type
1y ago
fix(src): Merge Option::unwrapOr and Option::unwrapOrElse, allow lazy evaluation for Result::unwrapOr
Ciaran
·
1y ago
3068b216
Copied
Failed
Copy SHA
Ciaran
3068b216
Copied
Failed
Copy SHA
fix(src): Merge Option::unwrapOr and Option::unwrapOrElse, allow lazy evaluation for Result::unwrapOr
1y ago
chore(*): lint with pint
knightspore
·
1y ago
e35c3ff5
Copied
Failed
Copy SHA
knightspore
e35c3ff5
Copied
Failed
Copy SHA
chore(*): lint with pint
1y ago
feat(Option, Result): add unwrapOrElse() method with tests
Ciaran
·
1y ago
4edd45d6
Copied
Failed
Copy SHA
Ciaran
4edd45d6
Copied
Failed
Copy SHA
feat(Option, Result): add unwrapOrElse() method with tests
1y ago
chore(src, tests): lint
Ciaran
·
1y ago
b68b0a6b
Copied
Failed
Copy SHA
Ciaran
b68b0a6b
Copied
Failed
Copy SHA
chore(src, tests): lint
1y ago
feat(Option, Result): add default value of true
Ciaran
·
1y ago
cb5f488b
Copied
Failed
Copy SHA
Ciaran
cb5f488b
Copied
Failed
Copy SHA
feat(Option, Result): add default value of true
1y ago
feat(src): implement map for both, unwrap/Err/Or and mapErr for Result
Ciaran
·
1y ago
a10baa14
Copied
Failed
Copy SHA
Ciaran
a10baa14
Copied
Failed
Copy SHA
feat(src): implement map for both, unwrap/Err/Or and mapErr for Result
1y ago
feat(init): setup composer library with Option and Result
Ciaran
·
1y ago
6a1cbe43
Copied
Failed
Copy SHA
Ciaran
6a1cbe43
Copied
Failed
Copy SHA
feat(init): setup composer library with Option and Result
1y ago