jms/parser-lib
jms/parser-lib is a lightweight PHP parser library by JMS, providing reusable parsing components to build custom parsers quickly. Ideal for interpreting structured text and creating DSLs. Full docs available at jmsyst.com/libs/parser-lib.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| akeneo-labs/spreadsheet-parser | 0.86 | Lightweight spreadsheet reader focused on low memory usage, even for large files. Parses XLSX and CSV, exposes workbook/worksheet APIs, and provides row iterators for streaming data extraction with configurable CSV options (encoding, delimiter, enclosure, etc.). | 145 | 147 | 49 | 5K | 13 | 7.6 | 26.8 | NOASSERTION | 7 years ago | |
| kekos/multipart-form-data-parser | 0.86 | Parse multipart/form-data bodies in PHP, including raw HTTP input. Useful for handling file uploads and form fields when your environment doesn’t populate $_FILES/$_POST (e.g., non-standard servers, PUT/PATCH requests). | 1 | 1 | 1 | 9K | 0 | 0.0 | 50.3 | — | — | |
| goaop/parser-reflection | 0.84 | AST-based Reflection API for PHP: introspect classes, methods, and properties directly from source code without autoloading or executing anything. Built on nikic/php-parser and compatible with native Reflection classes—ideal for static analyzers, code generators, and IDE tooling. | 101 | 101 | 51 | 32K | 3 | 23.2 | 39.9 | MIT | 2 months ago | |
| fluxbb/commonmark | 0.83 | Laravel-friendly CommonMark utilities from FluxBB: parse, render, and work with Markdown/CommonMark content in PHP with sensible defaults and integration patterns suited to Laravel apps. Lightweight package aimed at consistent, safe content rendering. | 15 | 15 | 1 | 16 | 5 | 1.4 | 5.3 | MIT | — | |
| ircmaxell/php-c-parser | 0.83 | Parse C source files into an AST in PHP (PHP 8.4+), including preprocessing resolution. Use a Context to set #define values (ints, strings, identifiers) before parsing. Great for analysis tools, code inspection, and experimentation. | 44 | 44 | 7 | 69 | 4 | 19.3 | 7.7 | MIT | 1 month ago | |
| willdurand/email-reply-parser | 0.83 | — | 650 | 650 | 81 | 215K | 9 | 13.5 | 37.8 | MIT | 4 years ago | |
| akeneo-labs/spreadsheet-parser-bundle | 0.83 | — | 4 | 4 | 1 | 2 | 0 | 0.7 | 2.0 | NOASSERTION | 12 years ago | |
| s9e/text-formatter | 0.82 | PHP text formatting library with plugin support for BBCode, Markdown, HTML, and more. Includes predefined bundles, extensive documentation, and a JavaScript port for client-side preview and demos. Install via Composer and integrate customizable parsing/rendering. | 242 | 250 | 41 | 72K | 3 | 20.7 | 38.2 | MIT | 7 months ago | |
| leongrdic/smplang | 0.82 | SMPLang is a small PHP language/parser package for defining and evaluating simple expressions in your app. Useful for lightweight DSLs, rules, filters, or templating-like syntax, with an emphasis on minimal setup and easy integration into Laravel projects. | 16 | 16 | 4 | 82K | 1 | 1.4 | 51.2 | — | 3 years ago | |
| aitradeinc/php-sql-parser | 0.82 | A PHP SQL parser library for analyzing SQL strings. Parse queries into structured data (AST/array) you can inspect, validate, rewrite, or use for tooling like linters, query builders, or migration helpers. Lightweight package for PHP applications. | 0 | 0 | 1 | 0 | 0 | 0.9 | — | MIT | 4 years ago | |
| mf2/mf2 | 0.82 | Pure PHP microformats2 parser that turns HTML into structured data. Uses generic rules (p-, u-, etc.) rather than hard-coded formats, keeping the parser small and maintainable. Install via Composer; optionally uses masterminds/html5 for better HTML5 parsing. | 200 | 203 | 39 | 4K | 23 | 12.9 | 29.1 | CC0-1.0 | 4 years ago | |
| phpmyadmin/sql-parser | 0.82 | — | 480 | 495 | 115 | 550K | 56 | 39.1 | 67.1 | GPL-2.0 | 7 months ago | |
| egyg33k/domain-parser-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.6 | — | — | 10 years ago | |
| jeremykendall/php-domain-parser | 0.81 | Parse, validate, and normalize domains, subdomains, and suffixes using the Public Suffix List. Extract registrable domain vs. subdomain, handle IDNs and edge cases, and keep parsing rules current via PSL updates—ideal for URL processing, cookies, and security checks. | 1,236 | 1,244 | 126 | 281K | 0 | 19.0 | 32.6 | MIT | 1 year ago | |
| parsica-php/parsica | 0.81 | Parsica is a PHP parser combinator library for building custom parsers from small reusable pieces. Compose complex grammars with a fluent API, parse strings into structured results, and handle errors cleanly—ideal for DSLs, config formats, and language tooling. | 412 | 412 | 17 | 15K | 11 | 12.4 | 27.8 | MIT | 11 months ago | |
| coderockr/parse | 0.81 | PHP package for parsing and extracting data from strings and text sources with a simple API. Useful for building lightweight parsers, reading structured patterns, and turning raw input into usable values in Laravel or any PHP project. | 0 | 4 | — | 0 | — | 0.0 | — | — | — | |
| microsoft/tolerant-php-parser | 0.81 | 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 | 83 | 197K | 54 | 23.3 | 52.1 | MIT | — | |
| mck89/peast | 0.80 | — | 190 | 189 | 24 | 1M | 1 | 27.8 | 61.8 | BSD-3-Clause | 1 month ago | |
| mossadal/math-parser | 0.80 | Safe PHP math expression parser/evaluator that builds an AST from user formulas. Supports arithmetic, variables, and elementary functions, plus interpreters for evaluation, symbolic differentiation, and LaTeX pretty-printing; customizable lexer/parser with StdMathParser. | 179 | 179 | 41 | 37K | 9 | 5.0 | 35.5 | LGPL-3.0 | — | |
| devtrw/parse-bundle | 0.80 | — | 1 | 2 | 0 | 0 | 0 | 0.0 | — | — | — |
How can I help you explore Laravel packages today?