ilario-pierbattista/reverse-regex
Generate example strings from regular expressions in PHP—useful for test data for forms, databases, and regex validation. Includes lexer/parser and random generators, supports literals, groups, classes, ranges, and quantifiers (with some Unicode/PCRE limits).
ReverseRegex is a PHP library that generates matching strings from regular expressions, useful for producing realistic test data for forms, databases, and regex test suites. It lexes and parses a supported subset of regex syntax, then uses a pluggable random generator to emit strings that satisfy the pattern.
Ideal for property-based testing and fixtures, it supports literals, groups, character classes, ranges (including Unicode via \X{####}), and quantifiers—while documenting limitations (e.g., no \p Unicode properties).
[a-z]{10})How can I help you explore Laravel packages today?