wikimedia/wikipeg
Wikipeg is a PHP port of PEG.js, the parser generator for parsing expression grammars. Write a grammar and it compiles it into a fast, standalone PHP parser with no runtime dependencies, making custom language and syntax parsers easy to build and maintain in PHP projects.
wikimedia/wikipeg is a PEG parser generator for PHP. It compiles grammars written in Parsing Expression Grammar syntax into standalone PHP parser classes, making it practical to build domain-specific languages, expression evaluators, and structured text parsers without hand-writing recursive descent code.
How can I help you explore Laravel packages today?