infection/include-interceptor
PHP stream wrapper that intercepts the file:// protocol to override the content of any included or autoloaded file at runtime. Register a mapping from original file to replacement, enable the interceptor, and includes/file_get_contents load the replacement instead.
include($_GET['file'])) gain a maintained, permissively licensed dependency.Executives: "This package just hit 1.0.0, proving it’s a stable, production-ready solution for critical features like mutation testing and security scanning. By adopting it, we eliminate 3–6 months of custom development, reduce technical debt, and accelerate delivery of high-value tools—all with a permissively licensed, maintained dependency. The 1.0.0 tag is our green light to integrate this into our roadmap with confidence."
Engineering:
"We’ve got a 1.0.0 release—no breaking changes, just stability. This means we can safely use it for core functionality in tools like Infection or custom analyzers without fear of regression. It’s a drop-in solution for intercepting include/require calls via stream wrappers, integrates in hours, and handles all edge cases. The lack of updates since 2021 is actually a good sign: the package is feature-complete and stable. Perfect for our needs—just verify PHP 8.1 compatibility."
How can I help you explore Laravel packages today?