doctrine/lexer
Doctrine Lexer is a lightweight base library for building lexers used in top-down, recursive descent parsers. It powers tokenization in Doctrine projects like Annotations and ORM (DQL), providing a reusable foundation for custom language parsing.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nikic/php-parser | 0.81 | 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,456 | 17,526 | 1,132 | 20M | 49 | 83.2 | 74.8 | BSD-3-Clause | 2 months ago | |
| theseer/tokenizer | 0.81 | 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,195 | 5,205 | 24 | 14M | 0 | 34.6 | 50.0 | NOASSERTION | 9 months ago | |
| jms/parser-lib | 0.80 | jms/parser-lib is a lightweight PHP parser library by JMS, providing reusable parsing components to build custom parsers quickly. Ideal for interpreting structured text and creating DSLs. Full docs available at jmsyst.com/libs/parser-lib. | 826 | 834 | 15 | 198K | 1 | 5.0 | 32.9 | Apache-2.0 | 4 years ago | |
| ircmaxell/php-yacc | 0.80 | 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 | 17.1 | 20.0 | NOASSERTION | 5 months ago | |
| doctrine/coding-standard | 0.78 | Doctrine Coding Standard provides a shared PHP_CodeSniffer ruleset used across Doctrine projects. Based heavily on Slevomat, it helps enforce consistent formatting, naming, and best practices in PHP codebases via an easy-to-install package. | 320 | 322 | 49 | 398K | 5 | 16.3 | 47.1 | MIT | 11 months ago | |
| smarty/smarty-lexer | 0.75 | Generates the lexer and parser class files used by the Smarty templating engine. Automatically configured via Composer since Smarty 3.1.35. Supports PHP 7.1–8.2. | 12 | 13 | 8 | 976 | 0 | 6.9 | 26.0 | — | 3 years ago | |
| jakubledl/dissect | 0.74 | — | 223 | 224 | 16 | 25K | 3 | 2.8 | 30.5 | NOASSERTION | — |
How can I help you explore Laravel packages today?