sebastianbergmann/recursion-context

Provides functionality to recursively process PHP variables

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 10th, 2026
Created on January 22nd, 2015
Open Issues & Pull Requests: 3 (+0)
GitHub issues: Enabled
Number of forks: 19
Total Stargazers: 6,560 (+0)
Total Subscribers: 6 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.5 hours
Mean response time: 2.5 hours
90th percentile: 2.5 hours
Tracked items: 1

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 119 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • type/dependencies (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Recursion Context is a PHP library that provides functionality to recursively process PHP variables.

The library addresses the challenge of traversing and processing complex, nested PHP data structures without encountering infinite loops or redundant processing. It maintains context about which variables have already been visited during recursive operations, allowing developers to safely handle circular references and deeply nested objects or arrays. This approach prevents stack overflow errors and unnecessary duplicate processing that can occur when working with interconnected data structures.

Developers should adopt this library when building tools that need to inspect, transform, or analyze arbitrary PHP variables, particularly in contexts like testing frameworks, debugging utilities, or data serialization systems where circular references are common. It is well-suited for projects that need robust variable introspection without reimplementing recursion-safety logic. The library is designed as a development-time dependency, making it appropriate for test suites and development tooling rather than production runtime code.

The project maintains a focused scope with minimal external dependencies, reflecting a deliberate design choice to keep the library lightweight and easy to integrate into existing PHP projects.