phpunit/php-token-stream
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nikic/php-parser | 0.85 | 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 | |
| phpstan/phpdoc-parser | 0.83 | PHPDoc Parser for PHPStan that parses, represents, and modifies PHPDoc blocks as an AST. Supports rich type syntax (unions, generics, shapes, callables, conditional types), constant expressions, and Doctrine annotations, with full API reference for nodes. | 1,528 | 1,528 | 74 | 11M | 7 | 41.5 | 68.5 | MIT | 2 weeks ago | |
| theseer/tokenizer | 0.82 | 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 | |
| imanghafoori/php-token-analyzer | 0.80 | 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... | 16 | 16 | 4 | 7K | 0 | 0.6 | 36.1 | — | 4 years ago | |
| tivie/htaccess-parser | 0.78 | — | 57 | 58 | 15 | 46K | 0 | 4.6 | 41.0 | Apache-2.0 | 11 months ago | |
| mydaniel/laravel-temporary-tokens | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 9.1 | — | MIT | 8 months ago | |
| contributte/phpunit | 0.78 | PHPUnit integration helpers by Contributte for PHP projects. Provides lightweight tooling and conventions to simplify writing, running, and organizing tests, with sensible defaults and compatibility aimed at smoother CI and developer experience. | 1 | 2 | 2 | 1K | 0 | 10.0 | 41.9 | MIT | 6 months ago | |
| yansongda/supports | 0.77 | — | 21 | 21 | 18 | 19K | 0 | 2.1 | 40.4 | MIT | 5 years ago | |
| maks3w/phpunit-methods-trait | 0.77 | PHP trait exposing PHPUnit TestCase helper methods for use inside reusable test traits. Lets traits call mocking, expectations, and other TestCase APIs without extending TestCase directly; assertions are via PHPUnit\Framework\Assert. | 1 | 2 | 1 | 4 | 0 | 2.8 | 6.6 | NOASSERTION | 5 years ago | |
| kzykhys/pygments | 0.77 | Thin PHP wrapper around the Python Pygments syntax highlighter. Highlight code to HTML/ANSI, generate CSS for styles (e.g., monokai), guess lexer by filename, and list available lexers/formatters/styles. Supports custom pygmentize path. | 10 | 11 | 14 | 257 | 4 | 2.1 | 21.0 | — | 12 years ago | |
| draw/data-tester | 0.77 | Lightweight PHP data testing helper for validating arrays/objects against expected shapes and values. Useful for unit tests and quick assertions, with simple matchers and readable failure messages to spot mismatches fast. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 8 years ago | |
| digitalrevolution/phpunit-extensions | 0.77 | — | 3 | 3 | 2 | 3K | 1 | 21.0 | 44.3 | MIT | 4 months ago | |
| phpdocumentor/reflection-docblock | 0.77 | PHPDoc-compatible DocBlock parser from phpDocumentor. Use DocBlockFactory to parse doc comments or Reflection objects, extracting summaries, descriptions, and tags for annotations and metadata. Ideal for tooling that reads and interprets PHPDoc blocks. | 9,370 | 9,407 | 136 | 10M | 10 | 55.9 | 53.0 | MIT | 4 months ago | |
| sanmai/phpunit-double-colon-syntax | 0.77 | Run individual PHPUnit test methods with the familiar file::method syntax (like pytest). This dev package rewrites args via Composer autoload so vendor/bin/phpunit tests/FooTest.php::testBar becomes file + --filter automatically. Supports multiple methods; PHPUnit 6+. | 0 | 0 | 0 | 921 | 0 | 16.1 | 47.1 | BSD-3-Clause | 3 months ago | |
| ircmaxell/php-yacc | 0.77 | PHP port of kmyacc: a YACC/LALR(1) parser generator. Feed it a YACC grammar plus a parser template to generate fast PHP parsers. Useful for building language/DSL parsers; generation is resource-heavy, but produced parsers run efficiently. | 155 | 156 | 15 | 3K | 2 | 19.7 | 20.4 | NOASSERTION | 3 months ago | |
| hanneskod/classtools | 0.77 | Scan the filesystem for PHP classes, interfaces, and traits using Symfony Finder. Build a class-to-file map, detect parse/syntax errors, and iterate results as ReflectionClass objects, with optional autoloading for discovered classes. | 130 | 133 | 31 | 55K | 2 | 2.3 | 37.3 | WTFPL | — | |
| ecourty/token-bundle | 0.76 | Symfony bundle to manage secure, typed, revocable tokens for any Doctrine entity (password resets, email verification, share links). Supports expiry, single-use/max-uses, JSON payloads, events, subject resolution, and a purge command. | 0 | 0 | 0 | 1 | 0 | 17.2 | 4.8 | — | 2 months ago | |
| prinsfrank/transliteration | 0.76 | Typed PHP 8.1+ wrapper around ICU Transliterator. Build transliterators with strict, documented arguments instead of opaque rule strings, plus ready-to-use conversion sets for common transformations (e.g., names/addresses, identity verification, multi-language support). | 9 | 9 | 1 | 1K | 0 | 1.9 | 29.5 | MIT | 2 years ago | |
| gabrielelana/byte-units | 0.76 | — | 168 | 175 | 17 | 41K | 3 | 3.3 | 34.4 | MIT | 8 years ago | |
| php-standard-library/str | 0.76 | Lightweight string utility library for PHP, providing common helpers for formatting, parsing, and safe string handling. Designed as a simple “standard library” add-on with a small API surface and easy composer integration. | 1 | 1 | 0 | 28K | 0 | 19.0 | 63.8 | MIT | 1 month ago |
How can I help you explore Laravel packages today?