php-cloneable
Clone readonly properties in PHP 8.1 (by spatie)
php-generator
🐘 Generates neat PHP code for you. Supports new PHP 8.3 features. (by nette)
php-cloneable | php-generator | |
---|---|---|
3 | 1 | |
86 | 2,034 | |
- | 1.2% | |
4.9 | 7.9 | |
4 months ago | about 1 month 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.
php-generator
Posts with mentions or reviews of php-generator.
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.
If you're using a modern IDE, check out its code generation features. It should be able to automate away bunches of gruntwork. There are also packages like nette/php-generator which can be used to build custom tooling.
What are some alternatives?
When comparing php-cloneable and php-generator you can also consider the following projects:
php-records - Simple records in php
schema - 📐 Validating data structures against a given Schema.
MTRGen - File generator engine that can generate PHP files from JSON/YAML/NEON templates.