Search by

shabbyrobe / defile

shabbyrobe

This package is abandoned and no longer maintained. No replacement package was suggested.

Stream wrapper for testing code dependent on PHP's filesystem functions

Package info

git.shabbyrobe.org/git/defile

pkg:composer/shabbyrobe/defile

Statistics

Installs: 1 815

Dependents: 0

Suggesters: 0

0.0.4 2026-11-22 11:45 UTC

This package is not auto-updated.

Last update: 2026-11-22 12:04:27 UTC


README

[!WARNING] Packagist's supply chain security is based not just on content hash, but also the original URL. That means all the old versions, which I have long-since relocated from github, cannot be installed. One new version has been published to try to rectify this, but it is the last time I will ever interact with Packagist. If, for some bizarre reason, you still use this, please move off it immediately. It will eventually break forever, if it hasn't already.

Defile - PHP Stream Wrapping File System Emulation Disaster

This was never finished, and has been unmaintained since 2015. Please don't use it.

(Never gonna) TODO:

  • chmod, chgrp, chown
  • Generator streams (sort of like /dev/zero)
  • Memory should be able to optionally use php://temp (maybe should use php://memory for everything)
  • StreamRegistry::umask() instead of system umask() (though system umask() should still be usable)