Install Result Type via Composer
1.1To install the latest version of graham-campbell/result-type, use Composer. This package requires PHP version 7.2.5 through 8.5.
$ composer require "graham-campbell/result-type:^1.1"repository·1.1·Indexed 19 days ago
https://github.com/grahamcampbell/result-typeA PHP implementation of the Result type pattern for handling operations that either succeed with a value or fail with an error or exception in a type-safe manner. Requires PHP version 7.2.5 through 8.5.
To install the latest version of graham-campbell/result-type, use Composer. This package requires PHP version 7.2.5 through 8.5.
$ composer require "graham-campbell/result-type:^1.1"