nikic/include-interceptor
PHP extension and library to intercept and virtualize include/require. Lets you provide custom file contents, rewrite paths, or instrument included code without touching the filesystem—useful for loaders, build tools, testing, and sandboxing.
include/require behavior for tooling or securityinclude callsExecutives: "This lightweight package provides real-time visibility into file inclusions across our application with near-zero performance impact. It enables proactive security controls and debugging capabilities without code changes, reducing risk and development time for critical observability features."
Engineering: "It’s a simple, low-overhead utility that hooks into PHP’s include mechanisms to inspect, modify, or block file loads dynamically. Perfect for building custom tooling like coverage analyzers or sandboxing rules—no need to reinvent the wheel for core interception logic."
How can I help you explore Laravel packages today?