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...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| andrewsville/php-token-reflection | 0.79 | PHP library for reflecting and analyzing PHP token streams. Parse source code into tokens and inspect structures like classes, functions, namespaces, and docblocks—useful for static analysis, code generation, and tooling without executing the code. | 190 | 190 | 43 | 9K | 17 | 4.0 | 22.0 | NOASSERTION | — | |
| phpunit/php-token-stream | 0.79 | phpunit/php-token-stream is a small PHP library for tokenizing and streaming PHP source code tokens, commonly used by PHPUnit and related tools for parsing, reflection-like inspection, and test-related code analysis. | 6,386 | 6,392 | 58 | 2M | 0 | 26.7 | 33.5 | NOASSERTION | — | |
| theseer/tokenizer | 0.79 | A PHP tokenizer library for parsing PHP source code into tokens, built on top of ext/tokenizer. Used by tools like PHPUnit to analyze code, inspect syntax, and support static analysis, refactoring, and code quality workflows. | 5,199 | 5,205 | 24 | 14M | 0 | 36.4 | 50.7 | NOASSERTION | 7 months ago | |
| nikic/php-parser | 0.78 | Parse PHP code into an Abstract Syntax Tree (AST) for static analysis, manipulation, and code generation. Supports PHP 5.x to 8.4, handles errors gracefully, and preserves formatting during AST-to-code conversion. Easily traverse, modify, and convert ASTs back to PHP, with JSON serialization support... | 17,450 | 17,523 | 1,129 | 17M | 49 | 85.1 | 74.2 | BSD-3-Clause | 2 weeks ago | |
| yooper/php-text-analysis | 0.77 | PHP Text Analysis provides Information Retrieval and NLP tools in PHP: tokenization, normalization, stemming, frequency and n-gram analysis, document comparison, sentiment and classification, collocations (PMI), lexical diversity, corpus analysis, and summarization. | 533 | 541 | 91 | 9K | 8 | 16.6 | 19.1 | MIT | 1 year ago | |
| laravel/pao | 0.76 | Agent-optimized output for PHP tools. Detects AI agents (Claude Code, Cursor, Devin, Gemini CLI, etc.) and replaces verbose PHPUnit/Pest/Paratest/PHPStan/Rector and Laravel Artisan output with minimal structured JSON (and cleaner Artisan text). Zero config; human terminal output unchanged. | 662 | 652 | 30 | 2M | 2 | 28.9 | 57.9 | MIT | 4 weeks ago | |
| nunomaduro/pao | 0.76 | Laravel PAO provides agent-optimized output for PHP tools. When it detects AI agents (Claude Code, Cursor, Devin, Gemini CLI), it replaces verbose CLI output from PHPUnit/Pest/Paratest/PHPStan/Rector/Artisan with minimal structured JSON—zero config, no impact on human terminal runs. | 662 | 653 | 30 | 90K | 2 | 28.9 | 34.8 | MIT | 4 weeks ago | |
| omaralalwi/laravel-api-helpers | 0.75 | — | 15 | 15 | 4 | 0 | 0 | 1.4 | — | MIT | 1 year ago |
How can I help you explore Laravel packages today?