RfcCodex
Notes on PHP RFCs, and topics that occur repeatedly on PHP internals (by Danack)
varexporter
A powerful alternative to var_export(), which can export closures and objects without __set_state() (by brick)
RfcCodex | varexporter | |
---|---|---|
5 | 4 | |
206 | 174 | |
- | 1.1% | |
5.0 | 5.3 | |
12 months ago | 11 days ago | |
PHP | ||
MIT License | 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.
RfcCodex
Posts with mentions or reviews of RfcCodex.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-23.
-
What is your #1 PHP feature request
Dan Ackroyd's RFC Codex has some good write-ups on commonly requested features.
-
Should PHP9 standardize naming conventions throughout the language?
My notes on Standardise core library functions.
-
Simple RFC ideas that could make it into PHP 8.1?
Also: https://github.com/Danack/RfcCodex/blob/master/method_overloading.md
-
Type-constrained elements collection in PHP ?
These are called generics. PHP currently doesn't support them, but there is work being done towards them being added. There are a lot of complications that need to be figured out before they can be implemented. See https://github.com/PHPGenerics/php-generics-rfc/issues and https://github.com/Danack/RfcCodex/blob/master/generics.md.
-
Maintainer of Swoole about the Fibers RFC: "I am afraid that fiber can only be used in the amphp framework and is of no value to other php projects."
And it's one of the reasons I think the rule "Don't volunteer other people for huge amounts of work" is appropriate.
varexporter
Posts with mentions or reviews of varexporter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-22.
-
About using print_r...
Its output syntax is awful, https://github.com/brick/varexporter is a userland rewrite that looks way better.
-
Fastest way to load serialized data
Shamless plug: you might be interested in trying brick/varexporter
-
Simple RFC ideas that could make it into PHP 8.1?
Until that thay, you have brick/varexporter 🙂
-
[VOTE] var_representation() : readable alternative to var_export()
I very much hope this gets in. I use brick/varexporter and it would be nice to be able to drop it for something built-in.
What are some alternatives?
When comparing RfcCodex and varexporter you can also consider the following projects:
scalar_objects - Extension that adds support for method calls on primitive types in PHP
react-fiber - ReactPHP + ext-fiber
pecl-php-operator - Operator overloading for Objects
php-docker - Docker Official Image packaging for PHP
PHPT - The PHP Interpreter
parallel - A succinct parallel concurrency API for PHP8
krumo - krumo repository (forked, with updates / new features)
php - PHP client library for xrDebug