Parsica

The easiest way to build robust parsers in PHP.


Code sample
[object Object]

Infinitely Composable

Parsica lets you compose parsers from other parsers, using simple combinator functions. Start from small building blocks to parse strings, file formats, or entire languages.

[object Object]

Declarative DSL

Describe what you want to parse, without worrying about the mechanics. Parsica parsers are easier to read, understand, and evolve, than traditional imperative parsers.

[object Object]

Robust Engineering

Make your own pro-grade parsers for any situation, at a fraction of the effort. Let Parsica take care of safety, error handling, and correctness.