Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Reverse Regex

Reverse Regex Laravel Package

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).

View on GitHub
Deep Wiki
Context7

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).

  • Generate strings from regex patterns (e.g. [a-z]{10})
  • Lexer/Parser/Generator pipeline with scoped generation
  • Deterministic output via seedable random generators
  • Support for character classes, groups, ranges, and quantifiers
  • Example scripts included (phone numbers, postcodes, mobile numbers)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport