nikic/include-interceptor
Intercept PHP includes
v0.1.2
297K downloads/mo
#1327 most downloaded on Packagist
nikic/include-interceptor
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Too new to tell
only 2 release windows
Nearly every release is documented
notes for 3 of 3 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
3 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
3 releases · Dec 2019 to Nov 2021
2020
2021
2022
2023
2024
2025
2026
Releases
latest 3-
v0.1.227 Nov 2021 -
v0.1.130 Dec 2019 -
v0.1.029 Dec 2019Release notes
Open source →Initial release. Relative to https://github.com/icewind1991/interceptor 0.3.0, the following changes have been made:
- Remove support for PHP < 7.1. Add type annotations.
- Fix notice that is thrown every time a non-absolute path is used outside include. (Main motivation for this fork...)
- Don't call interception hook if the included file does not exist.
- Perform pseudo-realpath resolution for phar:// paths to make filtering work.
- Change the interceptor API to remove the FileFilter dependency. There now is only a single hook that both decides whether it wants to intercept and performs the interception. FileFilter is still provided as an optional convenience.
- Add support for white/blacklisting single files in FileFilter.
- Don't filter extensions by default in FileFilter.
- Allow overriding overridden stream protocols in Interceptor constructor.