Weave Code
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 tokenization in Doctrine projects like Annotations and ORM (DQL), providing a reusable foundation for custom language parsing.

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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle