Better Reflection
reflection-file
Better Reflection | reflection-file | |
---|---|---|
1 | 2 | |
1,159 | 5 | |
0.4% | - | |
9.5 | 0.0 | |
1 day ago | over 2 years ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 only |
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.
Better Reflection
-
I made a library that allows reflection on files through static analysis
If I get it correctly, it's same use case as for https://github.com/Roave/BetterReflection
reflection-file
-
I made a library that allows reflection on files through static analysis
I agree, although in this case there's only one class not marked internal, so I guess the usage is just instantiate that and call whatever methods interest you: https://github.com/marijnvanwezel/reflection-file/blob/main/src/ReflectionFile.php
What are some alternatives?
PHP Parser - A PHP parser written in PHP
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
PhpDependencyAnalysis - Static code analysis to find violations in a dependency graph
PHPCPD - Copy/Paste Detector (CPD) for PHP code.
PHP Semantic Versioning Checker - Compares two source sets and determines the appropriate semantic versioning to apply.
PHP Refactoring Browser
UBench - Micro PHP benchmark library
Dissect - A set of tools for lexical and syntactical analysis written in pure PHP.
Mondrian - A static php code analysis tool using the Graph Theory
PHP Analyser - Performs advanced static analysis on PHP code
PHP Manipulator - Library for Analyzing and Modifying PHP Source Code
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues