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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ircmaxell/php-yacc | 0.82 | PHP port of kmyacc: a YACC/LALR(1) parser generator that takes a YACC grammar (plus a parser template) and generates a PHP parser. Useful for building fast parsers for structured/unstructured languages; generation is resource-heavy, parsing is fast. | 155 | 156 | 16 | 3K | 2 | 23.9 | 21.8 | NOASSERTION | 5 years ago | |
| 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,424 | 17,486 | 1,121 | 15M | 46 | 84.7 | 76.0 | BSD-3-Clause | 4 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. | 319 | 322 | 49 | 354K | 5 | 33.5 | 54.0 | MIT | 6 months ago | |
| zeptech/annotations | 0.78 | Parses case-insensitive PHPDoc annotations from classes, methods, and properties via Reflection. Exposes annotations as objects with array access, supports defaults/false/null semantics, and includes an AnnotationFactory that caches parsed results by docblock hash for speed. | 65 | 66 | 7 | 4K | 0 | 0.5 | 24.2 | BSD-3-Clause | — | |
| theseer/tokenizer | 0.78 | 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,197 | 5,210 | 23 | 13M | 0 | 48.7 | 55.1 | NOASSERTION | 4 months ago | |
| microsoft/tolerant-php-parser | 0.77 | Tolerant PHP parser from Microsoft that builds an AST even from incomplete or syntactically invalid code. Ideal for IDEs, refactoring tools, and static analysis, with error recovery and precise source positions for tokens and nodes. | 895 | 896 | 82 | 161K | 54 | 23.2 | 51.0 | MIT | — | |
| 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 | 2K | 0 | 26.9 | 34.7 | — | 3 years ago | |
| laracord/framework | 0.59 | Laracord Framework is the core of Laracord, a Laravel-powered micro-framework for building Discord bots with DiscordPHP. Includes generators for commands/events, slash command sync, interaction routing, async services/tasks, optional HTTP server, and great logging. | 45 | 45 | 19 | 196 | 18 | 35.7 | 21.6 | MIT | 1 year ago | |
| lunarphp/core | 0.58 | Core package for Lunar, a Laravel-based e-commerce platform. Provides the foundational models, database structure, and services used to build and extend storefronts and admin functionality, designed to be modular, extensible, and integrated with the Laravel ecosystem. | 7 | 8 | 12 | 12K | 0 | 0.4 | 43.8 | — | — | |
| laragraph/utils | 0.57 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 21 | 21 | 7 | 502K | 0 | 25.1 | 65.0 | MIT | 1 month ago | |
| felixfbecker/language-server-protocol | 0.55 | PHP classes and data structures for the Microsoft Language Server Protocol (LSP). Use it to build language servers/clients in PHP with typed protocol messages and capabilities. Install via Composer: felixfbecker/language-server-protocol. | 224 | 225 | 14 | 1M | 0 | 24.3 | 62.5 | ISC | 1 year ago | |
| edulazaro/laratext | 0.55 | Laratext manages Laravel translation strings by pairing key + text for readable files and stable translations. Adds @text/text() helpers, scans and updates language files, and can auto-translate missing keys via OpenAI or Google Translate across locales. | 75 | 75 | 7 | 276 | 0 | 25.1 | 10.8 | MIT | 1 month ago |
How can I help you explore Laravel packages today?