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

Regex Laravel Package

spatie/regex

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
icomefromthenet/reverse-regex 0.85 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 697 4 3.1 12.7 MIT
View on GitHub
Context7
niklongstone/regex-reverse 0.84 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 4K 2 3.0 21.7 MIT 11 years ago
View on GitHub
Context7
ilario-pierbattista/reverse-regex 0.84 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). 3 3 2 4K 1 13.5 45.8 MIT 5 months ago
View on GitHub
Context7
composer/pcre 0.84 Type-safe wrapper around PHP’s preg_* functions. Composer\Pcre\Preg prevents silent PCRE failures, standardizes return types (PREG_UNMATCHED_AS_NULL), and improves static analysis with a PHPStan extension for regex-aware typing. 711 709 15 14M 0 27.6 63.0 MIT 3 months ago
View on GitHub
Deep Wiki
Context7
s9e/regexp-builder 0.83 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
View on GitHub
Context7
php-standard-library/regex 0.83 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 37K 0 17.0 62.8 MIT 3 months ago
View on GitHub
Context7
coduo/php-matcher 0.83 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. 839 843 85 206K 4 23.3 37.1 MIT 9 months ago
View on GitHub
Context7
apie/dateformat-to-regex 0.83 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
View on GitHub
Context7
apie/regex-tools 0.82 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 7 0 0.0 12.5 MIT
View on GitHub
Context7
apie/regex-value-objects 0.81 0 0 0 7 0 0.0 12.5 MIT
View on GitHub
Context7
phpyh/coding-standard 0.78 PHPyh Coding Standard provides a ready-to-use PHP CS Fixer configuration for consistent formatting across your project. Install via Composer and apply the PhpCsFixerCodingStandard to your .php-cs-fixer.dist.php, with support for overriding rules. 23 23 0 2K 1 7.9 27.6 MIT 11 months ago
View on GitHub
Context7
spatie/elasticsearch-search-string-parser 0.77 Parse custom search strings into Elasticsearch queries. Supports regex-based directives like status:active or @user, grouping directives, and autocomplete suggestions. Build searches via spatie/elasticsearch-query-builder and get results + directive suggestions. 50 50 4 100 0 18.9 7.4 MIT 3 months ago
View on GitHub
Context7
spatie/string 0.76 Fluent string handling for PHP. Wrap strings with string() to get a chainable object with helpers like between(), case conversion, concatenation, and array-offset access for reading/updating characters. Lightweight utility by Spatie, installable via Composer. 559 570 26 15K 0 23.6 22.4 MIT 5 months ago
View on GitHub
Context7
spatie/url 0.76 Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. 741 754 60 537K 0 12.4 39.5 MIT 2 years ago
View on GitHub
Deep Wiki
Context7
corpus/coding-standard 0.75 0 0 0 3K 1 5.4 48.6 MIT 1 year ago
View on GitHub
Context7
neuecommerce/coding-standards 0.74 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
View on GitHub
Context7
sandfox.dev/code-standard 0.74 Shared coding standards and tooling used across sandfox.dev PHP/Laravel packages. Provides a consistent rule set for formatting and static analysis to keep code style uniform, reduce review friction, and maintain quality across projects. 0 0 0 13 0 0.0 15.8 MIT-0
View on GitHub
Context7
codeat3/phpcs-styles 0.74 codeat3/phpcs-styles provides PHP_CodeSniffer rulesets and coding style configurations to standardize formatting and code quality across PHP projects, helping teams enforce consistent conventions in CI and local development. 0 0 0 450 0 0.0 36.7
View on GitHub
Context7
slevomat/coding-standard 0.73 1,480 1,490 192 4M 92 62.5 81.3 MIT 1 month ago
View on GitHub
Deep Wiki
Context7
phpcq/coding-standard 0.73 1 1 3 218 4 1.2 29.2 BSD-3-Clause
View on GitHub
Context7
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle