graham-campbell/result-type
Lightweight PHP Result type implementation for explicit success/failure returns. Provides Ok/Err-style results to avoid exceptions and clarify control flow. Compatible with PHP 7.2.5–8.5; install via Composer.
An Implementation Of The Result Type
How can I help you explore Laravel packages today?