Patchwork
Method redefinition (monkey-patching) functionality for PHP. (by antecedent)
Monad PHP
A simple Monad library for PHP (by ircmaxell)
Patchwork | Monad PHP | |
---|---|---|
- | 2 | |
433 | 294 | |
- | - | |
7.3 | 0.0 | |
about 1 month ago | over 8 years ago | |
PHP | PHP | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Patchwork
Posts with mentions or reviews of Patchwork.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning Patchwork yet.
Tracking mentions began in Dec 2020.
Monad PHP
Posts with mentions or reviews of Monad PHP.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-01.
-
Weekly help thread
Searching for PHP monad I found these two libraries: php-option and monad-php.
-
What's your take on Monads in php?
Looking at some libraries that implement monads (like monad-php), I feel a bit clunky using php's syntax, specifically because generics are not baked into the language (for example it's hard to know what you're binding to when you $o->bind(fn($whatIsThisExactly)=>...) ).
What are some alternatives?
When comparing Patchwork and Monad PHP you can also consider the following projects:
PHP Option - Option Type for PHP
Iter - Iteration primitives using generators
Design Patterns PHP - sample code for several design patterns in PHP 8
Pipeline - League\Pipeline
Ruler - A simple stateless production rules engine for modern PHP
Functional PHP - Primitives for functional programming in PHP
Compose - Function composition.