laminas-code
Extensions to the PHP Reflection API, static code scanning, and code generation (by laminas)
z-engine
:zap: PHP Engine Direct API (by lisachenko)
Our great sponsors
laminas-code | z-engine | |
---|---|---|
2 | 4 | |
1,818 | 448 | |
0.8% | - | |
6.9 | 0.0 | |
about 1 month ago | over 1 year ago | |
PHP | PHP | |
BSD 3-clause "New" or "Revised" 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.
laminas-code
Posts with mentions or reviews of laminas-code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-30.
-
Symfony 6.0 is released!
The ProxyManagerBridge requires (indirectly) laminas-code, which does not yet have a release supporting PHP 8.1 (https://github.com/laminas/laminas-code/pull/86). But also note that all these packages are maintained in everyone's free time, so I can fully understand why these packages are not immediately living on the edge.
-
Dynamic class property with phpdoc included
Thanks to Pol Dellaiera who point me that there is this excellent library for inspecting and generating PHP code, I will try to use it and generate the schema-related classes programmatically based on passed model classes and required/optional fields.
z-engine
Posts with mentions or reviews of z-engine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-02.
-
Random shower thought I got: PhpStorm developers are Java developers who know PHP better than most PHP developers
There was an attempt... https://github.com/lisachenko/z-engine
-
RFC: Sealed classes
Operator overloading can technically be done in userspace via FFI with https://github.com/lisachenko/z-engine (I have an active PR adding headers for 7.4 and 8.1 as well as TS) - but it's super hacky and I would love to see it actually make it into PHP proper.
-
Operator Overloading RFC is in voting. What are your thoughts on this feature?
By the way, it's already possible using FFI and z-engine. I have a toy project using this: rikudou/units.
-
RFC: User Defined Operator Overloads
FYI: You can already do that using FFI and z-engine (which I just found out was open-sourced).
What are some alternatives?
When comparing laminas-code and z-engine you can also consider the following projects:
swagger-php - A php swagger annotation and parsing library
reli-prof - A sampling profiler or a memory profiler for PHP written in PHP, which reads information about running PHP VM from outside the process. You can find performance bottlenecks or memory leaks of your scripts without changing the target script or loading extensions.
Symfony - The Symfony PHP framework
php-fuse - PHP FFI bindings for libfuse
Design Patterns PHP - sample code for several design patterns in PHP 8
user-documentation - Documentation for those that use HHVM and write Hack code.
PHPMailer - The classic email sending library for PHP
PHP OAuth 2.0 Server - A spec compliant, secure by default PHP OAuth 2.0 Server