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

Recursion Context Laravel Package

sebastian/recursion-context

sebastian/recursion-context is a small PHP utility for tracking recursive traversals and avoiding infinite loops when walking nested structures. It provides the RecursionContext class used by sebastian/comparator and PHPUnit to handle recursion safely.

View on GitHub
Deep Wiki
Context7
5.0.2

Changed

  • Suppress the PHP 8.6 deprecation of spl_object_hash() for now; migrating the code to spl_object_id() would be a break of backward compatibility
8.0.1

Changed

  • Context::contains() no longer has to look at more than one element of an array to recognise it; for arrays whose internal hash table has gaps, for instance because elements were removed using unset(), this used to take time proportional to the size of the array

Fixed

  • Context::add() returned a key that neither Context::contains() nor a subsequent Context::add() would report for arrays that already have an element with the largest possible integer key
8.0.0

Removed

  • This component is no longer supported on PHP 8.3
7.0.1

Changed

  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5
6.0.3

Changed

  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5
5.0.1

Changed

  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5
7.0.0

Removed

  • This component is no longer supported on PHP 8.2
6.0.2

Changed

  • This project now uses PHPStan instead of Psalm for static analysis
6.0.1

Changed

  • #30: Use more efficient spl_object_id() over spl_object_hash()
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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
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