Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Vfsstream Laravel Package

mikey179/vfsstream

vfsStream provides a PHP stream wrapper for an in-memory virtual file system, ideal for unit tests. Mock files, directories, permissions, and content without touching disk, and use it with PHPUnit, SimpleTest, or any test framework.

View on GitHub
Deep Wiki
Context7
v1.6.12

What's Changed

New Contributors

Full Changelog: https://github.com/bovigo/vfsStream/compare/v1.6.11...v1.6.12

v1.6.11

This is a maintenance release adding support for PHP 8.2.

  • Add support for PHP 8.2's $content property in vfsStreamWrapper
v1.6.11-alpha.0

This release's notes have been redacted. See release notes for vfsStream 1.6.11 instead.

[See the purpose of this release in #271]

v1.6.10

This is a maintenance release adding support for PHP 8.1.

  • Fix PHP 8.1 deprecation warnings affecting the following (#258, #259):
    • vfsStreamContainerIterator::current()
    • vfsStreamContainerIterator::next()
    • vfsStreamContainerIterator::key()
    • vfsStreamContainerIterator::rewind()
    • vfsStreamDirectory::getIterator()
    • vfsStreamPrintVisitor::printContent()
v1.6.10-alpha.0

This release's notes have been redacted. See release notes for vfsStream 1.6.10 instead.

[See the purpose of this release in #263]

v1.6.9
  • Fix deprecation warning on StringBasedFileContent for PHP 8.1 (#252)
  • Fix return type for FileContent::write(), SeekableFileContent::write(), and vfsStreamFile::write() to fix static analysis tools
v1.6.8
  • Fix StringBasedFileContent::doRead to always return a string (#204)
v1.6.7
  • fix PHP 7.4 deprecation warnings (backported #189 from master)
v1.6.6
  • backported #174 from master, original PR provided by @localheinz
v1.6.5
  • fixed #157 seeking before beginning of file should fail, reported and fixed by @merijnvdk
  • structure array in vfsStream::create() and vfsStream::setup() now can contain instances of org\bovigo\vfs\content\FileContent and org\bovigo\vfs\vfsStreamFile, patch provided by Joshua Smith (@jsmitty12)
v1.6.4
  • fixed #134 type safe directory names, reported and fixed by @shopfe
v1.6.3
  • fixed #131 recursive mkdir() fails if the last dirname is '0'
v1.6.2
  • fixed #128 duplicate "valid" files/directories and incorrect file names
v1.6.1
  • vfsStream::url() didn't urlencode single path parts while vfsStream::path() did urldecode them
  • fixed #120, #122: create directory with trailing slash results in "Uninitialized string offset: 0"
v1.6.0
  • added vfsStreamWrapper::unregister(), provided by @malkusch with #114
  • fixed #115: incorrect handling of .. in root directory on PHP 5.5, fix provided by @acoulton with #116
v1.4.0

This release introduces support for block devices, implemented by @hborawski. For more details see documentation on block devices.

To be more in line with normal files, unlinking a non-existing file now triggers a PHP warning, when before it just failed silently.

For downloading, see installation instructions.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4