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

Dissect Laravel Package

goaop/dissect

View on GitHub
Deep Wiki
Context7
4.0.1

🔬 Dissect 4.0.0

This release modernizes the entire codebase for PHP 8.4+ and raises the quality bar to PHPStan level 10 — the strictest static analysis setting.

Breaking Changes:

  • Recognizer::match() API changed — returns ?string (matched value or null) instead of using a by-reference output parameter. Update any custom Recognizer implementations accordingly.
  • Token::getType() return type narrowed from mixed to string. Custom Token implementations must update their signature.
  • PHP 8.4 is now the minimum required version.

What's New

  • Readonly constructor promotion throughout all value-object classes (CommonToken, Rule, Item, State, AnalysisResult, exception classes, and more)
  • Precise generic type annotations — parse table array shapes, SplQueue<State>, ArrayIterator<int, Token>, [@template](https://github.com/template) T of string constraints — making the library fully transparent to static analysis tools
  • StatefulLexer internal refactor — decomposed a complex nested array into three flat, separately-typed arrays (stateRecognizers, stateActions, stateSkipTokens) for clarity and correctness
  • RegexLexer — cached regex compiled as a class property instead of a static local variable; added explicit guard for preg_split failure
  • Bug fix — Util::substring() now uses byte-based substr() consistent with strlen() position tracking in AbstractLexer, fixing incorrect slicing on multibyte input
  • Bug fix — CommonNode consolidated from two split backing arrays ($nodes / $children) into one, so nodes passed to the constructor are now visible through all accessors
  • Bug fix — undefined variable in Analyzer::buildParseTable() when resolving reduce/reduce conflicts
  • PHPStan (phpstan/phpstan + phpstan/phpstan-phpunit) added as dev dependencies; CI workflow included
3.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/goaop/dissect/commits/3.0.0

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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky