Download the PHP package cline/monad without Composer
On this page you can find all versions of the php package cline/monad. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor cline
Package monad
Short Description Rust-aligned Option, Result, and Either monads for type-safe error handling in PHP
License MIT
Package monad
Short Description Rust-aligned Option, Result, and Either monads for type-safe error handling in PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package monad
This package provides a Rust-aligned Option, Result, and Either types providing expressive, type-safe error handling and ergonomic controller helpers for Laravel applications.
Requirements
Requires PHP 8.4+
Installation
Documentation
- Option Guide - Complete guide with real-world examples for null-safe operations
- Result Guide - Comprehensive error handling patterns with Ok/Err semantics
- Either Guide - Advanced Left/Right branching for complex scenarios
- Transpose Guide - Swapping nested monads (Option
↔ Result - Quick Reference - API overview and highlights
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
- Brian Faust
- All Contributors
License
The MIT License. Please see License File for more information.
All versions of monad with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.5.0
The package cline/monad contains the following files
Loading the files please wait ...