Download the PHP package brzuchal/filesystem-stream-wrapper without Composer
On this page you can find all versions of the php package brzuchal/filesystem-stream-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download brzuchal/filesystem-stream-wrapper
More information about brzuchal/filesystem-stream-wrapper
Files in brzuchal/filesystem-stream-wrapper
Package filesystem-stream-wrapper
Short Description Simple PHP Local Filesystem Wrapper
License MIT
Informations about the package filesystem-stream-wrapper
FilesystemStreamWrapper
Simple PHP Local Filesystem StreamWrapper
Install
With Composer
Usage
Known Issues
PHP doesn't support StreamWrapper in some functions like chdir()
, link()
, symlink()
, readlink()
, linkinfo()
, tempnam()
and realpath()
. While most of them are rarely used the realpath()
is widely used.
To deal with that issue the only way is using Filesystem::realpath()
method or declaring wrapped function in some namespace appropriate for realpath()
usage which cause PHP internally looking for an function declared in current namespace.
For eg. using Doctrine\ORM\Tools\Console\Command\GenerateProxiesCommand
from Doctrine2 you need to declare function like that:
License
MIT License
Copyright (c) 2017 Michał Brzuchalski [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.