Replies: 1 comment 1 reply
-
Yea, all mago crates are published on crates.io, so you can use them.
Yes, we actually have
We are currently breaking API whenever a new version is released, if you stick to one version ( e.g The parser ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey for the third time :)
I'm the author of https://github.com/good-php/reflection - a small reflection library that's suitable for runtime usage and supports parsing PHPDocs. It works, but there are two major downsides:
This would be the case with every other reflection library written in PHP. It's either an insane maintenance burden and complexity, or "slow" speed.
So having Mago which correctly handles reflection of internal classes, PHPDoc types, inheritance and other things - I thought it could be useful to provide some of Mago's internals as a fast extension, written with https://ext-php.rs/getting-started/hello_world.html and using Mago's crates.
The questions are:
Beta Was this translation helpful? Give feedback.
All reactions