Doctrine Lexer: our changes to an open source project
A base for lexers used by recursive descent parsers in PHP, used by Doctrine ORM among others.
- Language
- PHP
- GitHub stars
- 11,143
- Project site
- doctrine-project.org
The change merged into Doctrine Lexer
resetPosition() accepts a token's character offset, so you can return exactly to the place in the text the token came from.
- Pull request #176merged on 1 October 2026
What it taught us
A lexer position is two different things: a token index and a place in the text. An API must say clearly which one it expects.
Other projects with our changes: PHP
20 projects in this technology have our merged changes. The bar is the repository's stars, next to it the number of our changes. Each row leads to the project's page.
Doctrine Lexer among all our changes
Day by day from 5 September 2026 to 11 October 2026. A column is every change merged that day, the accent is the changes in Doctrine Lexer.
- Changes in Doctrine Lexer
- Changes in other projects
1 merged change in Doctrine Lexer
Merged on 1 October 2026.
On the same day
Changes of ours were also merged into: Zed.
Questions about our changes to Doctrine Lexer
Where these changes come from, who merged them and whether we can fix something in your library.
Read next
More about this work and the other projects with our changes.
Using Doctrine Lexer in your project?
If something in it does not work, we fix it at the source and leave a workaround until the release. We reply within an hour.