Weave 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 Laravel Package

ilario-pierbattista/reverse-regex

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.

View on GitHub
Deep Wiki
Context7
0.8.0

Changed

  • Possibly breaking for subclasses: native return types were added to Scope, Node::contains(), Parser and the Parser\Quantifier/Parser\Unicode strategies, and the Parser and Quantifier properties are now typed; classes extending them must use compatible signatures (public interfaces are unchanged)
  • Autoloading: PSR-0 replaced by PSR-4 (same namespaces and class names); tests moved from src/ReverseRegex/Test/ to tests/ and are no longer shipped in the package archive
  • Scope::generate() (and LiteralScope) now normalise a null result to an empty string; ContextInterface::generate() docblocks declare the by-reference $result as string|null on input and string on output, so static analysers such as Psalm no longer complain
  • All source files declare strict_types=1
  • Wider runtime dependency ranges: doctrine/lexer accepts ^3 and doctrine/collections accepts ^2 and ^3 (previously supported versions still work)

Fixed

  • ArrayCollection::getAt() returns null for positions outside 1..count() as documented, instead of a wrong element
  • Parser no longer attaches a null scope to the result when constructed without an explicit head
  • Parser\Short::parse() returns the head scope as documented
  • Node::detach() no longer triggers the PHP 8.5 SplObjectStorage::detach() deprecation

Removed

  • Unused Test\Basic base class (it depended on Pimple, which is not a dependency)

Internal

  • CI/tooling only: coverage reporting (Codecov, 90% minimum), PHPStan level 6 with no baseline, stricter PHPUnit, PHP 8.1/8.5 lowest/highest matrix, Dependabot, examples run in CI, GitHub release created from version tags, updated dev dependencies, README fixes
0.6.0

Added

  • Code quality tools: Facile.it coding standard and PHPStan 2 (level 5)
  • Composer scripts: cs-check, cs-fix, phpstan, phpstan-baseline
  • GitHub Actions workflows for code style and static analysis (PHP 8.1-8.4)
  • PHPStan baseline for incremental code quality improvements

Fixed

  • Allow SimpleRandom to handle unbounded quantifiers (#13)

Removed

  • Support for PHP 7.4 and 8.0 (minimum required version is now PHP 8.1)
0.5.0

Added

  • Compatibility with PHP 8.2, 8.3, 8.4
0.4.0
0.3.1

Changed

  • Allow doctrine/lexer ^2
  • Substitute patchwork/utf with symfony/polyfill-mbstring
0.3.0

Changed

  • Versioning now adheres to semantic versioning.
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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin