php-cloneable
Clone readonly properties in PHP 8.1 (by spatie)
fp
Utilities for functional tasks in PHP, especially pipelining (by Crell)
php-cloneable | fp | |
---|---|---|
3 | 2 | |
86 | 59 | |
- | - | |
4.9 | 7.0 | |
4 months ago | 7 months ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
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.
php-cloneable
Posts with mentions or reviews of php-cloneable.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-26.
- Working with immutable object.
- A helper library for immutable value objects in 8.1+
-
Your thoughts on PHP8?
Definitely disagree. I'm using named arguments in combination with variadic functions as a replacement for passing an array of data. Here's one example.
fp
Posts with mentions or reviews of fp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-01.
- A helper library for immutable value objects in 8.1+
-
What's your take on Monads in php?
The much, much easier solution is to just write a lens helper, which I did for my Crell/fp helper library. It's basically a user-space pipe operator with a series of convenience functions, two of which look like this:
What are some alternatives?
When comparing php-cloneable and fp you can also consider the following projects:
php-records - Simple records in php
Monad PHP - A simple Monad library for PHP
catpaw-optional