hjson-php
Hjson for PHP (by hjson)
laminas-hydrator
Serialize objects to arrays, and vice versa (by laminas)
hjson-php | laminas-hydrator | |
---|---|---|
- | 2 | |
82 | 123 | |
- | 0.0% | |
4.5 | 5.5 | |
7 months ago | 12 days ago | |
PHP | PHP | |
MIT License | BSD 3-clause "New" or "Revised" 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.
hjson-php
Posts with mentions or reviews of hjson-php.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning hjson-php yet.
Tracking mentions began in Dec 2020.
laminas-hydrator
Posts with mentions or reviews of laminas-hydrator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-19.
-
Should I replace laminas-hydrator with an optimized self written version
I dug deeper in the code. It doesn't cache the regex results. On the other hand, the ReflectionHydrator does cache the properties so that is something. But the real performance hit is the UnderscoreToCamelCaseFilter.
What are some alternatives?
When comparing hjson-php and laminas-hydrator you can also consider the following projects:
Serializard - Flexible serializer encouraging good object design
microsite - Do more with less JavaScript. Microsite is a smarter, performance-obsessed static site generator powered by Preact and Snowpack.
JsonMapper - Map nested JSON structures to PHP classes
Hprose-PHP - Hprose is a cross-language RPC. This project is Hprose 3.0 for PHP
JsonMapper - Map nested JSON structures onto PHP classes