niklongstone/regex-reverse
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).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| apie/regex-value-objects | 0.82 | — | 0 | 0 | 0 | 7 | 0 | 0.0 | 12.5 | MIT | — | |
| icomefromthenet/reverse-regex | 0.81 | 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 | 37 | 1K | 4 | 3.1 | 14.6 | MIT | — | |
| composer/pcre | 0.81 | Type-safe wrappers around PHP's preg_* functions that fail loudly instead of returning unexpected nulls. Enforces PREG_UNMATCHED_AS_NULL, simplifies return types for PHPStan and Psalm, and includes a PHPStan extension for better regex analysis. | 720 | 721 | 15 | 22M | 0 | 23.9 | 61.1 | MIT | 4 months ago | |
| calebdw/fakerstan | 0.81 | — | 3 | 3 | 1 | 19K | 0 | 5.0 | 52.5 | MIT | 11 months ago | |
| apie/regex-tools | 0.81 | 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 | 90 | 0 | 0.0 | 27.1 | MIT | — | |
| apie/dateformat-to-regex | 0.80 | 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 | 7 | 0 | 0.0 | 12.5 | MIT | — | |
| fzaninotto/faker | 0.80 | Faker is a PHP library for generating fake data: names, addresses, phone numbers, text, dates, and more. Ideal for seeding databases, creating fixtures, and testing apps, with locale-aware providers and easy extensibility. | 26,615 | 26,716 | 3,562 | 861K | 76 | 31.8 | 31.3 | MIT | 5 years ago | |
| coduo/php-matcher | 0.80 | Flexible PHP pattern-matching library for testing and validating complex data structures. Compare arrays, JSON and objects against readable expectations, with rich mismatch descriptions to pinpoint differences. Useful for API response assertions and custom validation rules. | 838 | 843 | 85 | 206K | 5 | 19.6 | 36.2 | MIT | 10 months ago | |
| ilario-pierbattista/reverse-regex | 0.79 | ReverseRegex generates random text strings that match a given regular expression, making it easy to create test data for web forms, databases, and regex testing. A fork of icomefromthenet/reverse-regex with lexer, parser, and scope-based generation. | 3 | 4 | 2 | 16K | 1 | 20.7 | 58.1 | MIT | 3 weeks ago | |
| s9e/regexp-builder | 0.79 | 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 | 35 | 3 | 163K | 0 | 5.1 | 50.7 | MIT | 3 years ago | |
| jfcherng/php-sequence-matcher | 0.79 | PHP 8.4+ longest sequence matcher inspired by Python difflib. Compare strings or arrays to find matching blocks and similarities for diffing, change detection, and text analysis. Lightweight library extracted from php-diff with improvements. | 9 | 9 | 4 | 473K | 0 | 10.7 | 59.3 | BSD-3-Clause | 7 months ago | |
| thecodingmachine/phpstan-safe-rule | 0.79 | PHPStan rule that detects calls to unsafe core PHP functions and suggests the thecodingmachine/safe variants, which throw exceptions instead of returning false on error. Helps catch unsafe function usage during static analysis. | 63 | 62 | 26 | 319K | 3 | 20.1 | 57.0 | — | 4 months ago | |
| dms/dms-filter | 0.79 | Filter and sanitize object properties via PHP attributes. Annotate fields with rules like Trim, StripTags, and StripNewlines, then run a Filter service to clean entity values automatically—ideal alongside Symfony Validator and for consistent input normalization. | 95 | 96 | 18 | 4K | 2 | 3.9 | 23.7 | MIT | 2 years ago | |
| alexeyshockov/pattern-matcher | 0.79 | Lightweight PHP pattern-matching utility by Alexey Shockov. Helps compare values against defined patterns and execute matching logic, enabling cleaner conditional flows than nested if/switch statements. Suitable for small libraries and framework-agnostic use. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| sandermuller/laravel-fluent-validation | 0.79 | Fluent validation rule builders for Laravel: write rules with IDE autocompletion instead of string syntax. Each rule type exposes only applicable methods, each() and children() keep parent and child rules together, and the HasFluentRules trait speeds up wildcard validation. | 223 | 223 | 3 | 15K | 0 | 33.4 | 30.5 | MIT | 1 week ago | |
| joepc74/laravel-spanish-validator | 0.79 | Laravel package that provides Spanish-language validation messages for Laravel’s validator, helping you localize form errors quickly. Drop in, configure the locale, and use standard Laravel validation rules with Spanish responses. | 0 | 0 | 0 | 2 | 0 | 0.0 | 6.6 | MIT | — | |
| respect/stringifier | 0.79 | Respect\Stringifier converts any PHP value into a readable string for logging, debugging, and error messages. Use the stringify() function or the HandlerStringifier object. Secure-by-default handling of strings in newer versions. Requires PHP 8.3+. | 26 | 27 | 2 | 1M | 0 | 11.6 | 60.2 | MIT | 5 months ago | |
| webignition/disallowed-character-terminated-string | 0.78 | — | 5 | 5 | 0 | 35K | 0 | 0.4 | 52.0 | MIT | 6 years ago | |
| respect/string-formatter | 0.78 | Flexible PHP string formatting library with chainable formatters and templated placeholders. Mask, pattern, date, number, and more to transform/format values (e.g., credit cards, phones, amounts) via FormatterBuilder or PlaceholderFormatter modifiers. | 4 | 4 | 2 | 11K | 2 | 9.8 | 48.8 | ISC | 8 months ago | |
| php-standard-library/regex | 0.78 | 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 | 100K | 0 | 21.5 | 64.9 | MIT | 1 week ago |
How can I help you explore Laravel packages today?