prewk/result
prewk/result brings Rust-like Result to PHP: explicit Ok/Err values for safer, more readable error handling without exceptions. Use map/flatMap, unwrap/unwrapOr, and chain operations to handle success and failure paths cleanly in functional style.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| gdx/p-service-bus | — | 0 | 3 | — | 463 | — | 0.0 | 36.8 | — | — | |
| prewk/option | Lightweight Option type for PHP providing Some/None to avoid nulls. Adds map/flatMap/filter, unwrap with defaults, and safe chaining inspired by functional programming. Handy for Laravel and general PHP codebases where nullable values cause bugs. | 47 | 47 | 9 | 18K | 0 | 1.2 | 37.4 | NOASSERTION | — |
How can I help you explore Laravel packages today?