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).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| icomefromthenet/reverse-regex | 0.90 | Generate sample strings from regular expressions for test data and validation. ReverseRegex parses a supported subset of regex syntax (literals, groups, character classes, quantifiers, escapes, some Unicode via \X{####}) and outputs randomized matching text via PHP generators. | 136 | 138 | 38 | 2K | 4 | 3.2 | 17.7 | MIT | — | |
| php-standard-library/regex | 0.88 | Type-safe regex for PHP with typed capture groups and predictable error handling. Build expressions with confidence, get structured match results, and avoid silent failures common in preg_* functions. Part of PHP Standard Library. | 1 | 1 | 0 | 26K | 0 | 19.1 | 63.9 | MIT | 1 month ago | |
| apie/regex-tools | 0.87 | Utility package from the Apie ecosystem that provides internal tools for working with regular expressions in PHP, including helpers for building and validating regex patterns. Maintained in the Apie monorepo; primarily intended for internal use. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| niklongstone/regex-reverse | 0.87 | Generate random strings that match a given PCRE-style regex. Supports common character classes (\d, \w, \s), ranges, groups, alternation, and quantifiers (*, +, ?, {n,m}). Simple API: RegRev::generate($pattern). | 103 | 105 | 8 | 3K | 2 | 3.0 | 21.2 | MIT | 11 years ago | |
| spatie/regex | 0.87 | Cleaner, safer wrapper around PHP’s preg_* functions. Provides Regex::match/matchAll/replace with MatchResult objects, easy access to groups, sensible defaults, and callback-based replacements—no by-reference variables or confusing false/null error handling. | 1,120 | 1,132 | 50 | 927K | 0 | 11.6 | 40.3 | MIT | 4 years ago | |
| apie/dateformat-to-regex | 0.86 | Converts PHP date() format strings into “simple” regular expressions for validating date/time strings. Generates regex that matches the format pattern (not full calendar validation, e.g., may accept 30 February). Includes a static DateFormatToRegex::formatToRegex() helper. | 0 | 0 | 0 | 20 | 0 | 0.0 | 18.3 | MIT | — | |
| s9e/regexp-builder | 0.85 | Generate compact regular expressions that match a given list of strings (ideal for keyword search). Builds optimized patterns like ba[rz]|foo from input terms, with factories for PHP, Java, JavaScript, RE2, plus RawBytes/RawUTF8 output modes. | 34 | 36 | 3 | 76K | 0 | 5.1 | 46.1 | MIT | 3 years ago | |
| apie/regex-value-objects | 0.85 | — | 0 | 0 | 0 | 16 | 0 | 0.0 | 17.0 | MIT | — | |
| neuecommerce/coding-standards | 0.76 | Opinionated PHP coding standards for projects using Laravel Pint. Provides a ready-to-use Pint configuration and consistent formatting rules to keep code style uniform across teams and repositories. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| ergebnis/rector-rules | 0.74 | A curated set of custom Rector rules from ergebnis to automate PHP refactoring and style consistency. Includes rules for sorting arrays and match arms, simplifying call arguments, Faker updates, namespace symbol references, and PHPUnit attribute-to-prefix changes. | 10 | 10 | 0 | 17K | 0 | 31.2 | 51.4 | MIT | 2 weeks ago | |
| corpus/coding-standard | 0.74 | — | 0 | 0 | 0 | 4K | 1 | 7.8 | 51.5 | MIT | 10 months ago | |
| worksome/coding-style | 0.73 | Worksome’s shared PHP coding style package. Generates ready-to-use configs for Easy Coding Standard (ECS), PHPStan, and Rector, extending PSR-12 with additional and customized rules. Install via Composer, generate stubs, and run via composer scripts. | 49 | 49 | 4 | 12K | 0 | 30.0 | 38.8 | MIT | 1 week ago | |
| slevomat/coding-standard | 0.73 | — | 1,479 | 1,486 | 194 | 3M | 91 | 62.4 | 81.1 | MIT | 3 weeks ago | |
| onramplab/onr-phpcs-laravel | 0.73 | Opinionated PHP_CodeSniffer ruleset for Laravel projects. Provides a ready-to-use PHPCS configuration with Laravel-focused coding standards to help keep code style consistent across your app and team. | 0 | 0 | 0 | 835 | 0 | 0.0 | 40.4 | Unlicense | — | |
| flyeralarm/php-code-validator | 0.73 | FLYERALARM PHP coding guideline validator: a PSR-12 based PHP_CodeSniffer ruleset with extra standards like lowerCamelCase variables, no Yoda conditions, bans on eval/goto, namespace underscores, and certain class suffixes. Easy Composer embed via ruleset.xml. | 22 | 22 | 16 | 277 | 0 | 18.5 | 17.2 | MIT | 4 months ago |
How can I help you explore Laravel packages today?