How To Install php-mikey179-vfsstream on Fedora 36

In this tutorial we learn how to install php-mikey179-vfsstream in Fedora 36. php-mikey179-vfsstream is PHP stream wrapper for a virtual file system

Introduction

In this tutorial we learn how to install php-mikey179-vfsstream on Fedora 36.

What is php-mikey179-vfsstream

vfsStream is a PHP stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest. To use this library, you just have to add, in your project require_once ‘/usr/share/php/org/bovigo/vfs/autoload.php’;

We can use yum or dnf to install php-mikey179-vfsstream on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-mikey179-vfsstream.

Install php-mikey179-vfsstream on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-mikey179-vfsstream using dnf by running the following command:

sudo dnf -y install php-mikey179-vfsstream

Install php-mikey179-vfsstream on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-mikey179-vfsstream using yum by running the following command:

sudo yum -y install php-mikey179-vfsstream

How To Uninstall php-mikey179-vfsstream on Fedora 36

To uninstall only the php-mikey179-vfsstream package we can use the following command:

sudo dnf remove php-mikey179-vfsstream

php-mikey179-vfsstream Package Contents on Fedora 36

/usr/share/doc/php-mikey179-vfsstream
/usr/share/doc/php-mikey179-vfsstream/CHANGELOG.md
/usr/share/doc/php-mikey179-vfsstream/README.md
/usr/share/doc/php-mikey179-vfsstream/composer.json
/usr/share/licenses/php-mikey179-vfsstream
/usr/share/licenses/php-mikey179-vfsstream/LICENSE
/usr/share/php/org
/usr/share/php/org/bovigo
/usr/share/php/org/bovigo/vfs
/usr/share/php/org/bovigo/vfs/DotDirectory.php
/usr/share/php/org/bovigo/vfs/Quota.php
/usr/share/php/org/bovigo/vfs/autoload.php
/usr/share/php/org/bovigo/vfs/content
/usr/share/php/org/bovigo/vfs/content/FileContent.php
/usr/share/php/org/bovigo/vfs/content/LargeFileContent.php
/usr/share/php/org/bovigo/vfs/content/SeekableFileContent.php
/usr/share/php/org/bovigo/vfs/content/StringBasedFileContent.php
/usr/share/php/org/bovigo/vfs/vfsStream.php
/usr/share/php/org/bovigo/vfs/vfsStreamAbstractContent.php
/usr/share/php/org/bovigo/vfs/vfsStreamBlock.php
/usr/share/php/org/bovigo/vfs/vfsStreamContainer.php
/usr/share/php/org/bovigo/vfs/vfsStreamContainerIterator.php
/usr/share/php/org/bovigo/vfs/vfsStreamContent.php
/usr/share/php/org/bovigo/vfs/vfsStreamDirectory.php
/usr/share/php/org/bovigo/vfs/vfsStreamException.php
/usr/share/php/org/bovigo/vfs/vfsStreamFile.php
/usr/share/php/org/bovigo/vfs/vfsStreamWrapper.php
/usr/share/php/org/bovigo/vfs/visitor
/usr/share/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitor.php
/usr/share/php/org/bovigo/vfs/visitor/vfsStreamPrintVisitor.php
/usr/share/php/org/bovigo/vfs/visitor/vfsStreamStructureVisitor.php
/usr/share/php/org/bovigo/vfs/visitor/vfsStreamVisitor.php

References

Summary

In this tutorial we learn how to install php-mikey179-vfsstream on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).