composer-attribute-collector is a plugin for Composer. Its ambition is to provide a convenient and near zero-cost way to retrieve targets of PHP 8 attributes. In order to do that, after the autoloader has been dumped, the plugin collects attribute targets and generates a static file. Later, these targets can be retrieved through a convenient interface.
v1.2.0 comes with cache mechanisms that reduce subsequent collection time e.g from ~4000ms to ~35ms for a vanilla Symfony installation. This new version also provides additional methods to filter target classes and target methods, and better error messages when attributes fail to instantiate.
submitted by /u/olvlvl
[link] [comments]
dark internet tor darknet