imanghafoori/php-token-analyzer
Analyzes PHP code tokens without execution—like reflection but pure PHP. Framework-agnostic, lightweight dependency extracted from Laravel-Microscope. Supports PHP 7.4+ with automated tests for accuracy. Extract class/method details, token types, and structure effortlessly. Ideal for static analysis...
This package is extracted from laravel-microscope package as a framework-agnostic, pure PHP package.
This is a pure PHP, framework-agnostic package which is extracted out of the Laravel-microscope package as a low-level dependency.
The functionality is heavily tested against different versions of PHP both manually and by automated tests.
composer require imanghafoori/token-analyzer
The MIT License (MIT). Please see License File for more information.
If you find an issue or have a better way to do something, feel free to open an issue or a pull request. If you use PHP-token-analyzer in your open-source project, create a pull request to provide its URL as a sample application in the README.md file.
If you discover any security-related issues, please email imanghafoori1@gmail.com instead of using the issue tracker.
A man will never fail unless he stops trying.
Albert Einstein
How can I help you explore Laravel packages today?