imanghafoori/php-token-analyzer

Token analyzer utility for PHP

Maintainers

👁 imanghafoori1

Package info

github.com/imanghafoori1/php_token_analyzer

pkg:composer/imanghafoori/php-token-analyzer

Statistics

Installs: 557 307

Dependents: 6

Suggesters: 0

Stars: 16

Open Issues: 0

v1.0.76 2024-06-08 14:11 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT e995f9f0b05d7b969b5a99fdb45d58e8313b8971

  • Iman <imanghafoori1.woop@gmail.com>

php-token-analyzer

This package is auto-updated.

Last update: 2026-06-18 20:41:53 UTC


README

Reads and analyzes PHP code, just like PHP reflection but without executing it.

This package is extracted from laravel-microscope package as a framework-agnostic, pure PHP package.

👁 tests
👁 Latest Stable Version
👁 Daily Downloads
👁 Total Downloads
👁 Software License

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.

Installation:

composer require imanghafoori/token-analyzer

License

The MIT License (MIT). Please see License File for more information.

Contributing:

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.

Security:

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