Tag: PharStreamWrapper
The PharStreamWrapper intercepts invocations of the phar:// stream in PHP that only allows usage for defined locations in the file system. It can be downloaded as a stand-alone package from either GitHub or Packagist.
Use TYPO3 Phar Stream Wrapper Package to Secure Any PHP Project
In response to a security issue that affects applications built with PHP, TYPO3 developed a solution to keep the project safe. The PharStreamWrapper was then extracted from the TYPO3 core and is now available as a stand-alone package for any other PHP driven project.