PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 3
  1. v0.1.2 27 Nov 2021
    Release notes
    • Handle exception during unwrapped operation.
    Open source →
  2. v0.1.1 30 Dec 2019
    Release notes
    • Fix handling on Windows paths when FileFilter is used.
    Open source →
  3. v0.1.0 29 Dec 2019
    Release notes

    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.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive