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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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,455 | 60 | 1M | 0 | 13.4 | 23.1 | 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,194 | 5,204 | 23 | 14M | 0 | 38.9 | 51.5 | NOASSERTION | 5 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,439 | 17,509 | 1,121 | 16M | 47 | 75.1 | 67.5 | BSD-3-Clause | 5 months ago | |
| andrewsville/php-token-reflection | 0.78 | 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 | 12K | 17 | 4.0 | 23.0 | NOASSERTION | — | |
| 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 | 540 | 91 | 9K | 8 | 16.6 | 19.5 | MIT | 1 year ago | |
| bernardosecades/php-quality-tools | 0.77 | Collection of PHP quality and static analysis tools bundled for easier setup and consistent code standards across projects, including linters, formatters, and test/coverage helpers to streamline CI and improve code health. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| phpcq/repository-definition | 0.76 | Repository definition package for the PHPCQ (PHP Code Quality) project, used to automate and configure code quality checks in CI pipelines. Part of the phpcq.org ecosystem built around tools like PHP_CodeSniffer and PHPMD. | 0 | 0 | 0 | 36 | 0 | 0.0 | 21.7 | MIT | — | |
| laravel/pao | 0.76 | Agent-optimized output for PHP tools. Auto-detects AI agents (Claude Code, Cursor, Devin, Gemini CLI) and replaces verbose PHPUnit/Pest/Paratest/PHPStan output with minimal structured JSON; cleans Laravel Artisan output too. Zero config; human output unchanged. | 631 | 618 | 26 | 1M | 1 | 28.9 | 54.5 | MIT | 4 days ago | |
| nunomaduro/pao | 0.76 | pao is a tiny CLI helper for Laravel/PHP projects by Nuno Maduro. It makes running common project tasks easier by providing a simple command runner you can ship with your app or use in development, keeping team workflows consistent and repeatable. | 617 | 596 | 25 | 197K | 1 | 27.4 | 41.5 | MIT | 1 month 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?