Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Lexer Laravel Package

doctrine/lexer

Doctrine Lexer is a lightweight base library for building lexers used in top-down, recursive descent parsers. It powers Doctrine Annotations and Doctrine ORM's DQL parser, offering a simple, reliable foundation for tokenizing input.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Doctrine Lexer is a lightweight, standalone utility designed for building custom parsers (e.g., DSLs, query languages) and integrates seamlessly into Laravel's modular architecture. Its use in Doctrine ORM/DQL demonstrates real-world production suitability. Ideal for projects requiring lexical analysis of custom syntax (e.g., custom query builders, configuration parsers), but irrelevant for standard Laravel applications without parsing needs.

Integration feasibility: Straightforward via Composer (composer require doctrine/lexer). Compatibility depends on PHP version: v3.0.0+ requires PHP 8.1+ (aligned with Laravel 10+), while v2.x supports older PHP versions (e.g., Laravel 8/9). No complex bootstrapping required—simply instantiate the lexer in custom services.

Technical risk: Low overall due to Doctrine ecosystem maturity and consistent patch releases. Primary risks include:

  • PHP version mismatch (e.g., using v3.0+ on PHP 7.4).
  • Limited direct dependents (0 on Packagist), though it's a transitive dependency for Doctrine ORM/Annotations (indicating indirect stability).
  • Minimal
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections